spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkbrad...@apache.org
Subject spark git commit: [SPARK-7085][MLlib] Fix miniBatchFraction parameter in train method called with 4 arguments
Date Thu, 23 Apr 2015 21:00:18 GMT
Repository: spark
Updated Branches:
  refs/heads/master 6afde2c78 -> 3e91cc273


[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


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

Branch: refs/heads/master
Commit: 3e91cc273d281053618bfa032bc610e2cf8d8e78
Parents: 6afde2c
Author: wizz <wizz@wizz-dev01.kawasaki.flab.fujitsu.com>
Authored: Thu Apr 23 14:00:07 2015 -0700
Committer: Joseph K. Bradley <joseph@databricks.com>
Committed: Thu Apr 23 14:00:07 2015 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/mllib/regression/RidgeRegression.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3e91cc27/mllib/src/main/scala/org/apache/spark/mllib/regression/RidgeRegression.scala
----------------------------------------------------------------------
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 8838ca8..309f9af 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)
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message