Description Usage Arguments Value Examples
This function uses the my_gapminder
dataset and predicts the Life
Expectancy at birth (in years) from GDP per capita, using Random Forest
Cross-Validation.
1 | my_rf_cv(k)
|
k |
Numeric indicating the number of folds with which to separate our dataset. |
Numeric representing the average Mean Squared Error across all
k
folds (the cross-validation error).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.