Open zhangjb35 opened 1 year ago
When I try to set the variable family as Binomial, glmnet just give me an error:
ERROR: MethodError: no method matching glmnet!(::Matrix{Float64}, ::Vector{Float64}, ::Binomial{Float64}; alpha=1, standardize=false, intercept=true, lambda=[0.0005]) Closest candidates are: glmnet!(::Matrix{Float64}, ::Matrix{Float64}, ::Binomial; offsets, weights, alpha, penalty_factor, constraints, dfmax, pmax, nlambda, lambda_min_ratio, lambda, tol, standardize, intercept, maxit, algorithm) at ~/.julia/packages/GLMNet/Bzpup/src/GLMNet.jl:337
I use the version 1.8.
This is my code modelFit=glmnet(X, Y, Binomial(), alpha = 1, standardize=false, intercept=true, lambda=[0.0005])
modelFit=glmnet(X, Y, Binomial(), alpha = 1, standardize=false, intercept=true, lambda=[0.0005])
When I try to set the variable family as Binomial, glmnet just give me an error:
I use the version 1.8.