-
- Downloads
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!
No related branches found
No related tags found
Showing
- mllib/src/main/scala/org/apache/spark/mllib/optimization/Gradient.scala 2 additions, 2 deletions.../scala/org/apache/spark/mllib/optimization/Gradient.scala
- mllib/src/test/scala/org/apache/spark/mllib/optimization/GradientDescentSuite.scala 116 additions, 0 deletions...pache/spark/mllib/optimization/GradientDescentSuite.scala
Please register or sign in to comment