Exemple #1
0
 def test_sample_shape(self):
     utils.test_sample_shape_1parameter_univariate(self, Poisson, np.ones)
Exemple #2
0
    def test_sample_shape(self):
        def _distribution(param):
            return Binomial(param, 10)

        utils.test_sample_shape_1parameter_univariate(self, _distribution,
                                                      np.ones)
Exemple #3
0
 def test_sample_shape(self):
     utils.test_sample_shape_1parameter_univariate(self, Bernoulli,
                                                   np.zeros)