mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 03:22:38 +02:00
More samples for predictive quantile
This commit is contained in:
parent
cbb558d751
commit
582aa4f406
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ class Likelihood(Parameterized):
|
|||
|
||||
def predictive_quantiles(self, mu, var, quantiles, Y_metadata=None):
|
||||
#compute the quantiles by sampling!!!
|
||||
N_samp = 50
|
||||
N_samp = 500
|
||||
s = np.random.randn(mu.shape[0], N_samp)*np.sqrt(var) + mu
|
||||
#ss_f = s.flatten()
|
||||
#ss_y = self.samples(ss_f, Y_metadata)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue