Last active
April 18, 2021 08:13
-
-
Save RaphaelS1/08d4d15bb980327302bab24656e2bfa8 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
library(mlr3tuning) | |
create_autotuner <- function(learner) { | |
AutoTuner$new( | |
learner = learner, | |
search_space = search_space, | |
resampling = rsmp("holdout"), | |
measure = msr("surv.cindex"), | |
terminator = trm("evals", n_evals = 2), | |
tuner = tnr("random_search") | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment