powered by
get OOB MSE vs number of forest in trees
OOB_MSE_num_trees(tree_model)
get dataframe of number of trees and OOB MSE
random_linear_forest model to calculate the OOB mean squared error
data(Example_data, package = "Covid19Wastewater") model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type) OOB_MSE_num_trees(model)
Run the code above in your browser using DataLab