-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
mlr3proba auc #332
Comments
Hi, thanks for the question, answer are:
Note that mlr3proba only implements distribution evaluation not evaluation at x-year predictions so it's always integrated over time |
Thanks Raphael, I tried to use "surv.chambless_auc", but I got an error as "Error in .MeasureSurvChamblessAUC.score(self = self, private = private, : My code is below: at=AutoTuner$new(learner="surv.glmnet", |
Can you show a small sample code for using "surv.chambless_auc"? I did got an another error now: "Error: Measure 'surv.chambless_auc' requires a task". |
Hi, in response to the first question, time-dependent AUC measures were all designed to evaluate linear predictions from a Cox model only. Soon we will try to implement Antolini's C that is more general (#267). Regarding the second, the measure has the library(mlr3proba)
#> Loading required package: mlr3
l = lrn("surv.coxph")
t = tsk("rats")
splits = partition(t)
p = l$train(t, splits$train)$predict(t, splits$test)
p$score(msr("surv.chambless_auc"),
task = t, train_set = splits$train,
learner = l
)
#> surv.chambless_auc
#> 0.808036 Created on 2023-09-11 with reprex v2.0.2 |
Hi,
I have a question for mlr3proba package. I use "surv.cindex" for calculating Harrell's C-index. Which measurement can I use for "time-dependent AUC", "Brier score", "time-dependent Brier score", "integrated time-dependent AUC" and " integrated time-dependent Brier score" in mlr3proba package?
The text was updated successfully, but these errors were encountered: