Last active
January 9, 2023 12:12
-
-
Save cindyangelira/66c7aa73dfb75f33495a9e9e6cec1e6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Benchamrk---- | |
resample <- rsmp("cv", folds = 5) | |
models <- benchmark_grid(task, learners, resample) | |
bnchmrk <- benchmark(models) | |
# Aggregate result | |
measures <- msrs(c("surv.cindex", "surv.graf")) | |
bnchmrk$aggregate(measures) | |
bm <- fortify(bnchmrk) | |
aggr <- bnchmrk$aggregate(measures) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment