mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
f96baa4341
commit
d07e5b0657
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)
|
||||
# Check the gradients at a few random points
|
||||
checks_failed = 0.
|
||||
checks = 40
|
||||
checks = 10
|
||||
for i in range(checks):
|
||||
m.theta = theta_s[i]
|
||||
print(m.theta, m.optimizer_array, m.param_array)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue