mvpa2.misc.errorfx.mean_match_accuracy

mvpa2.misc.errorfx.mean_match_accuracy(predicted, target)

Computes mean of number of matches between some target and some predicted values. Both ‘predicted’ and ‘target’ can be either scalars or sequences, but have to be of the same length.