Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runningstatistics-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

runningstatistics-0.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page