GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/22756
[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. Moreover, it introduces a `trainingCost` value in the
`BisectingKMeansSummary` which exposes the same information computed on the
training dataset.
## How was this patch tested?
improved UTs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-25758
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22756.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22756
----
commit 476198910a001c8c58df3416a5b03aef6deb0882
Author: Marco Gaido <marcogaido91@...>
Date: 2018-10-17T15:04:02Z
[SPARK-25758][ML] Deprecate computeCost on BisectingKMeans
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]