exact inference for N>D of Y

This commit is contained in:
Max Zwiessele 2014-03-28 12:11:14 +00:00
parent 305e8be3b4
commit 60a071f18f

View file

@ -29,10 +29,12 @@ class ExactGaussianInference(object):
"""
N, D = Y.shape
if (N>D):
print "WARNING: D>N we still need caching of L, such that L*L^T = Y, although fine here"
return Y
else:
#if Y in self.cache, return self.Cache[Y], else store Y in cache and return L.
raise NotImplementedError, 'TODO' #TODO
print "WARNING: N>D of Y, we need caching of L, such that L*L^T = Y, returning Y still!"
return Y
def inference(self, kern, X, likelihood, Y, Y_metadata=None):
"""