my_rf_cv: Random Forest Cross-Validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function applies cross-validation to a random forest algorithm on the penguins data set.

Usage

1
my_rf_cv(k = 5, feedback = FALSE)

Arguments

k

A numeric specifying the number of folds.

feedback

A boolean for debugging feedback.

Value

A numeric specifying the average mean squared error (MSE) across all folds.

Examples

1
2
3

smokingcrater/STAT302Package documentation built on Dec. 23, 2021, 3:27 a.m.