01a70006849839cc7381fcab5a21e4aff5e2b1af,pymc3/tests/test_distributions_random.py,Parameters1dShape,test_zero_inflated_poisson,#Parameters1dShape#,404
Before Change
def test_zero_inflated_poisson(self):
// To do: implement ZIP random
raise SkipTest(
"ZeroInflatedPoisson random sampling not yet implemented.")
self.check(ZeroInflatedPoisson, {}, SkipTest)
def test_discrete_uniform(self):
self.check(DiscreteUniform,
After Change
self.check(ConstantDist, c=(self.ones * 3).astype(int))
def test_zero_inflated_poisson(self):
self.check(ZeroInflatedPoisson, theta=self.ones, psi=self.ones/2)
def test_discrete_uniform(self):
self.check(DiscreteUniform,
lower=self.zeros.astype(int),
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: pymc-devs/pymc3
Commit Name: 01a70006849839cc7381fcab5a21e4aff5e2b1af
Time: 2016-08-31
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/tests/test_distributions_random.py
Class Name: Parameters1dShape
Method Name: test_zero_inflated_poisson
Project Name: pymc-devs/pymc3
Commit Name: 01a70006849839cc7381fcab5a21e4aff5e2b1af
Time: 2016-08-31
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/tests/test_distributions_random.py
Class Name: BroadcastShape
Method Name: test_zero_inflated_poisson
Project Name: pymc-devs/pymc3
Commit Name: 01a70006849839cc7381fcab5a21e4aff5e2b1af
Time: 2016-08-31
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarShape
Method Name: test_zero_inflated_poisson
Project Name: pymc-devs/pymc3
Commit Name: 01a70006849839cc7381fcab5a21e4aff5e2b1af
Time: 2016-08-31
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc3/tests/test_distributions_random.py
Class Name: ScalarParameterShape
Method Name: test_zero_inflated_poisson