apache/spark — pull request #2207 by dbtsai (2014-08-29 21:28:00+00:00)
Title: [SPARK-3317][MLlib] The loss of regularization in Updater should use the oldWeights

The current loss of the regularization is computed from the newWeights which is not correct. The loss, R(w) = 1/2 ||w||^2 should be computed with the oldWeights.