public interface KMeansParams extends Params, HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol, HasTol, HasDistanceMeasure
Modifier and Type | Method and Description |
---|---|
String |
getInitMode() |
int |
getInitSteps() |
int |
getK() |
Param<String> |
initMode()
Param for the initialization algorithm.
|
IntParam |
initSteps()
Param for the number of steps for the k-means|| initialization mode.
|
IntParam |
k()
The number of clusters to create (k).
|
StructType |
validateAndTransformSchema(StructType schema)
Validates and transforms the input schema.
|
getMaxIter, maxIter
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
distanceMeasure, getDistanceMeasure
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
String getInitMode()
int getInitSteps()
int getK()
Param<String> initMode()
IntParam initSteps()
IntParam k()
StructType validateAndTransformSchema(StructType schema)
schema
- input schema