-
I'm trying to perform Expected Improvement (EI) over a single GP but in discretized niches of the objective space. The prior mean over the different areas of the objective space will be different and this will induce errors in the EI calculation. I want to learn the hyper-parameters from the whole space but then replace the prior mean for each niche independently. Is there a simple way to do this without spending time retraining? I was thinking I could train a single GP and then replace the mean (I'm using a botorch model here but it's obviously built on gpytorch)
but this doesn't work without retraining. As I will need to do this many times, is there a quick way to swap the prior mean value? I appreciate there are potential problems with this approach, but for what I want to do it is at least an interesting first step. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I managed to accomplish what I was after by the following
ie - initialising a new GP with the learned hypers but with the amended mean. |
Beta Was this translation helpful? Give feedback.
-
What exactly do you want the niche mean to be? Right now in your example you are modifying the prior on the mean function, rather than the mean itself. |
Beta Was this translation helpful? Give feedback.
What exactly do you want the niche mean to be? Right now in your example you are modifying the prior on the mean function, rather than the mean itself.