def meanabs(x1, x2, axis=0):
 x1 = np.asanyarray(x1)
 x2 = np.asanyarray(x2)
 return np.mean(np.abs((x1 - x2)), axis=axis)

def meanabs ( x1 , x2 , axis = 0 ) : x1 = np . asanyarray ( x1 ) x2 = np . asanyarray ( x2 ) return np . mean ( np . abs ( ( x1 - x2 ) ) , axis = axis )
mean absolute error parameters x1 .