-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
I am encountering an error when trying to run a binomial logistic ridge regression. The error does not occur when using the default least squares regression.
import GLMNet
cv_guass = GLMNet.glmnetcv(X, y, GLMNet.Normal(), alpha=0.0)
cv_binom = GLMNet.glmnetcv(X, y, GLMNet.Binomial(), alpha=0.0)
The final line of code produces the following error:
no method glmnet!(Array{Any,1},Array{Float64,2},Array{Float64,1},Binomial)
at In[100]:3
in glmnet at /home/dhimmels/.julia/v0.2/GLMNet/src/GLMNet.jl:346
in glmnetcv at /home/dhimmels/.julia/v0.2/GLMNet/src/GLMNet.jl:382
I am new to julia, so perhaps I'm missing something. Thanks.
Metadata
Metadata
Assignees
Labels
No labels