spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [3/3] git commit: Merge pull request #337 from yinxusen/mllib-16-bugfix
Date Tue, 07 Jan 2014 19:31:40 GMT
Merge pull request #337 from yinxusen/mllib-16-bugfix

Mllib 16 bugfix

Bug fix: https://spark-project.atlassian.net/browse/MLLIB-16

Hi, I fixed the bug and added a test suite for `GradientDescent`. There are 2 checks in the
test case. First, the final loss must be lower than the initial one. Second, the trend of
loss sequence should be decreasing, i.e., at least 80% iterations have lower losses than their
prior iterations.

Thanks!


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/7d5fa175
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/7d5fa175
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/7d5fa175

Branch: refs/heads/master
Commit: 7d5fa175ca9cd2260c7bcd18c201bc087d4f62c3
Parents: 71fc113 05e6d5b
Author: Reynold Xin <rxin@apache.org>
Authored: Tue Jan 7 11:31:34 2014 -0800
Committer: Reynold Xin <rxin@apache.org>
Committed: Tue Jan 7 11:31:34 2014 -0800

----------------------------------------------------------------------
 .../spark/mllib/optimization/Gradient.scala     |   4 +-
 .../optimization/GradientDescentSuite.scala     | 116 +++++++++++++++++++
 2 files changed, 118 insertions(+), 2 deletions(-)
----------------------------------------------------------------------



Mime
View raw message