powered by
get increased mean square error for each column
gen_INCMSE(tree_model)
data.frame containing each column and its MSE increase
random_linear_forest object you want the MSE of
data(Example_data, package = "Covid19Wastewater") model <- random_linear_forest(Example_data, 2, PMMoV ~ N1 + N2 | pcr_type) gen_INCMSE(model)
Run the code above in your browser using DataLab