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

grLasso does not work with cv.grpregOverlap for a smaller dataset #3

Open
computingmachine opened this issue Jan 29, 2018 · 2 comments

Comments

@computingmachine
Copy link

Hi:
I tried to use cv.grpregOverlap with grLasso,grMCP and grSCAD for same dataset(6000 observations and 500 variables ) and group to fit the logistic regression. The three penality all work well.

But when I subset the dataset with less variables and redefine the group, grLasso just returns NA for all the coefficients. grMCP and grSCAD still works well.

In addition, I also tried the function grpregOverlap for both the original set and the subset, grLasso works for both conditions.

Why grLasso does not work when I just reduce the number of variables and using cross-validation?

Could you please check this? Thanks!

@computingmachine computingmachine changed the title grLasso does not work grLasso does not work with cv.grpregOverlap for a smaller dataset Jan 29, 2018
@YaohuiZeng
Copy link
Owner

Hi @computingmachine , sorry for the so delayed response. Will it be possible that you send me a MWE so that I can take a look? Thanks!

@CharlieCheckpt
Copy link

Hi @YaohuiZeng, I encountered the same problem recently.
It seems to be due to the fact that my dataframe used for running cv.grpsurvOverlap has column with constant value (column of zeros).
It would be great if you could fix this !

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

3 participants