From 50c13b9aa4d51ec4795bc5b5c936612bf7701f14 Mon Sep 17 00:00:00 2001 From: be-marc Date: Fri, 29 Nov 2024 14:03:50 +0100 Subject: [PATCH] ... --- inst/test.r | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 inst/test.r diff --git a/inst/test.r b/inst/test.r deleted file mode 100644 index a4571198b..000000000 --- a/inst/test.r +++ /dev/null @@ -1,13 +0,0 @@ -# Callback -callback = callback_resample( - id = "test", - on_resample_before_result_data = function(callback, context) { - print("on_resample_before_result_data") - } -) - -learner = lrn("classif.rpart") -task = tsk("iris") -resampling = rsmp("cv", folds = 3) - -resample(task, learner, resampling, callbacks = callback)