Github user mgaido91 commented on a diff in the pull request: https://github.com/apache/spark/pull/22756#discussion_r226030159 --- Diff: python/pyspark/ml/clustering.py --- @@ -335,20 +335,6 @@ def clusterCenters(self): """Get the cluster centers, represented as a list of NumPy arrays.""" return [c.toArray() for c in self._call_java("clusterCenters")] - @since("2.0.0") - def computeCost(self, dataset): --- End diff -- sorry, this was not intended, I am fixing this.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org