diff options
author | Xiangrui Meng <meng@databricks.com> | 2014-11-12 01:50:11 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-12 01:50:31 -0800 |
commit | 14b933fb67c1b979c72a155c5caa36c786fc6a1a (patch) | |
tree | 7405a107696e8745ddff8d0c72184c6f3d27d190 /examples/src/main | |
parent | 4a4cc7e9199cb8cc48b4b073578ed5a22d8093f3 (diff) | |
download | spark-14b933fb67c1b979c72a155c5caa36c786fc6a1a.tar.gz spark-14b933fb67c1b979c72a155c5caa36c786fc6a1a.tar.bz2 spark-14b933fb67c1b979c72a155c5caa36c786fc6a1a.zip |
[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
(cherry picked from commit 84324fbcb987db6e10e435f463eacace1bae43e2)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'examples/src/main')
0 files changed, 0 insertions, 0 deletions