mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 08:42:39 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
96b5da161d
commit
9d1cb5a717
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ class RVTransformationTestCase(unittest.TestCase):
|
|||
prior = GPy.priors.LogGaussian(.5, 0.1)
|
||||
m.theta.set_prior(prior)
|
||||
m.theta.constrain(trans)
|
||||
self.assertTrue(m.checkgrad())
|
||||
m.randomize()
|
||||
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