接口 LSHParams<T>

  • 类型参数:
    T - The class type of this instance.
    所有超级接口:
    org.apache.flink.ml.common.param.HasInputCol<T>, org.apache.flink.ml.common.param.HasOutputCol<T>, LSHModelParams<T>, org.apache.flink.ml.param.WithParams<T>
    所有已知子接口:
    MinHashLSHParams<T>
    所有已知实现类:
    MinHashLSH

    public interface LSHParams<T>
    extends LSHModelParams<T>
    Params for LSH.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static org.apache.flink.ml.param.Param<Integer> NUM_HASH_FUNCTIONS_PER_TABLE
      Param for the number of hash functions per hash table used in LSH AND-amplification.
      static org.apache.flink.ml.param.Param<Integer> NUM_HASH_TABLES
      Param for the number of hash tables used in LSH OR-amplification.
      • 从接口继承的字段 org.apache.flink.ml.common.param.HasInputCol

        INPUT_COL
      • 从接口继承的字段 org.apache.flink.ml.common.param.HasOutputCol

        OUTPUT_COL
    • 字段详细资料

      • NUM_HASH_TABLES

        static final org.apache.flink.ml.param.Param<Integer> NUM_HASH_TABLES
        Param for the number of hash tables used in LSH OR-amplification.

        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.

      • NUM_HASH_FUNCTIONS_PER_TABLE

        static final org.apache.flink.ml.param.Param<Integer> NUM_HASH_FUNCTIONS_PER_TABLE
        Param for the number of hash functions per hash table used in LSH AND-amplification.

        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.

    • 方法详细资料

      • getNumHashTables

        default int getNumHashTables()
      • setNumHashTables

        default T setNumHashTables​(Integer value)
      • getNumHashFunctionsPerTable

        default int getNumHashFunctionsPerTable()
      • setNumHashFunctionsPerTable

        default T setNumHashFunctionsPerTable​(Integer value)