Skip to content

@saehrimnir/druidjs / ParametersLSH

Interface: ParametersLSH

Defined in: knn/index.js:54

Properties

PropertyTypeDescriptionDefined in
bucketWidthnumber | nullQuantization width w. Must match the scale of the data; estimated from the sampled distance distribution when null. Default is nullknn/index.js:58
metricMetricMetric to use: (a, b) => distance. Default is euclideanknn/index.js:55
numHashFunctionsnumberNumber of hash functions per table. Default is 10knn/index.js:57
numHashTablesnumberNumber of hash tables. Default is 10knn/index.js:56
seednumberSeed for random number generator. Default is 1212knn/index.js:60