Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/m/o/mozsci-HEAD/test/test_glm.py   mozsci(Download)
        dist = prob_distributions.NegativeBinomialWithKstar()
 
        calculated = dist.eval(beta_k, features, Y)
 
        self.assertAlmostEqual(calculated, -5.9967772892)