Skip to content

Commit d157c71

Browse files
as-90thomasjpfan
authored andcommitted
DOC fix comment in plot_logistic_l1_l2_sparsity.py (#25633)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent a03f184 commit d157c71

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)