mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
Fixed an assertion, it was checking the dimensionality of the input data matrix, rather than that of the labels.
This commit is contained in:
parent
0252fae298
commit
f84f3f4308
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue