Description Usage Arguments Value Author(s)
View source: R/eval_framework.R
Calculate regression metrics for imbalanced domains.
1 2 3 4 5 6 7 8 9 | eval_stats(
trues,
preds,
y_train = NULL,
thr = 0.9,
beta = 1,
rel = "auto",
cf = 1.5
)
|
trues |
a vector of true values |
preds |
a vector of predicted values |
y_train |
a vector of training values |
thr |
relevance threshold |
beta |
beta in F-measure |
rel |
The relevance function which can be automatically ("auto") determined (the default) or may be provided by the user through a matrix with interpolating points. |
cf |
phi.control coef (needed if rel = 'auto') |
a named vector of metrics RMSE, relevance-aware RMSE, and utility-based precision, recall and F-measure
Nuno Moniz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.