[sparse gp] commented out print statements, which are never used

This commit is contained in:
mzwiessele 2016-03-08 12:04:24 +00:00
parent 67043e83d7
commit eeb2733059

View file

@ -234,16 +234,16 @@ class SparseGPMiniBatch(SparseGP):
woodbury_inv = self.posterior._woodbury_inv woodbury_inv = self.posterior._woodbury_inv
woodbury_vector = self.posterior._woodbury_vector woodbury_vector = self.posterior._woodbury_vector
if not self.stochastics: #if not self.stochastics:
m_f = lambda i: "Inference with missing_data: {: >7.2%}".format(float(i+1)/self.output_dim) # m_f = lambda i: "Inference with missing_data: {: >7.2%}".format(float(i+1)/self.output_dim)
message = m_f(-1) # message = m_f(-1)
print(message, end=' ') # print(message, end=' ')
for d, ninan in self.stochastics.d: for d, ninan in self.stochastics.d:
if not self.stochastics: #if not self.stochastics:
print(' '*(len(message)) + '\r', end=' ') # print(' '*(len(message)) + '\r', end=' ')
message = m_f(d) # message = m_f(d)
print(message, end=' ') # print(message, end=' ')
psi0ni = self.psi0[ninan] psi0ni = self.psi0[ninan]
psi1ni = self.psi1[ninan] psi1ni = self.psi1[ninan]
@ -270,8 +270,8 @@ class SparseGPMiniBatch(SparseGP):
woodbury_vector[:, d] = posterior.woodbury_vector woodbury_vector[:, d] = posterior.woodbury_vector
self._log_marginal_likelihood += log_marginal_likelihood self._log_marginal_likelihood += log_marginal_likelihood
if not self.stochastics: #if not self.stochastics:
print('') # print('')
if self.posterior is None: if self.posterior is None:
self.posterior = Posterior(woodbury_inv=woodbury_inv, woodbury_vector=woodbury_vector, self.posterior = Posterior(woodbury_inv=woodbury_inv, woodbury_vector=woodbury_vector,