T-digest streaming quantile estimation. Provides a wrapper API over the merging-digest implementation.
T-digest streaming quantile estimation. Provides a wrapper API over the merging-digest implementation.
(add-point digest value)(add-point digest value weight)Add a single value into the digest
Add a single value into the digest
(cdf digest x)Return the cumulative probability at x. Return NaN if digest is empty.
Return the cumulative probability at x. Return NaN if digest is empty.
(compress digest)Merge any buffered points into the digest.
Merge any buffered points into the digest.
(mean digest)Return the mean estimate. Return NaN if digest is empty.
Return the mean estimate. Return NaN if digest is empty.
(new-digest)(new-digest compression)(new-digest compression buffer-size)Creates a new t-digest with optional compression factor.
Creates a new t-digest with optional compression factor.
(quantile digest x)Return estimated value at given quantile [0,1]. Return nil if digest is empty.
Return estimated value at given quantile [0,1]. Return nil if digest is empty.
(variance digest)(variance digest mean)Return the variance estimate. Return NaN if digest is empty.
Return the variance estimate. Return NaN if digest is empty.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |