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

how to simultaneously optimize GP and external function #19

Open
pilchat opened this issue Mar 3, 2023 · 0 comments
Open

how to simultaneously optimize GP and external function #19

pilchat opened this issue Mar 3, 2023 · 0 comments

Comments

@pilchat
Copy link

pilchat commented Mar 3, 2023

Hi,

I am quite new to GPy, so please forgive my newbyness. I have been checking the tutorials but I could find only little help on what I say below.

I would like to fit a time series with a mean_function that I define. Is it possible to do it with the .optimize() method (or any built-in MC sampler)?

If not, I can define a function that first compute the mean_function and then computes the GP on the corresponding residuals. The problem with this approach is that it takes quite a long time for the GP model to recompute the likelihood at every update of the parameters (I have the feeling that each update is slower then the steps of .optimize(), but I haven't verified it yet).

Do you have any suggestion?

Thanks a lot

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

1 participant