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

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

src/m/o/mozsci-HEAD/test/test_glm.py   mozsci(Download)
        beta_k = np.array([10.0,  0,  0,  0,  0])
 
        dist = prob_distributions.NegativeBinomialWithKstar()
 
        calculated = dist.eval(beta_k, features, Y)
 
        # calculation.
        dist = prob_distributions.NegativeBinomialWithKstar()
 
        calculated = dist.eval_gradient(beta_k, features, Y)