From 8d07df65038a82ec24a9ab08f8e0cd5fa89b329f Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 5 Jun 2013 15:13:00 +0100 Subject: [PATCH] change input for output --- GPy/core/gp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/core/gp.py b/GPy/core/gp.py index 19bd84ed..7b6f46b0 100644 --- a/GPy/core/gp.py +++ b/GPy/core/gp.py @@ -89,7 +89,7 @@ class GP(GPBase): model for a new variable Y* = v_tilde/tau_tilde, with a covariance matrix K* = K + diag(1./tau_tilde) plus a normalization term. """ - return -0.5 * self.input_dim * self.K_logdet + self._model_fit_term() + self.likelihood.Z + return -0.5 * self.output_dim * self.K_logdet + self._model_fit_term() + self.likelihood.Z def _log_likelihood_gradients(self):