diff options
author | GuoQiang Li <witgo@qq.com> | 2014-11-25 02:01:19 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-25 02:01:31 -0800 |
commit | d117f8fa44a4cf2f51c0fb1a1a6bac65527a63b0 (patch) | |
tree | 5a6c0a1b9698d327004367eea630c59b0768ef6a /examples | |
parent | 74571991b894a3b1ec47644d850a64276252b3fb (diff) | |
download | spark-d117f8fa44a4cf2f51c0fb1a1a6bac65527a63b0.tar.gz spark-d117f8fa44a4cf2f51c0fb1a1a6bac65527a63b0.tar.bz2 spark-d117f8fa44a4cf2f51c0fb1a1a6bac65527a63b0.zip |
[SPARK-4526][MLLIB]GradientDescent get a wrong gradient value according to the gradient formula.
This is caused by the miniBatchSize parameter.The number of `RDD.sample` returns is not fixed.
cc mengxr
Author: GuoQiang Li <witgo@qq.com>
Closes #3399 from witgo/GradientDescent and squashes the following commits:
13cb228 [GuoQiang Li] review commit
668ab66 [GuoQiang Li] Double to Long
b6aa11a [GuoQiang Li] Check miniBatchSize is greater than 0
0b5c3e3 [GuoQiang Li] Minor fix
12e7424 [GuoQiang Li] GradientDescent get a wrong gradient value according to the gradient formula, which is caused by the miniBatchSize parameter.
(cherry picked from commit f515f9432b05f7e090b651c5536aa706d1cde487)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions