

def _create_kernel(self, V):
    self._kerns = [RBF(1, ARD=True, active_dims=[i]) for i in range(self.n_dims)]
    self._kernf = Fixed(self.n_dims, tdot(V))
    self._kernb = Bias(self.n_dims)
    self.kernel = ((np.sum(self._kerns) + self._kernf) + self._kernb)

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