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

Weights option? #4

Open
jeffwong-nflx opened this issue Sep 21, 2016 · 2 comments
Open

Weights option? #4

jeffwong-nflx opened this issue Sep 21, 2016 · 2 comments

Comments

@jeffwong-nflx
Copy link

Is there any way to modify the code to accept weights? This would really help in making the package compatible with glmnet

@pbreheny
Copy link
Owner

I certainly recognize the value of this, but have never personally needed weights, so it remains low on my list of priorities. I'm going to tag this as an enhancement, because I do think it would be a useful feature, although I can't say I have any specific timeline for getting it done.

@SlavichEve
Copy link

I just wanted to follow this enhancement up. Increasingly regularly, I am coming across model selection with missing data problems where one approach is to fit a lasso on a stacked dataset of B imputed datasets, with weights equal to 1/B (or more complicated weights) to adjust for the inflated sample size. Currently unable to use grpreg which is my favourite group lasso package as without the weights too many variables are selected.

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

No branches or pull requests

3 participants