Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/20627#discussion_r169090021 --- Diff: python/pyspark/ml/evaluation.py --- @@ -394,15 +397,30 @@ def getMetricName(self): @keyword_only @since("2.3.0") def setParams(self, predictionCol="prediction", featuresCol="features", - metricName="silhouette"): + metricName="silhouette", distanceMeasure="squaredEuclidean"): --- End diff -- Just so I'm clear, this doesn't cause any API incompatibility in Python in the way it would for Scala right?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org