public interface KMeansParams extends Params, HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol, HasTol, HasDistanceMeasure, HasWeightCol, HasSolver, HasMaxBlockSizeInMB
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).
|
Param<String> |
solver()
Param for the name of optimization method used in KMeans.
|
StructType |
validateAndTransformSchema(StructType schema)
Validates and transforms the input schema.
|
getMaxIter, maxIter
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
distanceMeasure, getDistanceMeasure
getWeightCol, weightCol
getMaxBlockSizeInMB, maxBlockSizeInMB
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
String getInitMode()
int getInitSteps()
int getK()
Param<String> initMode()
IntParam initSteps()
IntParam k()
Param<String> solver()
StructType validateAndTransformSchema(StructType schema)
schema
- input schema