Skip to content

KllParams

Defined in: packages/distillate/src/kll/kll.ts:44

Construction parameters for a KllSketch.

optional k?: number

Defined in: packages/distillate/src/kll/kll.ts:46

Items the top level holds, an integer in [8, 65535]; defaults to 200.


optional seed?: number

Defined in: packages/distillate/src/kll/kll.ts:51

Seed for the coin flips compaction makes. Give one to make a stream’s sketch reproducible; without one, a random seed is drawn.