Interface: SketchDimensions
@kortexya/reasoninglayer / Streaming / SketchDimensions
Interface: SketchDimensions
Defined in: src/types/streaming.ts:16
Shape of a Count-Min sketch — either explicit dimensions or (ε, δ) accuracy.
Properties
delta?
optionaldelta:number|null
Defined in: src/types/streaming.ts:22
Failure probability δ ∈ (0, 1). The estimated count overestimates
the true count by at most ε · N with probability 1 − δ.
Optional / nullable.
depth?
optionaldepth:number|null
Defined in: src/types/streaming.ts:24
Number of hash rows. Must be ≥ 1 when provided. Optional / nullable.
epsilon?
optionalepsilon:number|null
Defined in: src/types/streaming.ts:28
Additive-error bound ε ∈ (0, 1). Optional / nullable.
width?
optionalwidth:number|null
Defined in: src/types/streaming.ts:30
Number of buckets per row. Must be ≥ 1 when provided. Optional / nullable.