Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22336af

Browse files
as-90thomasjpfan
andauthored
DOC fix comment in plot_logistic_l1_l2_sparsity.py (#25633)
Co-authored-by: Thomas J. Fan <[email protected]>
1 parent 616db5c commit 22336af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/linear_model/plot_logistic_l1_l2_sparsity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
# Set regularization parameter
4242
for i, (C, axes_row) in enumerate(zip((1, 0.1, 0.01), axes)):
43-
# turn down tolerance for short training time
43+
# Increase tolerance for short training time
4444
clf_l1_LR = LogisticRegression(C=C, penalty="l1", tol=0.01, solver="saga")
4545
clf_l2_LR = LogisticRegression(C=C, penalty="l2", tol=0.01, solver="saga")
4646
clf_en_LR = LogisticRegression(

0 commit comments

Comments
 (0)