-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
surv.glmnet and surv.cvglmnet function X matrix problem #2837
Comments
Thanks for posting your issue. Please provide a reproducible example, preferably using the reprex package. If this is an issue with {mlr3proba}, I can transfer the issue to this repo. I highly suggest using {mlr} going forward instead of {mlr}. If there's something you missing in {mlr3}, please let us know! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thank you for your great R package "mlr". I am interested in calculate survival probability for my RNA-seq data. I want to use surv. function in "mlr" package for this. I applied surv.glmboost, surv.gamboost, surv.cforest, surv.ranger etc. for calculating c-index and I did not encounter a problem. However, I get an error when I use surv.glmnet or surv.cvglmnet function. The error is below:
"Error in (function (x, y, family = c("gaussian", "binomial", "poisson", :
x should be a matrix with 2 or more columns"
So, how should I define "matrix X" ?
I try to use mlr3 and mlr3proba for survival analysis, but I don't apply feature selection methods.
The text was updated successfully, but these errors were encountered: