接口 AgglomerativeClusteringParams<T>

  • 类型参数:
    T - The class type of this instance.
    所有超级接口:
    org.apache.flink.ml.common.param.HasDistanceMeasure<T>, org.apache.flink.ml.common.param.HasFeaturesCol<T>, org.apache.flink.ml.common.param.HasPredictionCol<T>, HasWindows<T>, org.apache.flink.ml.param.WithParams<T>
    所有已知实现类:
    AgglomerativeClustering

    public interface AgglomerativeClusteringParams<T>
    extends org.apache.flink.ml.common.param.HasDistanceMeasure<T>, org.apache.flink.ml.common.param.HasFeaturesCol<T>, org.apache.flink.ml.common.param.HasPredictionCol<T>, HasWindows<T>
    • 字段详细资料

      • NUM_CLUSTERS

        static final org.apache.flink.ml.param.Param<Integer> NUM_CLUSTERS
      • DISTANCE_THRESHOLD

        static final org.apache.flink.ml.param.Param<Double> DISTANCE_THRESHOLD
      • LINKAGE

        static final org.apache.flink.ml.param.Param<String> LINKAGE
        Supported options to compute the distance between two clusters. The algorithm will merge the pairs of cluster that minimize this criterion.
        • ward: the variance between the two clusters.
        • complete: the maximum distance between all observations of the two clusters.
        • single: the minimum distance between all observations of the two clusters.
        • average: the average distance between all observations of the two clusters.
      • COMPUTE_FULL_TREE

        static final org.apache.flink.ml.param.Param<Boolean> COMPUTE_FULL_TREE
    • 方法详细资料

      • getNumClusters

        default Integer getNumClusters()
      • setNumClusters

        default T setNumClusters​(Integer value)
      • getLinkage

        default String getLinkage()
      • setLinkage

        default T setLinkage​(String value)
      • getDistanceThreshold

        default Double getDistanceThreshold()
      • setDistanceThreshold

        default T setDistanceThreshold​(Double value)
      • getComputeFullTree

        default Boolean getComputeFullTree()
      • setComputeFullTree

        default T setComputeFullTree​(Boolean value)