0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1,pymc3/tests/test_distributions_random.py,ScalarParameterSamples,test_student_t,#ScalarParameterSamples#,592
Before Change
)
def test_student_t(self):
pymc3_random(
StudentT, {"nu": Rplus, "mu": R, "lam": Rplus},
ref_rand=lambda size, nu=None, mu=None, lam=None: \
st.t.rvs(nu, mu, lam**-.5, size=size)
)
def test_cauchy(self):
pymc3_random(
Cauchy, {"alpha": R, "beta": Rplusbig},
After Change
def test_student_t(self):
def ref_rand(size, nu, mu, lam):
return st.t.rvs(nu, mu, lam**-.5, size=size)
pymc3_random(StudentT, {"nu": Rplus, "mu": R, "lam": Rplus}, ref_rand=ref_rand)
def test_cauchy(self):
def ref_rand(size, alpha, beta):
return st.cauchy.rvs(alpha, beta, size=size)
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 3
Instances
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_student_t
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_ex_gaussian
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_half_normal
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_uniform
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_lognormal
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_gamma
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_half_cauchy
Project Name: pymc-devs/pymc3
Commit Name: 0ba4a537ad1b7efecd7a11d15a74c8afc60da7d1
Time: 2016-09-05
Author: colin@kensho.com
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterSamples
Method Name: test_exponential