To provide the most recent news and documentation www.pymvpa.org reflects the development 2.0 series (renamed 0.6 series) of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa2.clfs.transerror.corr_error

mvpa2.clfs.transerror.corr_error(predicted, target)

Computes the correlation between the target and the predicted values. Resultant value is the 1 - correlation coefficient, so minimization leads to the best value (at 0).

In case of NaN correlation (no variance in predictors or targets) result output error is 1.0.

NeuroDebian

NITRC-listed