接口 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>
Params ofAgglomerativeClustering.
-
-
字段概要
字段 修饰符和类型 字段 说明 static org.apache.flink.ml.param.Param<Boolean>COMPUTE_FULL_TREEstatic org.apache.flink.ml.param.Param<Double>DISTANCE_THRESHOLDstatic org.apache.flink.ml.param.Param<String>LINKAGESupported options to compute the distance between two clusters.static StringLINKAGE_AVERAGEstatic StringLINKAGE_COMPLETEstatic StringLINKAGE_SINGLEstatic StringLINKAGE_WARDstatic org.apache.flink.ml.param.Param<Integer>NUM_CLUSTERS-
从接口继承的字段 org.apache.flink.ml.common.param.HasWindows
WINDOWS
-
-
方法概要
所有方法 实例方法 默认方法 修饰符和类型 方法 说明 default BooleangetComputeFullTree()default DoublegetDistanceThreshold()default StringgetLinkage()default IntegergetNumClusters()default TsetComputeFullTree(Boolean value)default TsetDistanceThreshold(Double value)default TsetLinkage(String value)default TsetNumClusters(Integer value)-
从接口继承的方法 org.apache.flink.ml.common.param.HasWindows
getWindows, setWindows
-
-
-
-
字段详细资料
-
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
-
-