Skip to content

DOC replace parameter C with alpha in LogisticRegression examples - #35118

Merged
lorentzenchr merged 2 commits into
scikit-learn:mainfrom
virchan:fix_logistic_regression_parameter_C_in_examples
Oct 10, 2026
Merged

lorentzenchr merged 2 commits into
scikit-learn:mainfrom
virchan:fix_logistic_regression_parameter_C_in_examples

Conversation

@virchan

@virchan virchan commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Reference Issues/PRs

Fixes #32042 (comment), and follow-up #32042 (comment).

What does this implement/fix? Explain your changes.

Replace the parameter C with alpha in the following files:

  • examples/calibration/plot_calibration_multiclass.py
  • examples/applications/plot_face_recognition.py

AI usage disclosure

I used AI assistance for:

  • Test/benchmark generation

Any other comments?

N/A

@virchan virchan changed the title DOC Fix parameter C in examples of LogisticRegression and LogisticRegressionCV DOC replace parameter C with alpha in LogisticRegression examples Oct 10, 2026
@virchan
virchan marked this pull request as ready for review October 10, 2026 06:10

@virchan virchan left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[doc build] is green. Friendly ping @lesteve.

@lorentzenchr lorentzenchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @virchan for fixing my leftovers.

@lorentzenchr
lorentzenchr enabled auto-merge (squash) October 10, 2026 08:03
@lorentzenchr
lorentzenchr merged commit 102e5da into scikit-learn:main Oct 10, 2026
37 checks passed
@lesteve

lesteve commented Oct 11, 2026

Copy link
Copy Markdown
Member

Thanks for the fix 🙏!

@virchan
virchan deleted the fix_logistic_regression_parameter_C_in_examples branch October 12, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants