-
Notifications
You must be signed in to change notification settings - Fork 35
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
Error attempting Logistic Regression #5
Comments
From the docs:
but ideally we'd support |
Converting my y vector to the matrix did the trick: y_mat = hcat(abs(y - 1), y)
cv_binom = GLMNet.glmnetcv(X, y_mat, GLMNet.Binomial(), alpha=0.0) In the past when using Thanks, |
@simonster I'd be interested about the |
I would guess minloss, index = findmin(cv.meanloss)
max(cv.lambda[cv.meanloss .<= minloss+cv.stdloss[index]]) but I'll double-check with the R interface tomorrow. |
This is the R code that computes |
Great, thanks for the interim solution to calculate |
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.
The final line of code produces the following error:
I am new to julia, so perhaps I'm missing something. Thanks.
The text was updated successfully, but these errors were encountered: