GitXplorerGitXplorer
k

faststat

public
78 stars
2 forks
5 issues

Commits

List of commits on branch master.
Unverified
5060c0e10acaafd4a48de3f16869bfccc1deb44a

17.10.0 release

committed 7 years ago
Unverified
7452407e2e18b106705794fc99ae386297a065f4

improving Byte length formatting

kkurtbrose committed 9 years ago
Unverified
06707433ce944fdb6081127f730d7bb3f61c57f3

bugfix from refactor

committed 9 years ago
Unverified
52cd9557fce4bb65f00c453094b11e119c293077

fixing slow memory leak

committed 9 years ago
Unverified
c8ae839c4aeead73721481a3a465b0a5df9bf27e

Update format.py

kkurtbrose committed 10 years ago
Unverified
e98d9bb85ec1231cf6390b86987c566205f8aa5c

added special formatting case

kkurtbrose committed 10 years ago

README

The README file for this repository.

faststat

fast online statistics collection

very simple API:

>>> import faststat
>>> stats = faststat.Stats()
>>> stats.add(point)
>>> stats.add(point)
...

The following properties are accesible on a Stats object: n, min, max, variance, skewness, and kurtosis. In addition, a Stats object tracks percentiles.

Performance is pretty good: 0.63 microseconds per point on my machine. (Provided the C module is available.)

In pure Python mode, performance is about 9 microseconds per point.

0.615999937057 microseconds per point
mean (should be 1) 0.998333953189
kurtosis / reference kurtosis -0.0021881144433 -0.00220621681959
variance / reference variance 0.999219190297 0.999219190297
skewness (should be 0) -0.0071960817771
max, min 5.83625092886 -3.4749002526
m2, m3, m4 999218.191078 -7187.64448532 2993126.28574
9.00099992752 microseconds per point
mean (should be 1) 0.998333953189
kurtosis / reference kurtosis -0.0021881144433 -0.00220621681959
variance / reference variance 0.999219190297 0.999219190297
skewness (should be 0) -0.0071960817771
max, min 5.83625092886 -3.4749002526
m2, m3, m4 999218.191078 -7187.64448532 2993126.28574