CountMinSketchOptions
CountMinSketchOptions<
T> =object
Defined in: packages/data/src/probabilistic/count-min-sketch.ts:3
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”delta?
Section titled “delta?”
optionaldelta?:number
Defined in: packages/data/src/probabilistic/count-min-sketch.ts:15
Probability that an estimate exceeds the epsilon bound. Defaults to
0.001. Depth is ceil(ln(1 / delta)).
epsilon?
Section titled “epsilon?”
optionalepsilon?:number
Defined in: packages/data/src/probabilistic/count-min-sketch.ts:10
Tolerated over-estimate, as a fraction of the total count added. Defaults
to 0.001. Width is ceil(e / epsilon), so halving this doubles memory.
hash:
Hash32<T>
Defined in: packages/data/src/probabilistic/count-min-sketch.ts:5
See Hash32: required, and why it cannot be defaulted.