GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/20600
[SPARK-23412][ML] Add cosine distance to BisectingKMeans ## What changes were proposed in this pull request? The PR adds the option to specify a distance measure in BisectingKMeans. Moreover, it introduces the ability to use the cosine distance measure in it. ## How was this patch tested? added UTs + existing UTs You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-23412 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20600.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 #20600 ---- commit 343ab72491f0f357d714203c6904e70090e3da14 Author: Marco Gaido <marcogaido91@...> Date: 2018-02-12T11:58:01Z [SPARK-23412][ML] Add cosine distance to BisectingKMeans ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org