Home › Forums › Analytics / Predictive Analytics › Regularization in R › Reply To: Regularization in R
December 9, 2020 at 5:46 pm
#1329
PS – you always want to standardize your covariates before using these methods. I recall there is an option to specify whether or not you have done so manually in your data.frame prior to passing to glmnet(), and if you say you have not then it will do so for you, but I don’t recall what it is defaulted to. I usually do this myself manually using the caret package for this and other preprocessing work.