-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Floating point exception in GradientBoostingClassifier during nosetests on macosx 10.8.2 64bit (and others?) #1406
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
Seems like your computer is catching lots of errors :) |
@erg I cannot reproduce (neither does our buildbot)... can you try to pin point the error? what numpy/blas version are your running? thx, |
Blas is the builtin one for mac. How do I find the version? All you need is a new Macbook or like 10.8.2 64bit. Might get time to debug later...
|
On 11/25/2012 11:06 PM, erg wrote:
|
I cannot reproduce either, although I am running OS X 10.8.2 (12C3006):
|
I can reproduce with my system with the hand-compiled atlas library. |
Hum, I can even reproduce with 0.12.... I am pretty certain that the tests used to pass. Thus I am starting to think that it is not a problem in the scikit. |
OK, with numpy 1.6.2 it works fine... |
I see - I'm using 1.6.2 - I'll hunt down the problem with 1.7 |
I did a bisect on numpy, and the numpy commit that induces the breakage is: |
@GaelVaroquaux nice job :) |
Now we need a volunteer to qualify the bug in a minimalistic reproduction script and report it to the numpy github issue tracker if it's indeed a numpy regression rather than a misuse from our side. |
I am still looking at it. We might have something fishy. The segfault is I suspect that y.strides[1] is now 0. |
Confirmed. OK, there's been an API change at the numpy level: a C-contiguous array |
This change of behavior has a wider impact. I have fixed the segfault in |
@GaelVaroquaux thanks for taking care of that |
We'll see what they reply. |
I had already mentioned this in numpy/numpy#2694 (comment) (there is a second occurance that I saw back then outside of tree in case you did not yet) the fix is simply to use I have not tried this specifically for this code, but with previous numpy you should be able to break it for example with some (possibly not easy to create) 0-sized or 1-sized arrays. Btw. sorry if you guys spend so much time on it, I somewhat thought it was seen (and also thought by then it would be reverted in numpy faster, though thats no reason not to fix it here as well) |
Fixed in #1458. |
Fails every time. Using current master and either
nosetests
ormake
. Git id 3c46eba.The text was updated successfully, but these errors were encountered: