T
- The class type of this instance.public interface AgglomerativeClusteringParams<T> extends HasDistanceMeasure<T>, HasFeaturesCol<T>, HasPredictionCol<T>, HasWindows<T>
AgglomerativeClustering
.Modifier and Type | Field and Description |
---|---|
static Param<Boolean> |
COMPUTE_FULL_TREE |
static Param<Double> |
DISTANCE_THRESHOLD |
static Param<String> |
LINKAGE
Supported options to compute the distance between two clusters.
|
static String |
LINKAGE_AVERAGE |
static String |
LINKAGE_COMPLETE |
static String |
LINKAGE_SINGLE |
static String |
LINKAGE_WARD |
static Param<Integer> |
NUM_CLUSTERS |
DISTANCE_MEASURE
FEATURES_COL
PREDICTION_COL
WINDOWS
Modifier and Type | Method and Description |
---|---|
default Boolean |
getComputeFullTree() |
default Double |
getDistanceThreshold() |
default String |
getLinkage() |
default Integer |
getNumClusters() |
default T |
setComputeFullTree(Boolean value) |
default T |
setDistanceThreshold(Double value) |
default T |
setLinkage(String value) |
default T |
setNumClusters(Integer value) |
getDistanceMeasure, setDistanceMeasure
getFeaturesCol, setFeaturesCol
getPredictionCol, setPredictionCol
getWindows, setWindows
get, getParam, getParamMap, set
static final String LINKAGE_WARD
static final String LINKAGE_COMPLETE
static final String LINKAGE_SINGLE
static final String LINKAGE_AVERAGE
static final Param<String> LINKAGE
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.