I’m trying to fit a Bayesian logistic regression model with pm.glm:
pm.glm.GLM(x=data, labels=labels, y=y_train, family=pm.glm.families.Binomial())
But this seems not to work in the newest version.
Thanks.
I’m trying to fit a Bayesian logistic regression model with pm.glm:
pm.glm.GLM(x=data, labels=labels, y=y_train, family=pm.glm.families.Binomial())
But this seems not to work in the newest version.
Thanks.
Yes it is deprecated. We suggest you try bambi which does what GLM module intended to do but much more (and much better): BAyesian Model-Building Interface (Bambi) in Python — Bambi 0.9.1 documentation