From c9709cf4dac56146246b9f703537df86b6c7a4cf Mon Sep 17 00:00:00 2001 From: Nicolo Fusi Date: Mon, 25 Mar 2013 18:02:42 +0000 Subject: [PATCH] fixed small bug in SGD --- GPy/inference/SGD.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/inference/SGD.py b/GPy/inference/SGD.py index dd402d5e..4c7f6be2 100644 --- a/GPy/inference/SGD.py +++ b/GPy/inference/SGD.py @@ -247,7 +247,7 @@ class opt_SGD(Optimizer): if self.messages == 2: - noise = np.exp(self.x_opt)[-1] + noise = self.model.likelihood._variance status = "evaluating {feature: 5d}/{tot: 5d} \t f: {f: 2.3f} \t non-missing: {nm: 4d}\t noise: {noise: 2.4f}\r".format(feature = count, tot = len(features), f = f, nm = Nj, noise = noise) sys.stdout.write(status) sys.stdout.flush()