mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
f111d60ffc
commit
982e6d2c90
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class RVTransformationTestCase(unittest.TestCase):
|
||||||
self.assertTrue(np.linalg.norm(pdf_phi - kde(phi)) / np.linalg.norm(kde(phi)) <= 1e-1)
|
self.assertTrue(np.linalg.norm(pdf_phi - kde(phi)) / np.linalg.norm(kde(phi)) <= 1e-1)
|
||||||
# Check the gradients at a few random points
|
# Check the gradients at a few random points
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
m.theta = theta_s[i]
|
m.theta = 1./(5+i)
|
||||||
self.assertTrue(m.checkgrad(verbose=True))
|
self.assertTrue(m.checkgrad(verbose=True))
|
||||||
|
|
||||||
def test_Logexp(self):
|
def test_Logexp(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue