Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/20629#discussion_r181470189
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/evaluation/ClusteringEvaluator.scala
---
@@ -64,12 +65,12 @@ class ClusteringEvaluator @Since("2.3.0")
(@Since("2.3.0") override val uid: Str
/**
* param for metric name in evaluation
- * (supports `"silhouette"` (default))
+ * (supports `"silhouette"` (default), `"kmeansCost"`)
--- End diff --
If we want to consider kmeansCost a legacy function lets call it out as
such so new people don't start adding a hard dependency to it.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]