mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 21:12:38 +02:00
Changes to allow multiple output plotting
This commit is contained in:
parent
7e1e8de5e4
commit
1c2a4c5c64
6 changed files with 109 additions and 27 deletions
|
|
@ -190,7 +190,7 @@ class GP(GPBase):
|
|||
Internal helper function for making predictions, does not account
|
||||
for normalization or likelihood
|
||||
"""
|
||||
assert isinstance(self.likelihood,EP_Mixed_Noise)
|
||||
assert hasattr(self,'multioutput')
|
||||
index = np.ones_like(_Xnew)*output
|
||||
_Xnew = np.hstack((_Xnew,index))
|
||||
|
||||
|
|
@ -208,5 +208,3 @@ class GP(GPBase):
|
|||
if stop:
|
||||
debug_this # @UndefinedVariable
|
||||
return mu, var
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue