kumulant

CountMinSketch

@Serializable
@SerialName(value = "CountMinSketch")
data class CountMinSketch(val depth: Int = 5, val width: Int = 1024, val seed: Long = -7046029254386353133L, val hasher: HasherRef = HasherRef.SplitMix64) : DiscreteStatSpec<CountMinSketchResult> (source)

Spec for CountMinSketchStat: approximate frequency table for unbounded-cardinality streams.

Constructors

CountMinSketch

constructor(depth: Int = 5, width: Int = 1024, seed: Long = -7046029254386353133L, hasher: HasherRef = HasherRef.SplitMix64)(source)

Properties

depth

Number of independent hash rows.

hasher

HasherRef for the mixer applied per row; resolved via the Hashers registry.

seed

PRNG seed used to derive the per-row hash salts.

width

Number of counter columns per row.