Interface: SketchDimensions
@kortexya/reasoninglayer / SketchDimensions
Interface: SketchDimensions
Section titled “Interface: SketchDimensions”Defined in: src/types/streaming.ts:16
Shape of a Count-Min sketch — either explicit dimensions or (ε, δ) accuracy.
Properties
Section titled “Properties”delta?
Section titled “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?
Section titled “depth?”
optionaldepth?:number|null
Defined in: src/types/streaming.ts:24
Number of hash rows. Must be ≥ 1 when provided. Optional / nullable.
epsilon?
Section titled “epsilon?”
optionalepsilon?:number|null
Defined in: src/types/streaming.ts:28
Additive-error bound ε ∈ (0, 1). Optional / nullable.
width?
Section titled “width?”
optionalwidth?:number|null
Defined in: src/types/streaming.ts:30
Number of buckets per row. Must be ≥ 1 when provided. Optional / nullable.