From b1d7fc4745bf10b752df6f7dc2f9ee3bfa1e5927 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Tue, 1 Oct 2013 08:57:00 +0100 Subject: [PATCH] more samples for higher sampling accuracy --- GPy/testing/psi_stat_expectation_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/testing/psi_stat_expectation_tests.py b/GPy/testing/psi_stat_expectation_tests.py index 30ca14d6..bcdbd2af 100644 --- a/GPy/testing/psi_stat_expectation_tests.py +++ b/GPy/testing/psi_stat_expectation_tests.py @@ -105,7 +105,7 @@ class Test(unittest.TestCase): def test_psi2(self): for kern in self.kerns: - Nsamples = self.Nsamples/300. + Nsamples = self.Nsamples/10. psi2 = kern.psi2(self.Z, self.q_x_mean, self.q_x_variance) K_ = np.zeros((self.num_inducing, self.num_inducing)) diffs = [] @@ -135,7 +135,7 @@ class Test(unittest.TestCase): if __name__ == "__main__": sys.argv = ['', #'Test.test_psi0', - 'Test.test_psi1', + #'Test.test_psi1', 'Test.test_psi2', ] unittest.main()