Matlab toolbox for sparse regression
SparseReg toolbox is a collection of Matlab functions for sparse regressions.
The toolbox is developed by Hua Zhou and Brian Gaines.
The code is tested on Matlab R2017a, but should work on other versions of Matlab with no or little changes. Current version works on these platforms: Windows 64-bit, Linux 64-bit, and Mac (Intel 64-bit). Type computer
in Matlab’s command window to determine the platform.
Download the Matlab toolbox installation file SparseReg.mltbx. Double click the downloaded file and you should be good to go. If it does not work for some reasons, follow the below instructions for Matlab version < 2014b.
ZIP File
file using the links on the left.unzip Hua-Zhou-SparseReg-xxxxxxx.zip
mv Hua-Zhou-SparseReg-xxxxxxx SparseReg
addpath(pwd) %<-- Add the toolbox to the Matlab path
save path %<-- Save for future Matlab sessions
?
followed by the function name in Matlab.mex -setup FORTRAN
to set up Matlab compilier utility. Within Matlab, enter the /private
folder and type make
to compile the Fortran source code.If you use this toolbox in any way, please cite the software itself along with at least one publication or preprint.
Hua Zhou huazhou@ucla.edu | Brian Gaines brgaines@ncsu.edu |