Bug fixed

This commit is contained in:
Ricardo 2014-05-16 15:41:02 +01:00
parent 3d76664af0
commit ba77b20a06
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ class EP(LatentFunctionInference):
pass
def inference(self, kern, X, likelihood, Y, Y_metadata=None, Z=None):
num_data, output_dim = X.shape
num_data, output_dim = Y.shape
assert output_dim ==1, "ep in 1D only (for now!)"
K = kern.K(X)

View file

@ -56,7 +56,7 @@ class EPDTC(LatentFunctionInference):
self._ep_approximation = None
def inference(self, kern, X, Z, likelihood, Y, Y_metadata=None):
num_data, output_dim = X.shape
num_data, output_dim = Y.shape
assert output_dim ==1, "ep in 1D only (for now!)"
Kmm = kern.K(Z)