Skip to main content

Crate sketches

Crate sketches 

Source
Expand description

Probabilistic data structures for scalable approximate analytics.

The crate currently exposes:

Modules§

bloom_filter
Bloom filter for approximate set membership.
count_sketch
Count Sketch for approximate frequency estimation.
cuckoo_filter
Cuckoo filter for approximate set membership with deletions.
hyperloglog
HyperLogLog cardinality estimator.
jacard
Jaccard similarity trait shared by sketch implementations.
kll
KLL sketch for approximate quantile queries.
lsh_minhash
MinHash banding LSH index for approximate nearest-neighbor candidate search.
minhash
MinHash sketch for approximate Jaccard similarity.
minmax_sketch
MinMax sketch for approximate frequency counting.
reservoir_sampling
Reservoir sampling for uniform samples from streaming data.
space_saving
Space-Saving sketch for approximate heavy hitters.
tdigest
t-digest for approximate quantiles, especially in distribution tails.

Enums§

SketchError
Errors returned by sketch constructors and merge operations.