af2e68f5b9d69821e2c6d6907ca8738309c0a1a0,pymc3/distributions/continuous.py,Exponential,random,#Exponential#Any#Any#Any#,580
Before Change
assert_negative_support(lam, "lam", "Exponential")
def random(self, point=None, size=None, repeat=None):
lam = draw_values([self.lam], point=point)
return generate_samples(np.random.exponential, scale=1. / lam,
dist_shape=self.shape,
size=size)
After Change
assert_negative_support(lam, "lam", "Exponential")
def random(self, point=None, size=None, repeat=None):
lam = draw_values([self.lam], point=point)[0]
return generate_samples(np.random.exponential, scale=1. / lam,
dist_shape=self.shape,
size=size)
In pattern: SUPERPATTERN
Frequency: 11
Non-data size: 3
Instances
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/continuous.py
Class Name: Exponential
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/step_methods/elliptical_slice.py
Class Name: EllipticalSlice
Method Name: astep
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Geometric
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/continuous.py
Class Name: HalfNormal
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: f833a144b4d4593789983a88a0d8a11829ab6a9d
Time: 2018-03-21
Author: chulo1787@gmail.com
File Name: pymc3/tests/test_random.py
Class Name: TestDrawValues
Method Name: test_dep_vars
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Constant
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/multivariate.py
Class Name: Dirichlet
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Bernoulli
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/continuous.py
Class Name: HalfCauchy
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: 877c297b46fb26d07f258165a840294fad6fef73
Time: 2017-06-23
Author: junpeng.lao@unifr.ch
File Name: pymc3/distributions/mixture.py
Class Name: Mixture
Method Name: random
Project Name: pymc-devs/pymc3
Commit Name: af2e68f5b9d69821e2c6d6907ca8738309c0a1a0
Time: 2017-06-17
Author: adrian.seyboldt@gmail.com
File Name: pymc3/distributions/discrete.py
Class Name: Poisson
Method Name: random