my_rf_cv: Random Forest Cross Validation Function

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function uses Random Forest Cross Validation to predict the output of a target variable and calculate MSE.

Usage

1

Arguments

k

numeric input of the number of folds.

Value

numeric output of the CV MSE.

Examples

1
2
my_rf_cv(k = 5)
my_rf_cv(k = 2)

alishaluo/STAT302package documentation built on March 17, 2020, 4:37 a.m.