I am trying to use kriging(gaussian process) regression with a constant term and generalized exponential correlation model. I was able to do this in older version with GaussianProcess function (version 0.17.1). When I use it, I get a warning saying
deprecationWarning: Class GaussianProcess is deprecated; GaussianProcess was deprecated in version 0.18 and will be removed in 0.20. Use the GaussianProcessRegressor instead.
However, I can't find similar options with GaussianProcessRegressor. I wonder if I can do the same with GaussianProcessRegressor or scikit-learn doesn't plan to support this functionality anymore.
Yes you can.
The
GaussianProcessRegressor
class can be used as a drop-in replacement. By default, it uses aRBF
Kernel. Thus depending on your case, you can set the Kernel accordingly. See Rasmussen. Indeed, the purpose of this new class is to implement GP according to this bible.