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
3a72634149
commit
b3575c3fcb
1 changed files with 4 additions and 1 deletions
|
|
@ -59,7 +59,10 @@ class RVTransformationTestCase(unittest.TestCase):
|
|||
for i in range(5):
|
||||
m.theta = theta_s[i]
|
||||
print(m.theta, m.optimizer_array, m.param_array)
|
||||
self.assertTrue(m.checkgrad(verbose=True))
|
||||
try:
|
||||
self.assertTrue(m.checkgrad())
|
||||
except:
|
||||
self.assertTrue(m.checkgrad(1))
|
||||
|
||||
def test_Logexp(self):
|
||||
self._test_trans(GPy.constraints.Logexp())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue