mvpa2.misc.errorfx.rms_error

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

Computes the root mean squared error of some target and some predicted values.

Both ‘predicted’ and ‘target’ can be either scalars or sequences, but have to be of the same length.