

def _fit_model(self, X, Y):
    model = GPRegression(X, Y, self.kernel)
    model.optimize(messages=False, max_f_eval=self.max_feval)
    self.model = model

dataset/ETHPy150Open msmbuilder/osprey/osprey/strategies.py GP._fit_model/original