-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
test_logistic::test_dtype_match failure on 32 bit Windows #11908
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
Comments
we don't care about this too much for the final release, right? |
I thought MacPython/scikit-learn-wheels#7 (comment) further suggested that repeated fits of LogisticRegression could give different solutions, at least on the Mac testing instances. |
I suppose we'll delay this again? |
delay again? |
Is someone available to look into these things (specifically determinism in logistic regression)? |
I will look into this. |
@thomasjpfan did you get anywhere with this? Removing "blocker" since it doesn't seem to be blocking releases ;) |
I think I couldn't pin point the issue when I was looking into it. At some point I would want to get back to this when I want to venture into VM windows land. There was "temporary fixed" in #11899 by changing the tolerance based on the bit. This is not a blocker. |
We don't support <3.7 and soon <3.8, and this seems to be not reproducible, closing for now, till it appears again. |
The
test_logistic::test_dtype_match
fails on 32 bit Windows as was reported in MacPython/scikit-learn-wheels#7 (comment) The implication is that for LogisticRegression, float32 and float64 input may result in somewhat different models depending on the processor architecture (and OS), which is troublesome.This applies to Python 3.5, 3.6 but not 2.7, 3.4 and 3.7 (cf https://ci.appveyor.com/project/sklearn-wheels/scikit-learn-wheels/build/1.0.66). Linux and Mac OS are fine, and I can confirm that I can't reproduce this with a Debian unstable 32 bit Docker image.
A workaround was applied #11899 consisting in raising tolerance to
1e-2
(from1e-6
) on 32 bit Windows, but identifying the root cause of this problem would be preferable.The text was updated successfully, but these errors were encountered: