Open jeffwong-nflx opened 8 years ago
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.
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.
Is there any way to modify the code to accept weights? This would really help in making the package compatible with glmnet