20 releases (4 breaking)

Uses new Rust 2021

0.7.0 Jan 11, 2023
0.5.3 Jan 7, 2023
0.5.0 Dec 27, 2022
0.4.1 Aug 21, 2022
0.3.3 Oct 18, 2021

#213 in Algorithms

Download history 78/week @ 2022-10-03 103/week @ 2022-10-10 73/week @ 2022-10-17 87/week @ 2022-10-24 48/week @ 2022-10-31 78/week @ 2022-11-07 120/week @ 2022-11-14 148/week @ 2022-11-21 158/week @ 2022-11-28 262/week @ 2022-12-05 200/week @ 2022-12-12 190/week @ 2022-12-19 184/week @ 2022-12-26 278/week @ 2023-01-02 275/week @ 2023-01-09 99/week @ 2023-01-16

860 downloads per month
Used in qsv

MIT OR Unlicense

52KB
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

~295KB