Clear Filters
Clear Filters

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

4 views (last 30 days)
Is there anyway to use the lasso function in the Statistics Toolbox while forcing the intercept to be zero !!
Regards
  1 Comment
Star Strider
Star Strider on 17 Aug 2014
Edited: Star Strider on 17 Aug 2014
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)

Community Treasure Hunt

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

Start Hunting!