/bayes_logistic

Bayesian Logistic Regression using Laplace approximations to the posterior.

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Bayes Logistic Regression

+------+-----------+ asdasdasd | +======+===========+

image

image

image

This package will fit Bayesian logistic regression models with arbitrary prior means and covariance matrices, although we work with the inverse covariance matrix which is the log-likelihood Hessian.

Either the full Hessian or a diagonal approximation may be used.

Individual data points may be weighted in an arbitrary manner.

Finally, p-values on each fitted parameter may be calculated and this can be used for variable selection of sparse models.

Demo

Example Notebook