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, inputColgetOutputCol, outputColclear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwntoString, uidint 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.