mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
correct predictions in Gaussian
This commit is contained in:
parent
3a2e15c508
commit
22dafabca2
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class Gaussian(Likelihood):
|
||||||
return self.variance + sigma**2
|
return self.variance + sigma**2
|
||||||
|
|
||||||
def predictive_quantiles(self, mu, var, quantiles, Y_metadata=None):
|
def predictive_quantiles(self, mu, var, quantiles, Y_metadata=None):
|
||||||
return [stats.norm.ppf(q/100.)*np.sqrt(var) + mu for q in quantiles]
|
return [stats.norm.ppf(q/100.)*np.sqrt(var + self.variance) + mu for q in quantiles]
|
||||||
|
|
||||||
def pdf_link(self, link_f, y, Y_metadata=None):
|
def pdf_link(self, link_f, y, Y_metadata=None):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue