Package org.apache.spark.ml.clustering
Class ClusteringSummary
Object
org.apache.spark.ml.clustering.ClusteringSummary
- All Implemented Interfaces:
- Serializable,- Summary
- Direct Known Subclasses:
- BisectingKMeansSummary,- GaussianMixtureSummary,- KMeansSummary
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
- 
clusterSizespublic long[] clusterSizes()
- 
featuresCol
- 
kpublic int k()
- 
numIterpublic int numIter()
- 
predictionCol
- 
predictions
 
-