You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(mlr3learners)
task= tsk("pima")
learner= lrn("classif.ranger", num.trees=5000)
resampling= rsmp("cv", folds=10)
system.time(resample(task, learner, resampling))
# user system elapsed # 25.037 1.413 24.330
system.time(resample(task, learner, resampling, store_models=TRUE))
# user system elapsed # 27.560 1.701 27.138
Saving the models take 3 seconds longer. While tuning with store_models it took almost 8 seconds longer. The ranger models get quite large ~60MB. The 3 seconds get lost when creating this data.table:
Saving the models take 3 seconds longer. While tuning with
store_models
it took almost 8 seconds longer. The ranger models get quite large ~60MB. The 3 seconds get lost when creating thisdata.table
:mlr3/R/resample.R
Lines 121 to 131 in 2c8734a
Profiling of this part
The text was updated successfully, but these errors were encountered: