File Exchange

image thumbnail

Variational Bayesian Linear Regression

version (2.45 KB) by Mo Chen
Variational Bayesian Linear Regression


Updated 13 Mar 2016

View License

This function fist a probabilistic linear regression model with variational Bayesian inference. For the ordinary regularized linear regression, user has to manually assign the regularization parameter. However, Variational Bayesian method can do model selection automatically, that is it can automatically determine proper parameter from the data.
This package is now a part of the PRML Toolbox (

Cite As

Mo Chen (2020). Variational Bayesian Linear Regression (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


Hi, thank you for your code , it's very useful. But I have some doubt , could you give me a favor? I want to know how to get the lower bound (energy(iter) = KLalpha+KLbeta+KLw) in code 'linRegVb.m'.

LiKang Luan

Thanks a lot for the help, very useful code!!!

Wimy Yang

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux