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

Stop keeping running mean, but with added floating-point MUL #2

Closed
wants to merge 1 commit into from

Conversation

cpacey
Copy link
Owner

@cpacey cpacey commented Feb 22, 2018

In order to avoid recalculating the mean on each datapoint (which would
incur another floating-point divide), we need to rearrange how we calculate
the variance. Unfortunately, this rearrangement not longer looks like the
algorithm cited on Wikipedia, making it harder to follow.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

In order to avoid recalculating the mean on each datapoint (which would
incur another floating-point divide), we need to rearrange how we calculate
the variance.  Unfortunately, this rearrangement not longer looks like the
algorithm cited on Wikipedia, making it harder to follow.
@cpacey cpacey changed the title WIP - Stop keeping running mean Stop keeping running mean, but add floating-point MUL Feb 22, 2018
@cpacey cpacey changed the title Stop keeping running mean, but add floating-point MUL Stop keeping running mean, but with added floating-point MUL Feb 22, 2018
@cpacey cpacey closed this Mar 6, 2018
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