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

glmnet methods #3

Open
fabian-s opened this issue Jan 25, 2018 · 1 comment
Open

glmnet methods #3

fabian-s opened this issue Jan 25, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fabian-s
Copy link
Owner

fabian-s commented Jan 25, 2018

see stubs in refit.R, get_selected.R
(you may need to modify the travis.yml file as well)

@fabian-s fabian-s added enhancement New feature or request help wanted Extra attention is needed labels Jan 25, 2018
@jonas-hag
Copy link

glmnet() sometimes truncates the number of different lambda values "because of instabilities in the inverse link functions near a saturated fit" (see help). This leads to matrices of different rownumbers when repeatedly called with different data from resample(). My workaround now is to add rows with TRUE at the end in get_selected() so that the number of rows equals the original argument nlambda in glmnet(). However, this can lead to a lot of rows that are all TRUE. Is this ok? Otherwise, I think I also have to modify get_stability_paths(). Then I could expand all other matrices to the number of rows that the matrix with the maximal number of rows has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants