public class ClusteringSummary
extends Object
implements scala.Serializable
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.
Modifier and Type | Method and Description |
---|---|
Dataset<Row> |
cluster() |
long[] |
clusterSizes() |
String |
featuresCol() |
int |
k() |
int |
numIter() |
String |
predictionCol() |
Dataset<Row> |
predictions() |