T
- The class type of this instance.public interface LSHParams<T> extends LSHModelParams<T>
LSH
.Modifier and Type | Field and Description |
---|---|
static Param<Integer> |
NUM_HASH_FUNCTIONS_PER_TABLE
Param for the number of hash functions per hash table used in LSH AND-amplification.
|
static Param<Integer> |
NUM_HASH_TABLES
Param for the number of hash tables used in LSH OR-amplification.
|
INPUT_COL
OUTPUT_COL
Modifier and Type | Method and Description |
---|---|
default int |
getNumHashFunctionsPerTable() |
default int |
getNumHashTables() |
default T |
setNumHashFunctionsPerTable(Integer value) |
default T |
setNumHashTables(Integer value) |
getInputCol, setInputCol
getOutputCol, setOutputCol
get, getParam, getParamMap, set
static final Param<Integer> NUM_HASH_TABLES
OR-amplification can be used to reduce the false negative rate. Higher values of this param lead to a reduced false negative rate, at the expense of added computational complexity.
static final Param<Integer> NUM_HASH_FUNCTIONS_PER_TABLE
AND-amplification can be used to reduce the false positive rate. Higher values of this param lead to a reduced false positive rate, at the expense of added computational complexity.
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.