Skip to content

Commit

Permalink
[SPARK3382] Fix scala style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewuathe committed Dec 16, 2014
1 parent e7c10dd commit 4b125d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ object GradientDescent extends Logging {
*/
stochasticLossHistory.append(lossSum / miniBatchSize + regVal)
val update = updater.compute(
weights, Vectors.fromBreeze(gradientSum / miniBatchSize.toDouble), stepSize, i, regParam)
weights, Vectors.fromBreeze(gradientSum / miniBatchSize.toDouble),
stepSize, i, regParam)
weights = update._1
regVal = update._2
if (stochasticLossHistory.length > 1) {
Expand Down

0 comments on commit 4b125d2

Please sign in to comment.