8000 fix sign error in gp + unit test #3180 by filthysocks · Pull Request #3181 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div itemscope itemtype="http://schema.org/SoftwareSourceCode" class="">

fix sign error in gp + unit test #3180 #3181

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

Closed
wants to merge 1 commit into from

Conversation

filthysocks
Copy link

fix for issue #3180

y_pred, MSE = gp.predict(x, eval_MSE=True)
y = f(x).ravel()

assert_true((np.abs(y_pred - y) <= (1.96 * MSE) ).all()) #check that true value is within 95% conf. int.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure your file is pep8 compliant

@agramfort
Copy link
Member

oh boy... any GP users/maintainers can have a look?

@filthysocks
Copy link
Author

I don't think there are a lot of GP users ... because its not working well! see ticket #3163 as well

@filthysocks
Copy link
Author

The bug is fixed now. It was a duplicate of #2632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0