sta-363-s20 / community

Discussion, Q&A, everything you want to say, formatted nicely
1 stars 0 forks source link

Lab 4 Elastic Model #66

Closed donaldwu0214 closed 4 years ago

donaldwu0214 commented 4 years ago

Hello Dr. McGowan. For the lab4 Exercise 5, I have found out that the elastic model with the smallest RMSE is the same model as the lasso model. So can the mixture of the elastic model be 1, which indicates that the elastic model to be exactly same as the lasso model?

image

LucyMcGowan commented 4 years ago

Sort of! In the case of exactly 0 (ridge) or exactly 1 (lasso) I would probably not call it "elastic net" but rather ridge or lasso. But for the purposes of this question, since you tried mixtures between 0 and 1, you were performing elastic net for the values in between (so this looks good to me)

donaldwu0214 commented 4 years ago

In another word, I can pick mixture = 1 as the elastic model for this question, right?

LucyMcGowan commented 4 years ago

yep, that is fine :+1:

donaldwu0214 commented 4 years ago

Thank you!