model.stats: Common statistics for a vector of predictions and a vector of responses
Description
Given a vector of predictions and a vector of responses, provide some statistics and plots like AUC, AUPR, confusion matrix, F1-score, geometric mean, residuals, mean squared and mean absolute error.Usage
model.stats(predictions, responses, regression = FALSE)
Value
- print and plot metrics and put them in a list.