we need to update all the tests: here discontinuous kernel testsee messing, mrd and bgplvm model tests not needed anymore

This commit is contained in:
Max Zwiessele 2014-03-13 12:28:56 +00:00
parent 1102387a76
commit 3d6a69e5f0
6 changed files with 74 additions and 152 deletions

View file

@ -541,7 +541,8 @@ class TestNoiseModels(object):
#import ipdb; ipdb.set_trace()
#NOTE this test appears to be stochastic for some likelihoods (student t?)
# appears to all be working in test mode right now...
if isinstance(model, GPy.likelihoods.StudentT):
import ipdb;ipdb.set_trace()
assert m.checkgrad(step=step)
###########
@ -700,7 +701,6 @@ class LaplaceTests(unittest.TestCase):
np.testing.assert_almost_equal(m1.log_likelihood(), m2.log_likelihood(), decimal=2)
#Check marginals are the same with random
m1.randomize()
import ipdb;ipdb.set_trace()
m2[:] = m1[:]
np.testing.assert_almost_equal(m1.log_likelihood(), m2.log_likelihood(), decimal=2)