Skip to content

MNT Deprecate n_jobs in LogisticRegression - #32742

Merged
jeremiedbb merged 3 commits into
scikit-learn:mainfrom
lesteve:deprecate-logisticregression-n-jobs
Nov 19, 2025
Merged

jeremiedbb merged 3 commits into
scikit-learn:mainfrom
lesteve:deprecate-logisticregression-n-jobs

Conversation

@lesteve

@lesteve lesteve commented Nov 19, 2025

Copy link
Copy Markdown
Member

Fix #32739

@lesteve lesteve added Quick Review For PRs that are quick to review and removed module:linear_model labels Nov 19, 2025
@lesteve lesteve added this to the 1.8 milestone Nov 19, 2025
@github-actions

github-actions Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

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

Generated for commit: ec021f4. Link to the linter CI: here

@adrinjalali adrinjalali 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.

Otherwise LGTM

Comment thread sklearn/linear_model/_logistic.py Outdated
"value > 1e30 results in a frozen fit. Please choose another "
"solver or rescale the input X."
)
# TODO(lesteve)

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.

you sure you want to be the only one qualified to handle this at some point in the future? 😅

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.

😅 good catch actually I meant to remove the code after this marker 😉, which I have now done

@jeremiedbb jeremiedbb 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.

LGTM

@jeremiedbb
jeremiedbb merged commit 1a288c6 into scikit-learn:main Nov 19, 2025
@jeremiedbb

Copy link
Copy Markdown
Member

Sorry didn't mean to merge. I think it misses a changelog entry.

@jeremiedbb

Copy link
Copy Markdown
Member

I opened #32746 to add it

@lesteve
lesteve deleted the deprecate-logisticregression-n-jobs branch November 20, 2025 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Needed Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate n_jobs in LogisticRegression

3 participants