py-glm
py-glm copied to clipboard
Generalized Linear Models in Sklearn Style
Isn't there a mistake in the deviance of the Bernoulli distribution? The deviance should be ... log(y_i/mu_i) ... log((1-y_i) / (1 - mu_i))
Hi, I run many models using your library and in one run I got back "nan" coefficients. I solved that by checking in the glm.py file if the returned values...
Initialized the negative binomial distribution analysis Added the tests for negative binomial distribution analysis
No really opinion on how you do it, but it seems an interesting challenge.
I wouldn't normally feign the authority to make requests of you, but you asked me to do this, so here we go. Please consider adding the negative binomial family. Thank...
If/when I have time I'll fork the repo and add it.