Skip to content

Interface: SketchDimensions

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SketchDimensions

Defined in: src/types/streaming.ts:16

Shape of a Count-Min sketch — either explicit dimensions or (ε, δ) accuracy.

optional delta?: 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.


optional depth?: number | null

Defined in: src/types/streaming.ts:24

Number of hash rows. Must be ≥ 1 when provided. Optional / nullable.


optional epsilon?: number | null

Defined in: src/types/streaming.ts:28

Additive-error bound ε ∈ (0, 1). Optional / nullable.


optional width?: number | null

Defined in: src/types/streaming.ts:30

Number of buckets per row. Must be ≥ 1 when provided. Optional / nullable.