Skip to content
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

Open
vaneissyajp opened this issue Jun 17, 2021 · 3 comments
Open

Comments

@vaneissyajp
Copy link

vaneissyajp commented Jun 17, 2021

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.
image

@carlosandrepaes
Copy link
Owner

carlosandrepaes commented Jun 17, 2021 via email

@vaneissyajp
Copy link
Author

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
if (dX == None or dY == None or dSigma == None):
to
if (dX == None or dY == None or dSigma == None).any():
as the recommendation from jupyter but still get the error like this
AttributeError: 'bool' object has no attribute 'any'

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.

@JCGoran
Copy link

JCGoran commented Mar 24, 2022

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 think I fixed most of the problems mentioned here in my fork of this repo (based on igomezv/GaPP since it looked most recent), I'd be happy to open a PR to merge the changes if anyone would find it useful.

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

No branches or pull requests

3 participants