You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x.prod()**(2.0/np.sqrt(len(x))) calculates the geometric mean of the values in the NumPy array x, with a correction factor to reduce the bias towards smaller values in the data set. @masoudMZB
Can you explain this mean you wrote :
def custom_mean(x): return x.prod()**(2.0/np.sqrt(len(x)))
How is this calculating MEAN?
@rkcosmos
The text was updated successfully, but these errors were encountered: