-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generalized mean #19341
Comments
Already available in |
Yeah, except for the Edit: cleaned up formatting (mattip) |
For future reference, I added a |
This mean is available in the latest Scipy: |
I will close this as there are alternatives available. @nschloe if you feel |
np.mean
computes the arithmetic mean, but there are many other interesting means, e.g, the root mean square, harmonic mean, or the geometric mean. They can all be parametrized withSee Wikipedia on generalized means.
The text was updated successfully, but these errors were encountered: