mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
exact inference for N>D of Y
This commit is contained in:
parent
305e8be3b4
commit
60a071f18f
1 changed files with 3 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue