Ask Question
30 June, 07:30

What's difference between glm and glmnet?

+5
Answers (1)
  1. 30 June, 08:18
    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?
Find an answer to your question ✅ “What's difference between glm and glmnet? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers