Both "predicted" and "desired" can be either scalars or sequences,
but have to be of the same length.
difference = N.subtract(predicted, desired)
return sqrt(N.dot(difference, difference))
After Change
Both "predicted" and "desired" can be either scalars or sequences,
but have to be of the same length.
return N.sqrt(N.mean(N.subtract(predicted, desired)**2))
class MeanMismatchErrorFx(ErrorFunction):