diff options
author | wizz <wizz@wizz-dev01.kawasaki.flab.fujitsu.com> | 2015-04-23 14:00:07 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-04-23 14:00:07 -0700 |
commit | 3e91cc273d281053618bfa032bc610e2cf8d8e78 (patch) | |
tree | 855c75fd9a61deb28ecd281336559595eeba7da1 /mllib/src | |
parent | 6afde2c7810c363083d0a699b1de02b54c13e6a9 (diff) | |
download | spark-3e91cc273d281053618bfa032bc610e2cf8d8e78.tar.gz spark-3e91cc273d281053618bfa032bc610e2cf8d8e78.tar.bz2 spark-3e91cc273d281053618bfa032bc610e2cf8d8e78.zip |
[SPARK-7085][MLlib] Fix miniBatchFraction parameter in train method called with 4 arguments
Author: wizz <wizz@wizz-dev01.kawasaki.flab.fujitsu.com>
Closes #5658 from kuromatsu-nobuyuki/SPARK-7085 and squashes the following commits:
6ec2d21 [wizz] Fix miniBatchFraction parameter in train method called with 4 arguments
Diffstat (limited to 'mllib/src')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala b/mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala index 8838ca8c14..309f9af466 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala @@ -171,7 +171,7 @@ object RidgeRegressionWithSGD { numIterations: Int, stepSize: Double, regParam: Double): RidgeRegressionModel = { - train(input, numIterations, stepSize, regParam, 0.01) + train(input, numIterations, stepSize, regParam, 1.0) } /** |