Skip to content
/ lasso Public

Sample and simple Lasso regression for sparse modeling.

Notifications You must be signed in to change notification settings

stmsy/lasso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure

modules

Requirements

Python

All the Python scripts are supported by Python 3.5.3 or later.

(Option) It is recommended that you have a virtual environment with pyenv and pyenv-virtualenv.

Libraries and Packages

numpy 1.13.3, scikit-learn 0.19.1 and PyYAML 3.12 are required. Use the pip command and install the packages as follows:

pip install -r requirements.txt

Sample Main Script

Run

python run.py params.yaml

with the config file in YAML format located under the config directory.

Note

As of 5/12/2018, only the Boston house-prices dataset is available.

Reference

Hastie, Trevor, et al. Statistical Learning with Sparsity: the Lasso and Generalizations. CRC Press, Taylor & Francis Group, 2015.

About

Sample and simple Lasso regression for sparse modeling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages