Description Usage Arguments Value Examples
This function calculates MSE erros of a random forest prediction of given data.
1 | my_rf_cv(train, k)
|
train |
Data set to train model on |
k |
Numeric input representing the number of folds to be use as parameters |
List of numeric representing the average MSE error across the folds.
1 2 | my_rf_cv(my_gapminder, 2)
my_rf_cv(my_gapminder, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.