cellarium-ai / cellarium-ml

Distributed single-cell data analysis.
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Implement Welford's online algorithm for variance calculation #163

Open mbabadi opened 5 months ago

mbabadi commented 5 months ago

Here: https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance

It is more stable than both the naive and shifted.