def mse(x1, x2, axis=0):
 x1 = np.asanyarray(x1)
 x2 = np.asanyarray(x2)
 return np.mean(((x1 - x2) ** 2), axis=axis)

def mse ( x1 , x2 , axis = 0 ) : x1 = np . asanyarray ( x1 ) x2 = np . asanyarray ( x2 ) return np . mean ( ( ( x1 - x2 ) ** 2 ) , axis = axis )
mean squared error parameters x1 .