Package org.apache.spark.ml.clustering
Interface GaussianMixtureParams
- All Superinterfaces:
HasAggregationDepth
,HasFeaturesCol
,HasMaxIter
,HasPredictionCol
,HasProbabilityCol
,HasSeed
,HasTol
,HasWeightCol
,Identifiable
,Params
,Serializable
- All Known Implementing Classes:
GaussianMixture
,GaussianMixtureModel
public interface GaussianMixtureParams
extends Params, HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol, HasWeightCol, HasProbabilityCol, HasTol, HasAggregationDepth
Common params for GaussianMixture and GaussianMixtureModel
-
Method Summary
Modifier and TypeMethodDescriptionint
getK()
k()
Number of independent Gaussians in the mixture model.validateAndTransformSchema
(StructType schema) Validates and transforms the input schema.Methods inherited from interface org.apache.spark.ml.param.shared.HasAggregationDepth
aggregationDepth, getAggregationDepth
Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIter
Methods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityCol
getProbabilityCol, probabilityCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightCol
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
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
-
Method Details
-
getK
int getK() -
k
IntParam k()Number of independent Gaussians in the mixture model. Must be greater than 1. Default: 2.- Returns:
- (undocumented)
-
validateAndTransformSchema
Validates and transforms the input schema.- Parameters:
schema
- input schema- Returns:
- output schema
-