public interface BucketedRandomProjectionLSHParams extends Params
Params for BucketedRandomProjectionLSH
.
Modifier and Type | Method and Description |
---|---|
DoubleParam |
bucketLength()
The length of each hash bucket, a larger bucket lowers the false negative rate.
|
double |
getBucketLength() |
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
DoubleParam bucketLength()
(max L2 norm of input vectors) / bucketLength
.
If input vectors are normalized, 1-10 times of pow(numRecords, -1/inputDim) would be a reasonable value
double getBucketLength()