Description Usage Arguments Value Examples
This function does the Cross Validation test for the random forest predict
model. This function is specifically using bill_length_mm
,
bill_depth_mm
, and flipper_length_mm
to predict
body_mass_g
from the data my_penguins
.
1 | my_rf_cv(k)
|
k |
Numeric input of number of folds. |
a numeric of the cross-validation error value.
1 | my_rf_cv(5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.