-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Global seterr statements in some tests [was: Gaussian process raises many underflow warnings] #5664
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
@jmetzen or maybe @MechCoder or @btabibian? If they are expected, we should catch them, if they are not, we should fix them. |
I'll have a look. |
hm I can't reproduce this issue when just running the gp tests... maybe it's cause by some seterr somewhere in the test? |
I get something like
but when I run the tests by themselves, I don't get that. |
Hm there are three global sklearn/mixture/tests/test_dpgmm.py:np.seterr(all='warn') these are outside of the tests. I guess there should be fixtures for them so that we undo them? What was the motivation for this? Catching numerical precision errors? We could go one step further and set it even to |
Why aren't we just using |
I'm not sure if the problems with GPs stand, but I'm going to rewrite this issue as it's confusing for newbies. |
running the tests the new GP raises a whole lot of underflow warnings.
Not sure what to think about that.
ping @jmetzen
The text was updated successfully, but these errors were encountered: