OOB_MSE_num_trees: get OOB MSE vs number of forest in trees

View source: R/library--analysis_tools--lm_rand_forest--info.R

OOB_MSE_num_treesR Documentation

get OOB MSE vs number of forest in trees

Description

get OOB MSE vs number of forest in trees

Usage

OOB_MSE_num_trees(tree_model)

Arguments

tree_model

random_linear_forest model to calculate the OOB mean squared error

Value

get dataframe of number of trees and OOB MSE

Examples

data(Example_data, package = "Covid19Wastewater")
model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type)
OOB_MSE_num_trees(model)

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.