-
Notifications
You must be signed in to change notification settings - Fork 32
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
Specify Multiple Groups for One Feature #10
Comments
There is currently no way of specifying that. However, it is on my wishlist for the future. The reason this is not supported yet is that it is not immediately clear how it should be done, and all options are mathematically much more complex than the non-overlapping case.
I am looking into it, but it is a low-priority issue unless I get many more requests for it. If your dataset is small, then you can manually implement the second option by creating multiple copies of rows that correspond to covariates in more than one group. |
I have a pretty big dataset, one of my ideas was to parallelize/scatter the l2 norms of the groups, but indexing/copying parts of the parameter matrix can be costly as you had mentioned |
The main reason for why it will be difficult to implement the latent group lasso is that there is no longer an easy closed-form solution to the Lipschitz bound of the loss gradient. However, if I at some point get the time to implement Poisson regression, then I first need to implement a line-search based FISTA method. Once this is done, then latent group lasso seems relatively straightforward. Unfortunately, I do not have much time to develop this project before the summer and a line-search will require much rewriting of the code so I will not add latent group lasso before July the earliest. Edit: I am now using a line search for the step size, so this could in theory be implemented. Unfortunately I don't have time for that now, but welcome a pull request for it. |
Nice package! Just following up from another thread, in your package is it possible to specify multiple groups for one feature (eg. overlapping groups)? Thanks!
The text was updated successfully, but these errors were encountered: