Skip to content

LshSizing

Defined in: packages/distillate/src/minhash/sizing.ts:47

LSH geometry: how a signature of k slots is cut into bands.

bands: number

Defined in: packages/distillate/src/minhash/sizing.ts:49

Bands; a pair becomes a candidate when any one band matches.


falseNegative: number

Defined in: packages/distillate/src/minhash/sizing.ts:61

Area above the curve beyond the threshold: how much mass is missed among pairs at least as similar as wanted.


falsePositive: number

Defined in: packages/distillate/src/minhash/sizing.ts:56

Area under the candidate curve below the threshold: how much probability mass goes to pairs less similar than wanted.


rows: number

Defined in: packages/distillate/src/minhash/sizing.ts:51

Slots per band; every one must match for the band to.