1. [SPARK-25758][ML] Deprecate computeCost on BisectingKMeans (details)
Commit c2962546d9a5900a5628a31b83d2c4b22c3a7936 by dongjoon
[SPARK-25758][ML] Deprecate computeCost on BisectingKMeans
## What changes were proposed in this pull request?
The PR proposes to deprecate the `computeCost` method on
`BisectingKMeans` in favor of the adoption of `ClusteringEvaluator` in
order to evaluate the clustering.
## How was this patch tested?
Closes #22756 from mgaido91/SPARK-25758.
Authored-by: Marco Gaido <> Signed-off-by:
Dongjoon Hyun <>
The file was modifiedmllib/src/main/scala/org/apache/spark/ml/clustering/BisectingKMeans.scala (diff)
The file was modifiedpython/pyspark/ml/ (diff)