10000 update sag solver docs (#10150) · scikit-learn/scikit-learn@4bc025a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4bc025a

Browse files
committed
update sag solver docs (#10150)
1 parent a13a7d8 commit 4bc025a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sklearn/linear_model/sag.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ def sag_solver(X, y, sample_weight=None, loss='log', alpha=1., beta=0.,
131131
*loss='multinomial'*
132132
133133
alpha : float, optional
134-
Constant that multiplies the regularization term. Defaults to 1.
134+
L2 regularization term in the objective function
135+
(0.5 * alpha * || W ||_F^2). Defaults to 1.
136+
137+
beta : float, optional
138+
L1 regularization term in the objective function (beta * || W ||_1).
139+
Only applied if is_saga set to True. Defaults to 0.
135140
136141
max_iter : int, optional
137142
The max number of passes over the training data if the stopping

0 commit comments

Comments
 (0)
0