This content refers to an unreleased development version of PyMVPA
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.misc.errorfx.corr_error

mvpa2.misc.errorfx.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.

Previous topic

mvpa2.misc.errorfx.auc_error

Next topic

mvpa2.misc.errorfx.corr_error_prob

NeuroDebian

NITRC-listed