/Lasso

This is implementation of Coordinate Descent for Lasso.

Primary LanguagePythonMIT LicenseMIT

Lasso

About

This is implementation of a coordinate descent for Lasso.

Requirements

  • NumPy
  • Scikit-Learn
  • Pandas (To run a sample file)

Usage

git clone https://github.com/hogefugabar/Lasso
cd Lasso
from lasso import Lasso
model = Lasso(alpha=1.0, max_iter=1000).fit(X, y)

To run a sample program for Boston dataset,

python sample.py