Compressive sensing or sparse coding is to learn sparse representation of data. The simplest method is to use linear regression with L1 regularization. While this package provides Bayesian treatment for sparse coding problems. It uses variational Bayesian to train the model.
The sparse coding problem is modeled as linear regression with a sparse prior (automatic relevance determination, ARD), which is also known as Relevance Vector Machine (RVM). The advantage is that it can do model selection automatically. As a result, this is no need to mannully specify the regularization parameter (learned from data) and better sparse recovery can be obtained. Please run the demo script in the package to give it a try.
Mo Chen (2021). Variational Bayesian Relevance Vector Machine for Sparse Coding (https://www.mathworks.com/matlabcentral/fileexchange/55948-variational-bayesian-relevance-vector-machine-for-sparse-coding), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!