my_rf_cv: Random Forest with K-fold Cross Validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function predicts the body mass of penguins using the bill length, the bill depth, and the flipper length. It is not generalizeable.

Usage

1

Arguments

k

the number of folds to use in cross-validation

Value

the average mse of the model across all folds

Examples

1
2

Codax2000/mypackage documentation built on Dec. 17, 2021, 2:59 p.m.