-
Notifications
You must be signed in to change notification settings - Fork 33
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
warnings in Logisticregression with prox newton #215
Comments
@Badr-MOUFAD can you have a look ? You can start a PR with a script isolating and reproducing the issue (hopefully on a single alpha) on the data from the test |
@mathurinm, we get the warning only if celer/tests/test_logreg.py::test_reproduce_error[False]
c:\users\hp\desktop\celer-repo\celer\celer\homotopy.py:313: ConvergenceWarning:
Objective did not converge: duality gap: 1.1778627197155299e-08, tolerance: 2.0794415416798358e-15. Increasing `tol` may make the solver faster without affecting the results much.
Fitting data with very small alpha causes precision issues. However, I could not find a case where the duality gap is greater than 1, as in your example. NB: note that I reproduced the warning by using unrealistic values of |
Did you take the same data and the same alpha as in the test ? |
@mathurinm, I literally reused the code in |
When you run the tests, you don't have the warnings ?
Did you push the code you run somewhere ?
Le ven. 1 avr. 2022 à 12:29, Badr MOUFAD ***@***.***> a
écrit :
… @mathurinm <https://github.com/mathurinm>, I literally reused the code in
celer/tests/test_LogisticRegression.
—
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACETTQTUZDQ377VOHSPZOVTVC26XTANCNFSM5JYU7MKA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I do get the warning. |
@mathurinm, I pushed the code in this branch https://github.com/Badr-MOUFAD/celer/tree/conv-warning-issue |
Running pytest:
The text was updated successfully, but these errors were encountered: