How to use glmnet without the intercept?

I know the glmnet() function cannot exclude the intercept by users, but does anyone know how to derive the fit without intercept from the glmnet()?

Answer

For compleness’ sake (and because I accidentally bumped in to this question): starting with version 1.9-3, fitting without intercepts is supported (intercept=FALSE).

Attribution
Source : Link , Question Author : Direstraits , Answer Author : chl

Leave a Comment