Bayesian Linear Classifier

Linear binary classification.
1.2K Downloads
Updated 25 Nov 2013

View License

This function uses Bayesian inference to find the optimal linear separator in a binary classification problem. A trained model can then be used to make predictions for new samples by computing a probability that that sample belongs to one of the classes.

Error bars are estimated for the regression coefficients.

This classifier will be useful in situations with noisy data or small sample sizes because a parametric linear model will be less prone to overfitting.

Cite As

James Barrett (2024). Bayesian Linear Classifier (https://www.mathworks.com/matlabcentral/fileexchange/44472-bayesian-linear-classifier), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0