mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 19:42:39 +02:00
proper propagation of variance through the Gaussian likelihood
This commit is contained in:
parent
049e60f16b
commit
9b69b04933
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ class Gaussian(likelihood):
|
||||||
"""
|
"""
|
||||||
mean = mu*self._std + self._mean
|
mean = mu*self._std + self._mean
|
||||||
true_var = (var + self._variance)*self._std**2
|
true_var = (var + self._variance)*self._std**2
|
||||||
_5pc = mean + - 2.*np.sqrt(var)
|
_5pc = mean + - 2.*np.sqrt(true_var)
|
||||||
_95pc = mean + 2.*np.sqrt(var)
|
_95pc = mean + 2.*np.sqrt(true_var)
|
||||||
return mean, _5pc, _95pc
|
return mean, _5pc, _95pc
|
||||||
|
|
||||||
def fit_full(self):
|
def fit_full(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue