Skip to content

Raise error logreg liblinear #31888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

snath-xoc
Copy link
Contributor

@snath-xoc snath-xoc commented Aug 7, 2025

Reference Issues/PRs

Fixes #7486

What does this implement/fix? Explain your changes.

LogisticRegression freezes when using the liblinear solver with X containing large values>1e30. A ValueError is now raised if X contains a maximum value >1e30 with accompanying tests

Any other comments?

@antoinebaker @yl565 @agramfort @ogrisel

Copy link

github-actions bot commented Aug 7, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 0dfb5c0. Link to the linter CI: here

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.

LogisticRegression freezed when X containing large number
1 participant