Description Usage Arguments Value
Calculate MAE, RMSE and utility-based regression evaluation metrics
1 2 3 |
trues |
a vector of true values |
preds |
a vector of predicted values |
y_train |
a vector of training values |
norm |
a Boolean indicating whether to calculate normalized regression metrics |
aeStatFUN |
a function to calculate a summary of y_train for absolute error normalization. Default is median |
seStatFUN |
a function to calculate a summary of y_train for squared error normalization. Default is mean |
util |
a Boolean indicating whether to calculate utility-based regression metrics |
util.parms |
a named list of parameters to use for calculating utility-based regression metrics. Should contain slots
|
a named vector of calculated metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.