public class GaussianMixtureSummary
extends Object
implements scala.Serializable
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
Modifier and Type | Method and Description |
---|---|
Dataset<Row> |
cluster()
Cluster centers of the transformed data.
|
long[] |
clusterSizes()
Size of (number of data points in) each cluster.
|
String |
featuresCol() |
int |
k() |
String |
predictionCol() |
Dataset<Row> |
predictions() |
Dataset<Row> |
probability()
Probability of each cluster.
|
String |
probabilityCol() |
public String predictionCol()
public String probabilityCol()
public String featuresCol()
public int k()
public Dataset<Row> cluster()
public long[] clusterSizes()