Closed aw2018 closed 3 years ago
How to specify the family like R programming glmnetcv(X, y,family = "binomial")?
You can use path = glmnetcv(X, y, Binomial())
path = glmnetcv(X, y, Binomial())
There is an example in the tests here: https://github.com/JuliaStats/GLMNet.jl/blob/f1e253507dfae6538075cbd8c054ff9b5fdfbc22/test/runtests.jl#L258
How to specify the family like R programming glmnetcv(X, y,family = "binomial")?