Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request- Elastic net regularization #2

Open
bratao opened this issue Oct 21, 2018 · 2 comments
Open

Feature Request- Elastic net regularization #2

bratao opened this issue Oct 21, 2018 · 2 comments

Comments

@bratao
Copy link

bratao commented Oct 21, 2018

Hi,

Thank you for this great project. Do you think about implementing Elastic net regularization ( L1 + L2)?

For some projects that requires feature selection this is an awesome regularization.

@timvieira
Copy link
Owner

timvieira commented Oct 22, 2018

You're welcome!

That would be a nice feature. I'd accept a pull request :-)

I will note, however, that I've had success [1] using strategy called "debiasing" in the structure learning world:
Step 1: Train with just L1 to identify what features should be nonzero (i.e., L1 for feature selection).
Step 2: Train with just L2 with the feature selected by step 1.

Have a look at the discussion in section "Sparseptron and Debiasing" of Martins et. al 2011 [2]. I am also a very big fan of the budget-driven shrinkage trick [2].

[1] http://timvieira.github.io/doc/2016-emnlp-vocrf.pdf
[2] https://homes.cs.washington.edu/~nasmith/papers/martins+smith+aguiar+figueiredo.emnlp11b.pdf

@bratao
Copy link
Author

bratao commented Nov 9, 2018

What a great paper is Martins et. al 2011 [2]. Thank you for the read.

I'm anxious to try some of those techniques in a problem I'm working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants