Class GaussianMixtureSummary

Object
org.apache.spark.ml.clustering.ClusteringSummary
org.apache.spark.ml.clustering.GaussianMixtureSummary
All Implemented Interfaces:
Serializable

public class GaussianMixtureSummary extends ClusteringSummary
Summary of GaussianMixture.

param: predictions DataFrame produced by GaussianMixtureModel.transform(). param: predictionCol Name for column of predicted clusters in predictions. param: probabilityCol Name for column of predicted probability of each cluster in predictions. param: featuresCol Name for column of features in predictions. param: k Number of clusters. param: logLikelihood Total log-likelihood for this model on the given data. param: numIter Number of iterations.

See Also:
  • Method Details

    • logLikelihood

      public double logLikelihood()
    • probability

      public Dataset<Row> probability()
    • probabilityCol

      public String probabilityCol()