Skip to content

DEBUG saga convergence with sample_weight #31702

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Jul 4, 2025

The purpose of this draft PR is to empirically show that our existing common test can reveal the convergence problem of the SAG and SAGA solver of logistic regression when fitting with large enough sample_weight values and low enough regularization.

#31675

At this stage, I do not recommend reviewing this PR with the intent to merge it, but rather use it as a concrete example to show that we should maybe change the common test to fail when the models do not converge to be able to better reveal sample_weight handling bugs.

Copy link

github-actions bot commented Jul 4, 2025

✔️ Linting Passed

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

Generated for commit: 0bf942c. 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.

1 participant