fixed import error

This commit is contained in:
Nicolo Fusi 2013-02-15 13:39:01 +00:00
parent 5c7d37427c
commit cc158d64a9
2 changed files with 6 additions and 2 deletions

View file

@ -19,9 +19,13 @@ class Gaussian(likelihood):
self._std = np.ones((1,D))
self.Y = self.data
#TODO: make this work efficiently (only compute YYT if D>>N)
# if self.D > self.N:
self.YYT = np.dot(self.Y,self.Y.T)
self.trYYT = np.trace(self.YYT)
# else:
# self.YYT = None
# self.trYYT = None
self._set_params(np.asarray(variance))