Description Usage Arguments Value
Select final random forest learner and train it, optionally adjusting inner sampling strategy for hyperparameter tuning (i.e., cross-validation strategy).
1 2 3 4 5 6 7 | selecttrain_rf(
in_rf,
in_learnerid = NULL,
in_task = NULL,
insamp_nfolds = NULL,
insamp_nevals = NULL
)
|
in_rf |
ResampleResult of learner to use or BenchmarkResult from which to extract learner. |
in_task |
Task containing predictor variables to subset. |
insamp_nfolds |
(optional) number of cross-validation folds to adjust in inner (hyperparameter tuning) cross-validation |
insamp_nevals |
(optional) number of cross-validation repetitions in inner (hyperparameter tuning) cross-validation |
in_lrnid |
id of learner to extract from BenchmarkResult (e.g., "oversample.classif.ranger") |
list containing the outer resampling (i.e. performance cross-validation) results named ('rf_outer'), the trained learner ('rf_inner') and the task on which it was trained ('task').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.