From 7a8d8be2953637bd21e088a19356e72455d58833 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Thu, 16 May 2013 13:30:39 +0100 Subject: [PATCH] minor formatting changes --- GPy/likelihoods/Gaussian.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/likelihoods/Gaussian.py b/GPy/likelihoods/Gaussian.py index 2dcbb2dc..39b59464 100644 --- a/GPy/likelihoods/Gaussian.py +++ b/GPy/likelihoods/Gaussian.py @@ -14,7 +14,7 @@ class Gaussian(likelihood): def __init__(self, data, variance=1., normalize=False): self.is_heteroscedastic = False self.Nparams = 1 - self.Z = 0. # a correction factor which accounts for the approximation made + self.Z = 0. # a correction factor which accounts for the approximation made N, self.D = data.shape # normalization @@ -54,8 +54,8 @@ class Gaussian(likelihood): x = float(x) if self._variance != x: self._variance = x - self.covariance_matrix = np.eye(self.N) * self._variance self.precision = 1. / self._variance + self.covariance_matrix = np.eye(self.N) * self._variance self.V = (self.precision) * self.Y def predictive_values(self, mu, var, full_cov):