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 TypeMethodDescriptionintgetK()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, getAggregationDepthMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityCol
getProbabilityCol, probabilityColMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightColMethods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uidMethods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, 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
-