public interface LSHParams extends HasInputCol, HasOutputCol
LSH
.Modifier and Type | Method and Description |
---|---|
int |
getNumHashTables() |
IntParam |
numHashTables()
Param for the number of hash tables used in LSH OR-amplification.
|
StructType |
validateAndTransformSchema(StructType schema)
Transform the Schema for LSH
|
getInputCol, inputCol
getOutputCol, outputCol
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
int getNumHashTables()
IntParam numHashTables()
LSH OR-amplification can be used to reduce the false negative rate. Higher values for this param lead to a reduced false negative rate, at the expense of added computational complexity.
StructType validateAndTransformSchema(StructType schema)
schema
- The schema of the input dataset without outputCol
.outputCol
added.