mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 11:02:38 +02:00
lots of fixes, including prediction being mean and variance only
This commit is contained in:
parent
365b8ae1e1
commit
cc96f5b3d5
13 changed files with 118 additions and 128 deletions
|
|
@ -667,8 +667,8 @@ class LaplaceTests(unittest.TestCase):
|
|||
m2[:] = m1[:]
|
||||
|
||||
#Predict for training points to get posterior mean and variance
|
||||
post_mean, post_var, _, _ = m1.predict(X)
|
||||
post_mean_approx, post_var_approx, _, _ = m2.predict(X)
|
||||
post_mean, post_var = m1.predict(X)
|
||||
post_mean_approx, post_var_approx, = m2.predict(X)
|
||||
|
||||
if debug:
|
||||
import pylab as pb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue