-
Notifications
You must be signed in to change notification settings - Fork 11
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
Problem when using observational data of the derivative of f(x) #2
Comments
Good afternoon,
Thanks for your question. Indeed there is a bug in the gp and dgp modules
that don't work in all numpy versions.
A quick fix that worked for me is the following:
Please change if (self.alpha == None): to if (self.alpha == None).all(): in
gapp/gp.py and gapp/dgp.py
Hope it helps!
Best regards,
Carlos
…On Thu, 17 Jun 2021 at 11:24, vaneissyajp ***@***.***> wrote:
I am using observational data of derivative of f(x) as prior. I have
followed the example code that is given from the package's documentation.
when I use it with my input data, there's bug. here is my code and my error
[image: image]
<https://user-images.githubusercontent.com/81208271/122415728-5b6e0f80-cfb2-11eb-8a9d-d6d038ffc538.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMEIX3KDND5PRYEYQSCFN3TTIASHANCNFSM463ZHCNA>
.
|
Hello Carlos, Thanks for the solution. I have changed the code as your recommendation, but I am still find the bug unsolved. I have tried to change I found this bug when I add dX, dY, and dSigma in the parameter list. Please let me know how to debug it. Thanks in advance and have a nice day. |
Hello, not-a-Gaussian-process-expert here, I randomly stumbled on this repo from the paper mentioned in the readme, since I also had trouble finding it at the original link (also, hi Carlos!). |
I am using observational data of derivative of f(x) as prior. I have followed the example code that is given from the package's documentation. when I use it with my input data, there's bug. here is my code and my error.
please let me know how to debug it.
Thanks a lot in advance.
The text was updated successfully, but these errors were encountered: