automl / RoBO

RoBO: a Robust Bayesian Optimization framework
BSD 3-Clause "New" or "Revised" License
483 stars 133 forks source link

Gradient of posterior mean and std of Gaussian Process #90

Closed tobyclh closed 6 years ago

tobyclh commented 6 years ago

Hello, I am looking into the code and realize that while the acquisition function like expected improvement provides gradient information, Gaussian process itself doesn't have posterior gradient information provided. is it possible to implement it like they do over here

aaronkl commented 6 years ago

Hi, unfortunately the GP library george doesn't allow for gradient computation of the kernel. I've stared to switch to gpflow (tensor_flow branch) which provides gradient information such that it probably would be possible to implement this method.

tobyclh commented 6 years ago

Thanks for the response, that confirms my suspect. If you are trying to do it with ML package, I would also recommend Pyro from Uber, they have really solid code base, great pytorch autograd support and friendly people :beer: