Multivariate Pattern Analysis in Python |
Inheritance diagram for mvpa.misc.errorfx:
Error functions helpers.
PyMVPA can use arbitrary function which takes 2 arguments: predictions and targets and spits out a scalar value. Functions below are for the convinience, and they confirm the agreement that ‘smaller’ is ‘better’
Bases: mvpa.misc.errorfx._ErrorFx
Computes the area under the ROC for the given the target and predicted to make the prediction.
Bases: mvpa.misc.errorfx._ErrorFx
Computes the percentage of mismatches between some target and some predicted values.
Bases: mvpa.misc.errorfx._ErrorFx
Computes the root mean squared error of some target and some predicted values.
Bases: mvpa.misc.errorfx._ErrorFx
Ratio between RMSE and root mean power of target output.
So it can be considered as a scaled RMSE – perfect reconstruction has values near 0, while no reconstruction has values around 1.0. Word of caution – it is not commutative, ie exchange of predicted and target might lead to completely different answers
Bases: mvpa.misc.errorfx._ErrorFx
Ratio of variance described by the first singular value component.
Of limited use – left for the sake of not wasting it