GitHub user mgaido91 opened a pull request:

    https://github.com/apache/spark/pull/22786

    [SPARK-25764][ML][EXAMPLES] Update BisectingKMeans example to use 
ClusteringEvaluator

    ## What changes were proposed in this pull request?
    
    Using `computeCost` for evaluating a model is a very poor approach. We 
should advice the users to a better approach which is available, ie. using the 
`ClusteringEvaluator` to evaluate their models. The PR updates the examples for 
`BisectingKMeans` in order to do that.
    
    ## 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/22786.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 #22786
    
----
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: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to