Compute the CDF for a value, using piece-wise linear between clusters
Compute the inverse-CDF from a given quantile on interval [0, 1], using piecewise linear interpolation between clusters
Obtain a "mass cover": two adjacent nodes in the tree such that the cumulative mass of the left node is <= (m) and the cumulative mass of the right node is > (m)
Obtain a "mass cover": two adjacent nodes in the tree such that the cumulative mass of the left node is <= (m) and the cumulative mass of the right node is > (m)
The target mass to cover between two adjacent nodes
a Cover instance with the left and right covering tree nodes. If the (m) was < the mass of the left-most tree node, the left cover value will be None. Similarly if the mass was >= the cumulative mass of the right-most node (equivalent to sum of all node masses in the tree), then the right cover value will be None.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
The tree-backed map object a TDigest uses to store and update its clusters. TDigestMap inherits functionality for value increment, prefix-sum and nearest-neighbor queries.