-
- Downloads
[SPARK-20930][ML] Destroy broadcasted centers after computing cost in KMeans
## What changes were proposed in this pull request? Destroy broadcasted centers after computing cost ## How was this patch tested? existing tests Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #18152 from zhengruifeng/destroy_kmeans_model.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeansModel.scala 4 additions, 1 deletion...scala/org/apache/spark/mllib/clustering/KMeansModel.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala 2 additions, 2 deletions...in/scala/org/apache/spark/mllib/clustering/LDAModel.scala
- mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala 1 addition, 0 deletions...org/apache/spark/mllib/optimization/GradientDescent.scala
Loading
Please register or sign in to comment