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

#237 in Math

Download history 405/week @ 2024-07-22 585/week @ 2024-07-29 414/week @ 2024-08-05 301/week @ 2024-08-12 422/week @ 2024-08-19 199/week @ 2024-08-26 1033/week @ 2024-09-02 493/week @ 2024-09-09 336/week @ 2024-09-16 437/week @ 2024-09-23 212/week @ 2024-09-30 290/week @ 2024-10-07 225/week @ 2024-10-14 371/week @ 2024-10-21 322/week @ 2024-10-28 241/week @ 2024-11-04

1,203 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–3.5MB
~60K SLoC