Skip to content

Commit 5745b64

Browse files
author
DB Tsai
committed
Update again
1 parent e9e418e commit 5745b64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/mllib-optimization.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ See the example below. It will be addressed in the next release.
182182

183183
The L1 regularization by using
184184
[L1Updater](api/mllib/index.html#org.apache.spark.mllib.optimization.L1Updater) will not work since the
185-
soft-thresholding logic in L1Updater is designed for gradient descent.
185+
soft-thresholding logic in L1Updater is designed for gradient descent. See the developer's note.
186186

187187
The L-BFGS method
188188
[LBFGS.runLBFGS](api/scala/index.html#org.apache.spark.mllib.optimization.LBFGS)
@@ -195,8 +195,7 @@ functions, e.g., hinge, logistic, least-squares. The gradient class takes as
195195
input a training example, its label, and the current parameter value.
196196
* `updater` is a class that computes the gradient and loss of objective function
197197
of the regularization part for L-BFGS. MLlib includes updaters for cases without
198-
regularization, as well as L2 regularizer. Note that L1 regularizer doesn't work
199-
for L-BFGS. See the developer's note.
198+
regularization, as well as L2 regularizer.
200199
* `numCorrections` is the number of corrections used in the L-BFGS update. 10 is
201200
recommended.
202201
* `maxNumIterations` is the maximal number of iterations that L-BFGS can be run.

0 commit comments

Comments
 (0)