Skip to content

Adjust variance implementation and add new default hybrid algorithm#465

Open
jmh530 wants to merge 3 commits into
libmir:masterfrom
jmh530:update_variance
Open

Adjust variance implementation and add new default hybrid algorithm#465
jmh530 wants to merge 3 commits into
libmir:masterfrom
jmh530:update_variance

Conversation

@jmh530
Copy link
Copy Markdown
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.

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.94%. Comparing base (e888555) to head (9308465).
⚠️ Report is 13 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #465      +/-   ##
==========================================
+ Coverage   91.91%   91.94%   +0.02%     
==========================================
  Files          79       79              
  Lines       18799    18890      +91     
==========================================
+ Hits        17279    17368      +89     
- Misses       1520     1522       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants