A simple module for computing the sample statistics of an array in a running/online fashion.
Project description
running-stats
A simple Python module for computing the sample statistics of an array in a running/online fashion (when samples are not kept).
This is just a Python port of [John Cook]'s C++ code here. There is also a Julia implementation by John Myles White here. The only special feature of this code is that we support computing running statistics of arrays living on a GPU via CuPy.
You may also be interested in the Python module RunStats.
My interest in computing statistics this way comes from summarizing the samples generated by a MCMC sampler when storing all of the samples is infeasible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for runningstatistics-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ecb1ea410f1a4d712a6eaa4c4991d85bd0398be4153954669daa515d5ce43b |
|
MD5 | 61174c77a47f81b46cee883bdc1e9624 |
|
BLAKE2b-256 | 2ef0e3ba05c8b68a081a71433a05f5db79b2eed03a6c674bc5b913ff9019600c |