27 releases (11 breaking)

0.14.0 Apr 1, 2024
0.13.0 Mar 12, 2024
0.12.0 Nov 13, 2023
0.10.0 Jun 3, 2023
0.3.3 Oct 18, 2021

#96 in Science

Download history 165/week @ 2023-12-18 221/week @ 2023-12-25 250/week @ 2024-01-01 103/week @ 2024-01-08 183/week @ 2024-01-15 198/week @ 2024-01-22 156/week @ 2024-01-29 194/week @ 2024-02-05 119/week @ 2024-02-12 187/week @ 2024-02-19 849/week @ 2024-02-26 233/week @ 2024-03-04 422/week @ 2024-03-11 272/week @ 2024-03-18 194/week @ 2024-03-25 548/week @ 2024-04-01

1,466 downloads per month
Used in qsv

MIT OR Unlicense

54KB
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.4"

Dependencies

~2.4–3.5MB
~62K SLoC