MinHashLSHParams
Defined in: packages/distillate/src/minhash/lsh.ts:15
Construction parameters for a MinHashLSH index.
Properties
Section titled “Properties”
optionalk?:number
Defined in: packages/distillate/src/minhash/lsh.ts:19
Slots in every sketch the index takes; defaults to 128.
optionalseed?:number
Defined in: packages/distillate/src/minhash/lsh.ts:26
Hash seed every sketch the index takes must share; defaults to 0.
threshold
Section titled “threshold”threshold:
number
Defined in: packages/distillate/src/minhash/lsh.ts:17
Jaccard similarity that should make a pair a candidate.
weights?
Section titled “weights?”
optionalweights?: readonly [number,number]
Defined in: packages/distillate/src/minhash/lsh.ts:24
Cost of a false positive and of a false negative when choosing bands and
rows; sum to 1. Defaults to [0.5, 0.5].