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

Adjust variance implementation and add new default hybrid algorithm #465

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jmh530
Copy link
Contributor

@jmh530 jmh530 commented May 12, 2023

This makes some adjustments to how variance is implemented and the unit tests and coverage. The more significant change is a new default hybrid algorithm that combines the nice parts about the twoPass and online algorithm. For the purpose of the variance calculation, it is basically the same as twoPass, but offers more flexibility for VarianceAccumulator.

The online algorithm turns out to be much slower than I expected in benchmarks.

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

Successfully merging this pull request may close these issues.

1 participant