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 SummaryModifier 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.HasAggregationDepthaggregationDepth, getAggregationDepthMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesColfeaturesCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxItergetMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionColgetPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityColgetProbabilityCol, probabilityColMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightColgetWeightCol, weightColMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, 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- 
getKint getK()
- 
kIntParam k()Number of independent Gaussians in the mixture model. Must be greater than 1. Default: 2.- Returns:
- (undocumented)
 
- 
validateAndTransformSchemaValidates and transforms the input schema.- Parameters:
- schema- input schema
- Returns:
- output schema
 
 
-