GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/22763
[SPARK-25764][ML][EXAMPLES] Update BisectingKMeans example not to use
deprecated computeCost method
## What changes were proposed in this pull request?
The PR updates the examples for `BisectingKMeans` so that they don't use
the deprecated method `computeCost` (see SPARK-25758).
## How was this patch tested?
running examples
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-25764
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22763.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 #22763
----
commit 9def7e8d024f2f8fca2482b25ab719c717f138b4
Author: Marco Gaido <marcogaido91@...>
Date: 2018-10-18T10:17:05Z
[SPARK-25764][ML][EXAMPLES] Update BisectingKMeans example not to use
deprecated computeCost method
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]