Last active
March 25, 2020 11:09
-
-
Save MaxHalford/0968d87f7c63bc453f024ead9eaefede to your computer and use it in GitHub Desktop.
creme mean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from creme import stats | |
>>> mean = stats.Mean() | |
>>> mean.update(5) | |
>>> mean.update(10) | |
>>> mean | |
7.5 | |
>>> mean.update(6) | |
>>> mean | |
7.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment