38 releases (19 breaking)

0.22.0 Sep 8, 2024
0.20.0 Sep 7, 2024
0.18.0 May 14, 2024
0.13.0 Mar 12, 2024
0.3.3 Oct 18, 2021

#207 in Math

Download history 235/week @ 2024-07-10 332/week @ 2024-07-17 626/week @ 2024-07-24 327/week @ 2024-07-31 334/week @ 2024-08-07 409/week @ 2024-08-14 323/week @ 2024-08-21 424/week @ 2024-08-28 978/week @ 2024-09-04 405/week @ 2024-09-11 393/week @ 2024-09-18 312/week @ 2024-09-25 232/week @ 2024-10-02 261/week @ 2024-10-09 297/week @ 2024-10-16 318/week @ 2024-10-23

1,158 downloads per month
Used in qsv

MIT OR Unlicense

67KB
1.5K SLoC

This library provides common statistical functions with support for computing them efficiently on streams of data. The intent is to permit parallel computation of statistics on large data sets.

NOTE: This fork of streaming-stats merges pending upstream PRs for quartile computation and a different variance algorithm that is used in qsv stats.

It has also been updated to Rust 2021 edition, uses the fused multiply add CPU instruction along with some other performance tweaks. This is being published on crates.io, so that qsv can be published as well.

Dual-licensed under MIT or the UNLICENSE.

Documentation

Original documentation for streaming-stats exists here: https://docs.rs/streaming-stats.

Installation

Simply add qsv-stats as a dependency to your project's Cargo.toml:

[dependencies]
qsv-stats = "0.19"

Dependencies

~2.3–3MB
~60K SLoC