Merge branch 'devel' of github.com:SheffieldML/GPy into devel

This commit is contained in:
Nicolo Fusi 2013-05-16 17:01:07 +01:00
commit b29e4eb690

View file

@ -51,6 +51,7 @@ class Gaussian(likelihood):
return ["noise_variance"]
def _set_params(self, x):
x = float(x)
if self._variance != x:
self.precision = 1. / x
self.covariance_matrix = np.eye(self.N) * x