slicing tests and ipdb delete

This commit is contained in:
Max Zwiessele 2014-03-11 10:24:30 +00:00
parent 2d8246d33f
commit 81d35686d9
2 changed files with 28 additions and 8 deletions

View file

@ -651,7 +651,7 @@ class LaplaceTests(unittest.TestCase):
m2['.*white'].constrain_fixed(1e-6)
m2['.*rbf.variance'].constrain_bounded(1e-4, 10)
m2.randomize()
if debug:
print m1
print m2
@ -663,7 +663,7 @@ class LaplaceTests(unittest.TestCase):
if debug:
print m1
print m2
m2[:] = m1[:]
#Predict for training points to get posterior mean and variance
@ -702,7 +702,7 @@ class LaplaceTests(unittest.TestCase):
m1.randomize()
import ipdb;ipdb.set_trace()
m2[:] = m1[:]
np.testing.assert_almost_equal(m1.log_likelihood(), m2.log_likelihood(), decimal=2)
#Check they are checkgradding