| Maintainer | Tom Hunger |
|---|---|
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Numeric.StreamingHistogram
Description
A very inefficient implementation of lossy online histograms based on the following paper:
- A Streaming Parallel Decision Tree Algorithm by Ben-Haim and Tom-Tov: http://www.jmlr.org/papers/volume11/ben-haim10a/ben-haim10a.pdf
NB This library is very experimental and inefficient. Numerical stability has not been tested (yet).
Documentation
Creates an empty histogram to be updated with update
Arguments
| :: Double | Value to add |
| -> Hist | Lossy histogram to update |
| -> Hist | Histogram with the value incorporated |
Adds a single value to the histogram.