How to perform elastic net using lassosum?
1
0
Entering edit mode
2.1 years ago
Mahan ▴ 70

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 • 777 views
ADD COMMENT
1
Entering edit mode
2.1 years ago
Mensur Dlakic ★ 28k

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.

ADD COMMENT
0
Entering edit mode

Thanks Mensur. let me take a look at these.

ADD REPLY

Login before adding your answer.

Traffic: 1631 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6