You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by holdenk <gi...@git.apache.org> on 2018/04/13 18:23:46 UTC
[GitHub] spark pull request #20629: [SPARK-23451][ML] Deprecate KMeans.computeCost
Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/20629#discussion_r181470948
--- Diff: mllib/src/main/scala/org/apache/spark/ml/evaluation/ClusteringEvaluator.scala ---
@@ -84,12 +85,12 @@ class ClusteringEvaluator @Since("2.3.0") (@Since("2.3.0") override val uid: Str
/**
* param for distance measure to be used in evaluation
- * (supports `"squaredEuclidean"` (default), `"cosine"`)
+ * (supports `"squaredEuclidean"` (default), `"cosine"`, `"euclidean"`)
--- End diff --
If some models only support some ditance measures we should make that clear in the docs.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org