Can you please suggest how to perform elastic net using lassosum package?
I see following reference, but I'm not clear how to run this:
Can you please suggest how to perform elastic net using lassosum package?
I see following reference, but I'm not clear how to run this:
Not an R
expert, but that page you linked to has an atrocious explanation. Two variables, lambda1 and lambda2, and for each the only explanation is lambda
? Generally speaking, the elastic net needs two major parameters, which are a regularization factor (in python it is called alpha) and a ratio of L1/L2 penalties (determines the mixture of lasso and ridge regressions).
I will point you to the original implementation by Hastie (who I think first described it):
https://cran.r-project.org/web/packages/elasticnet/
There is a little tutorial here. If you are open to python, I suggest you try here.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks Mensur. let me take a look at these.