Description Usage Arguments Details Value
Create a Resampling for model cross-validation.
1 | set_cvresampling(rsmp_id, in_task, outsamp_nrep, outsamp_nfolds)
|
rsmp_id |
type of resampling, 'cv', 'repeated_cv', or 'repeated-spcv-coords' |
in_task |
Task to resample |
outsamp_nrep |
number of cross-validation repetitions |
outsamp_nfolds |
number of cross-validation folds. |
For more information on the cross-validation strategy used in this study, see section IV in the Supplementary Information of Messager et al. 2021 at https://www.nature.com/articles/s41586-021-03565-5. For general information on resampling in mlr3, see https://mlr3book.mlr-org.com/resampling.html.
a mlr_resamplings_repeated_cv or ResamplingRepeatedSpCVCoords.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.