From 60a071f18faac745a8ea21228bd0d9b5c3afe5e0 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Fri, 28 Mar 2014 12:11:14 +0000 Subject: [PATCH] exact inference for N>D of Y --- .../latent_function_inference/exact_gaussian_inference.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GPy/inference/latent_function_inference/exact_gaussian_inference.py b/GPy/inference/latent_function_inference/exact_gaussian_inference.py index bd3fcefb..554d3d1a 100644 --- a/GPy/inference/latent_function_inference/exact_gaussian_inference.py +++ b/GPy/inference/latent_function_inference/exact_gaussian_inference.py @@ -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): """