GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/22764
[SPARK-25765][ML] Add training cost to BisectingKMeans summary
## What changes were proposed in this pull request?
The PR adds the `trainingCost` value to the `BisectingKMeansSummary`, in
order to expose the information retrievable by running `computeCost` on the
training dataset. This fills the gap with `KMeans` implementation.
## 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-25765
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22764.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 #22764
----
commit 6460fe7288a63ede7c8e66d134d780241951cf9e
Author: Marco Gaido <marcogaido91@...>
Date: 2018-10-18T10:29:35Z
[SPARK-25765][ML] Add training cost to BisectingKMeans summary
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]