mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
Fixed Y_metadata bug
This commit is contained in:
parent
40a0d6d358
commit
bfa18ef662
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,10 @@ class GP(Model):
|
|||
assert Y.shape[0] == self.num_data
|
||||
_, self.output_dim = self.Y.shape
|
||||
|
||||
self.Y_metadata = Y_metadata or {}
|
||||
if Y_metadata is None:
|
||||
Y_metadata = {}
|
||||
else:
|
||||
self.Y_metadata = Y_metadata
|
||||
|
||||
assert isinstance(kernel, kern.Kern)
|
||||
#assert self.input_dim == kernel.input_dim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue