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

how to specify family #34

Closed
aw2018 opened this issue Mar 4, 2019 · 1 comment
Closed

how to specify family #34

aw2018 opened this issue Mar 4, 2019 · 1 comment

Comments

@aw2018
Copy link

aw2018 commented Mar 4, 2019

How to specify the family like R programming glmnetcv(X, y,family = "binomial")?

@JackDunnNZ
Copy link
Collaborator

You can use path = glmnetcv(X, y, Binomial())

There is an example in the tests here:

cv = glmnetcv(X, yl, Binomial(); folds=[1,1,1,1,2,2,2,3,3,3])

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

2 participants