From eeb2733059fa53ac18eca9ed07f9c8b8224109ef Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Tue, 8 Mar 2016 12:04:24 +0000 Subject: [PATCH] [sparse gp] commented out print statements, which are never used --- GPy/models/sparse_gp_minibatch.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/GPy/models/sparse_gp_minibatch.py b/GPy/models/sparse_gp_minibatch.py index 92a340f5..d1c252f8 100644 --- a/GPy/models/sparse_gp_minibatch.py +++ b/GPy/models/sparse_gp_minibatch.py @@ -234,16 +234,16 @@ class SparseGPMiniBatch(SparseGP): woodbury_inv = self.posterior._woodbury_inv woodbury_vector = self.posterior._woodbury_vector - if not self.stochastics: - m_f = lambda i: "Inference with missing_data: {: >7.2%}".format(float(i+1)/self.output_dim) - message = m_f(-1) - print(message, end=' ') + #if not self.stochastics: + # m_f = lambda i: "Inference with missing_data: {: >7.2%}".format(float(i+1)/self.output_dim) + # message = m_f(-1) + # print(message, end=' ') for d, ninan in self.stochastics.d: - if not self.stochastics: - print(' '*(len(message)) + '\r', end=' ') - message = m_f(d) - print(message, end=' ') + #if not self.stochastics: + # print(' '*(len(message)) + '\r', end=' ') + # message = m_f(d) + # print(message, end=' ') psi0ni = self.psi0[ninan] psi1ni = self.psi1[ninan] @@ -270,8 +270,8 @@ class SparseGPMiniBatch(SparseGP): woodbury_vector[:, d] = posterior.woodbury_vector self._log_marginal_likelihood += log_marginal_likelihood - if not self.stochastics: - print('') + #if not self.stochastics: + # print('') if self.posterior is None: self.posterior = Posterior(woodbury_inv=woodbury_inv, woodbury_vector=woodbury_vector,