This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to perform elastic net using lassosum?

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:

https://rdrr.io/github/tshmak/lassosum/man/elnet.html

lasso net elastic lassosum

1 answer

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.

Thanks Mensur. let me take a look at these.

Log in to answer this question.