Is there any way to run lasso without an intercept term ?

Is there anyway to use the lasso function in the Statistics Toolbox while forcing the intercept to be zero !!
Regards

1 Comment

From the documentation (that you’ve obviously also read), the intercept is built into the model. It doesn’t seem possible to substitute other models. I suggest that you submit a Service Request to MathWorks to see if there’s a work-around.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 17 Aug 2014

Edited:

on 17 Aug 2014

Community Treasure Hunt

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

Start Hunting!