Class ClusteringSummary

All Implemented Interfaces:
Serializable, scala.Serializable
Direct Known Subclasses:
BisectingKMeansSummary, GaussianMixtureSummary, KMeansSummary

public class ClusteringSummary extends Object implements scala.Serializable
Summary of clustering algorithms.

param: predictions DataFrame produced by model.transform(). param: predictionCol Name for column of predicted clusters in predictions. param: featuresCol Name for column of features in predictions. param: k Number of clusters. param: numIter Number of iterations.

See Also:
  • Method Details

    • cluster

      public Dataset<Row> cluster()
    • clusterSizes

      public long[] clusterSizes()
    • featuresCol

      public String featuresCol()
    • k

      public int k()
    • numIter

      public int numIter()
    • predictionCol

      public String predictionCol()
    • predictions

      public Dataset<Row> predictions()