neg_auc.error_rate(truth, prediction, allow_rejection = !missing(rejection_cost),
rejection_cost)neg_auc(truth, prediction)
rmse(truth, prediction, na.rm = FALSE)
mse(truth, prediction, na.rm = FALSE)
neg_harrell_c(truth, prediction, na.rm = FALSE)
function(truth, prediction)
[object Object],[object Object]
In most cases the true response and the predictions are of the same type,
e.g. true and fitted values in a regression or class labels in a
classification problem, but it is not a requirement. An example of different
types could be if the prediction function produce class probabilities for
all classes rather than one label, or the risks that the observations will
experience the event of interest, to be compared to the actual outcome that
it did occur or has not yet occurred at a specific time point.
See neg_harrell_c for an example of the latter.
emil, neg_gmpa,
modeling_procedure, extension