Skip to content

Commit

Permalink
read in score output
Browse files Browse the repository at this point in the history
  • Loading branch information
jannes-m committed Apr 20, 2022
1 parent 1a6c1d9 commit 7f44b73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/12-cv.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ future:::ClusterRegistry("stop")
score = bmr$score(measure = mlr3::msr("classif.auc")) %>%
# keep only the columns you need
.[, .(task_id, learner_id, resampling_id, classif.auc)]
# or read in the score
# score = readRDS("extdata/12-bmr_score.rds")

# rename the levels of resampling_id
score[, resampling_id := as.factor(resampling_id) |>
forcats::fct_recode("conventional CV" = "repeated_cv",
Expand Down

0 comments on commit 7f44b73

Please sign in to comment.