my_rf_cv: Random Forest cross-validation

Description Usage Arguments Value Examples

View source: R/my_rf_cv.R

Description

This function calculates MSE erros of a random forest prediction of given data.

Usage

1
my_rf_cv(train, k)

Arguments

train

Data set to train model on

k

Numeric input representing the number of folds to be use as parameters

Value

List of numeric representing the average MSE error across the folds.

Examples

1
2

johnbdonovan/myFirstPackage documentation built on March 18, 2020, 12:12 a.m.