mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 10:32:39 +02:00
Update rv_transformation_tests.py
This commit is contained in:
parent
4a300a7c9d
commit
38295913de
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class RVTransformationTestCase(unittest.TestCase):
|
||||||
m.theta.set_prior(prior)
|
m.theta.set_prior(prior)
|
||||||
m.theta.unconstrain()
|
m.theta.unconstrain()
|
||||||
m.theta.constrain(trans)
|
m.theta.constrain(trans)
|
||||||
theta_s = prior.rvs(1e5)
|
theta_s = prior.rvs(1e6)
|
||||||
if kde:
|
if kde:
|
||||||
# The PDF of the transformed variables
|
# The PDF of the transformed variables
|
||||||
p_phi = lambda phi : np.exp(-m._objective_grads(phi)[0])
|
p_phi = lambda phi : np.exp(-m._objective_grads(phi)[0])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue