mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 04:46:23 +02:00
Merge pull request #613 from dtorrejo/Multi_sample_bug
Fixes the dimensions of the samples output
This commit is contained in:
commit
d85c9d5379
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ class GP(Model):
|
|||
if self.output_dim == 1:
|
||||
return sim_one_dim(m, v)
|
||||
else:
|
||||
fsim = np.empty((self.output_dim, self.num_data, size))
|
||||
fsim = np.empty((self.output_dim, X.shape[0], size))
|
||||
for d in range(self.output_dim):
|
||||
if full_cov and v.ndim == 3:
|
||||
fsim[d] = sim_one_dim(m[:, d], v[:, :, d])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue