
TDigest
- Namespace
- Rowles.LeanCorpus.Search.Aggregations
- Assembly
- Rowles.LeanCorpus.dll
Mergeable t-digest with a tail-aware, bounded centroid-weight scale constraint.
public sealed class TDigest
- Inheritance
-
TDigest
TDigest(int)
Initialises a digest with compression from 20 to 1,000.
DefaultCompression
Default compression. Higher values improve tail accuracy at the cost of centroid memory.
Compression
Gets the compression setting.
Count
Gets the total recorded weight.
Add(double, double)
Adds one finite value.
Compress()
Compresses pending centroids with tail-aware cluster limits.
MergeFrom(TDigest)
Merges another digest with the same compression.
Quantile(double)
Returns a quantile in the inclusive range 0 to 1.