View source: R/mod_performance.R
model_performance | R Documentation |
Returns a basic summary of a model's performance
model_performance( model, data_test, y_name, metric, est_below_cutoff, err_above_cutoff )
model |
The model to evaluate |
data_test |
A data.frame of test data |
y_name |
The variable to explain |
metric |
The metric to use for error computation |
est_below_cutoff |
"Acceptable" error in percent |
err_above_cutoff |
Desired percent of "acceptable" estimated values |
A data.frame holding the r.squared and errors metrics
model_performance(model, data_test, "RESCO")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.