Changes to allow multiple output plotting

This commit is contained in:
Ricardo 2013-07-31 19:00:54 +01:00
parent 7e1e8de5e4
commit 1c2a4c5c64
6 changed files with 109 additions and 27 deletions

View file

@ -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