mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
predictive_values implemented in EP
This commit is contained in:
parent
4211cad89d
commit
2b40ee6f7e
4 changed files with 26 additions and 6 deletions
|
|
@ -164,9 +164,10 @@ class GP(model):
|
|||
"""
|
||||
#normalise X values
|
||||
Xnew = (Xnew.copy() - self._Xmean) / self._Xstd
|
||||
mu, var, phi = self._raw_predict(Xnew, slices, full_cov=full_cov)
|
||||
mu, var = self._raw_predict(Xnew, slices, full_cov=full_cov)
|
||||
|
||||
#now push through likelihood TODO
|
||||
mean, _5pc, _95pc = self.likelihood.predictive_values(mu, var)
|
||||
|
||||
return mean, _5pc, _95pc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue