Helper functions to debug sl3 Learners

debug_train(learner, once = FALSE)

debugonce_train(learner)

debug_predict(learner, once = FALSE)

debugonce_predict(learner)

sl3_debug_mode(enabled = TRUE)

undebug_learner(learner)

Arguments

learner

the learner to debug

once

if true, use debugonce instead of debug

enabled

enable/disable the use of future (debugging is easier without futures)