def rmse(x1, x2, axis=0):
 x1 = np.asanyarray(x1)
 x2 = np.asanyarray(x2)
 return np.sqrt(mse(x1, x2, axis=axis))

def rmse ( x1 , x2 , axis = 0 ) : x1 = np . asanyarray ( x1 ) x2 = np . asanyarray ( x2 ) return np . sqrt ( mse ( x1 , x2 , axis = axis ) )
computes the root mean squared error .