Skip to content

Commit

Permalink
Make FreedmanDiaconis strategy more robust.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
n3vu0r committed Apr 21, 2023
1 parent 6a107c3 commit 95906a0
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 54 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ndarray-histogram"
version = "0.1.0"
version = "0.2.0"
rust-version = "1.60"
edition = "2021"
authors = ["Rouven Spreckels <[email protected]>"]
Expand Down
6 changes: 6 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version 0.2.0 (2023-04-21)

* 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.

# Version 0.1.0 (2023-04-13)

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

0 comments on commit 95906a0

Please sign in to comment.