Ask Question
17 March, 16:29

What's difference between glm and glmnet?

+3
Answers (1)
  1. 17 March, 17:23
    0
    Glmnet is for elastic net regression. This penalises the size of estimated coefficients (via a mix of two ways). It tries to explain as much variance in the data through the model as possible while keeping the model coefficients small.

    Glm doesn't use a penalty term.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What's difference between glm and glmnet? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers