Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/22756#discussion_r226023867
--- 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 --
Hm, can you actually remove this, vs just deprecate it?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]