Description Usage Arguments Value Examples
This function calculates the cross-validation error of a k-fold
cross-validation of a 100-branch random forest algorithm performed on three variables
of the penguins
data.
1 | my_rf_cv(k)
|
k |
A numeric containing the number of folds to use in the k-fold cross-validation. |
A numeric representing the average mean-squared-error across all
k
folds.
1 | my_rf_cv(3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.