mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-05 09:42:39 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
4da8a4686b
commit
79b119befb
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class RVTransformationTestCase(unittest.TestCase):
|
||||||
for i in range(checks):
|
for i in range(checks):
|
||||||
m.theta = theta_s[i]
|
m.theta = theta_s[i]
|
||||||
print(m.theta, m.optimizer_array, m.param_array)
|
print(m.theta, m.optimizer_array, m.param_array)
|
||||||
if not m.checkgrad():
|
if not m.checkgrad(1):
|
||||||
checks_failes += 1.
|
checks_failes += 1.
|
||||||
self.assertTrue(checks_failed/checks > .5)
|
self.assertTrue(checks_failed/checks > .5)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue