-
- Downloads
[SPARK-4355][MLLIB] fix OnlineSummarizer.merge when other.mean is zero
See inline comment about the bug. I also did some code clean-up. dbtsai I moved `update` to a private method of `MultivariateOnlineSummarizer`. I don't think it will cause performance regression, but it would be great if you have some time to test. Author: Xiangrui Meng <meng@databricks.com> Closes #3220 from mengxr/SPARK-4355 and squashes the following commits: 5ef601f [Xiangrui Meng] fix OnlineSummarizer.merge when other.mean is zero and some code clean-up
Showing
- mllib/src/main/scala/org/apache/spark/mllib/stat/MultivariateOnlineSummarizer.scala 40 additions, 45 deletions...pache/spark/mllib/stat/MultivariateOnlineSummarizer.scala
- mllib/src/test/scala/org/apache/spark/mllib/stat/MultivariateOnlineSummarizerSuite.scala 11 additions, 0 deletions.../spark/mllib/stat/MultivariateOnlineSummarizerSuite.scala
Loading
Please register or sign in to comment