TDigestResult
@Serializable
@SerialName(value = "TDigestResult")
T-digest snapshot: means/weights are the centroid arrays sorted by mean, with quantiles precomputed for probabilities via CDF inversion.
Constructors
TDigestResult
constructor(probabilities: DoubleArray, quantiles: DoubleArray, means: DoubleArray, weights: DoubleArray, totalWeight: Double, compression: Double)(source)
Properties
compression
T-digest compression parameter; lower = more centroids, tighter quantiles.
means
Centroid means sorted ascending; parallel to weights.
probabilities
Probabilities at which quantiles are evaluated; parallel to quantiles.
quantiles
Estimated quantile values, parallel to probabilities.
totalWeight
Cumulative observation weight folded in.
weights
Centroid weights, parallel to means.