Closed arun-chhikara-ta closed 1 year ago
In both the situations, i think it just outputs test results ...
tasks = tsks(c("german_credit", "sonar")) learners = lrns(c("classif.rpart", "classif.ranger","classif.featureless"), predict_type = "prob") rsmp_cv5 = rsmp("cv", folds = 5) set.seed(1234) design = benchmark_grid(tasks, learners, rsmp_cv5) bmr = benchmark(design) bmr$score(predict_sets = 'train') bmr$score(predict_sets = 'test')
Description
In both the situations, i think it just outputs test results ...
Reproducible example
tasks = tsks(c("german_credit", "sonar")) learners = lrns(c("classif.rpart", "classif.ranger","classif.featureless"), predict_type = "prob") rsmp_cv5 = rsmp("cv", folds = 5) set.seed(1234) design = benchmark_grid(tasks, learners, rsmp_cv5) bmr = benchmark(design) bmr$score(predict_sets = 'train') bmr$score(predict_sets = 'test')