mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-05 01:32:40 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
341f45b74c
commit
45b54e7bd1
1 changed files with 3 additions and 2 deletions
|
|
@ -56,9 +56,10 @@ class RVTransformationTestCase(unittest.TestCase):
|
|||
#plt.show(block=True)
|
||||
# END OF PLOT
|
||||
# Check the gradients at a few random points
|
||||
#np.random.seed(500)
|
||||
np.random.seed(5)
|
||||
for i in range(5):
|
||||
m.theta = theta_s[i]
|
||||
#m.theta = theta_s[i]
|
||||
m.randomize()
|
||||
self.assertTrue(m.checkgrad(verbose=True))
|
||||
|
||||
def test_Logexp(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue