Skip to content

Commit 95906a0

Browse files
committed
Make FreedmanDiaconis strategy more robust.
Use improper IQR and Scott's rule as asymptotic resort. Introduce maximum number of bins with `u16::MAX` as default. Compute `n_bins` arithmetically instead of iteratively.
1 parent 6a107c3 commit 95906a0

File tree

3 files changed

+149
-54
lines changed

3 files changed

+149
-54
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ndarray-histogram"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
rust-version = "1.60"
55
edition = "2021"
66
authors = ["Rouven Spreckels <[email protected]>"]

RELEASES.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Version 0.2.0 (2023-04-21)
2+
3+
* Make `FreedmanDiaconis` strategy more robust. Use improper IQR and Scott's
4+
rule as asymptotic resort. Introduce maximum number of bins with `u16::MAX`
5+
as default. Compute `n_bins` arithmetically instead of iteratively.
6+
17
# Version 0.1.0 (2023-04-13)
28

39
* Fix binning strategies by using [`ndarray-slice`], which as well comes with

0 commit comments

Comments
 (0)