change input for output

This commit is contained in:
Ricardo 2013-06-05 15:13:27 +01:00
parent 8e7a71c63e
commit e832a627c5
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class EP(likelihood):
self.epsilon = epsilon self.epsilon = epsilon
self.eta, self.delta = power_ep self.eta, self.delta = power_ep
self.data = data self.data = data
self.N, self.input_dim = self.data.shape self.N, self.output_dim = self.data.shape
self.is_heteroscedastic = True self.is_heteroscedastic = True
self.Nparams = 0 self.Nparams = 0
self._transf_data = self.LikelihoodFunction._preprocess_values(data) self._transf_data = self.LikelihoodFunction._preprocess_values(data)

View file

@ -15,7 +15,7 @@ class Gaussian(likelihood):
self.is_heteroscedastic = False self.is_heteroscedastic = False
self.Nparams = 1 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.input_dim = data.shape N, self.output_dim = data.shape
# normalization # normalization
if normalize: if normalize: