Skip to content
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

Geometric mean as a measure #371

Open
dkuzi opened this issue Aug 20, 2024 · 0 comments
Open

Geometric mean as a measure #371

dkuzi opened this issue Aug 20, 2024 · 0 comments

Comments

@dkuzi
Copy link

dkuzi commented Aug 20, 2024

Is it possible to include the geometric mean as a measure for benchmark runs? Similar to how median and mean are simple reexports from Statistics.jl it should be possible to reexport the geometric mean geomean from StatsBase.jl. Is this a feature worth considering for you?

Alternatively, you can omit the additional dependency StatsBase and define the geometric mean in-package since it is literally one line using the form geomean(a) = exp(mean(log, a)) as it is implemented in StatsBase, see here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant