Description Usage Arguments Value Examples
This function performs a cross validation using the random forest package
to train a model. predicting body_mass_g
using the covariates of
bill_length_mm
, bill_depth_mm
, and flipper_length_mm
.
1 | my_rf_cv(k)
|
k |
number of folds |
number with the cross-validation error value
1 | my_rf_cv(4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.