Package org.apache.spark.ml.evaluation
Class ClusteringMetrics
Object
org.apache.spark.ml.evaluation.ClusteringMetrics
Metrics for clustering, which expects two input columns: prediction and label.
-
Method Summary
Modifier and TypeMethodDescriptionsetDistanceMeasure
(String value) double
Returns the silhouette score
-
Method Details
-
getDistanceMeasure
-
setDistanceMeasure
-
silhouette
public double silhouette()Returns the silhouette score- Returns:
- (undocumented)
-