Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ And I totally missed that in @eickenberg 's comment as well. I do have to use standardize = FALSE in glmnet() to get the identical results. $\endgroup$ Commented Jul 7, 2015 at 8:30
  • $\begingroup$ @Jordi You should definitely standardized if using linear_model.Ridge for any real world analysis. $\endgroup$ Commented Jul 7, 2015 at 11:56
  • $\begingroup$ I understand that sklearn linear_model.Ridge model standardizes the features automatically. Normalization is optional. I wonder why I then need to deactivate standardization in glmnet() to get the models to produce identical results. $\endgroup$ Commented Jul 7, 2015 at 13:26