mvpa2.measures.base.mean_mismatch_error

mvpa2.measures.base.mean_mismatch_error(predicted, target)

Computes the percentage of mismatches 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.