Skip to content

Bayesian Linear regression using MCMC and Variational Inference

Notifications You must be signed in to change notification settings

rakshita95/bayesian_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian Linear regression using MCMC and Variational Inference

We perform bayesian linear regression using the following 2 approaches:

  1. Markov chain monte carlo based inference
  2. Variational Inference

The error distribution is assumed to be guassian.

To demonstrate these methods, we use data containing 21 daily responses of stack loss, the amount of ammonia escaping, as a function of air flow, temperature, and acid concentration.

Files and their functions

  • stacks-robust-regression.pdf - Contains detailed explanation of the mathematics behind the inference methods and discusses the results.
  • LinearRegVI.py - Implementation of MCMC based Bayesian Linear Regression
  • linearReg_Normal.py - Implementation of Variational Inference based Bayesian Linear Regression

Authors

Rakshita Nagalla

Krishna Priya

Releases

No releases published

Packages

No packages published

Languages