> library(yardstick)
For binary classification, the first factor level is assumed to be the event.
Use the argument `event_level = "second"` to alter this as needed.
>
> metric_set("roc_auc", "sens", "spec", "kap", "accuracy")
Error: All inputs to `metric_set()` must be functions. These inputs are not: (1, 2, 3, 4, 5).
>
> metric_set(roc_auc, sens, spec, kap, accuracy)
metric class direction
1 roc_auc prob_metric maximize
2 sens class_metric maximize
3 spec class_metric maximize
4 kap class_metric maximize
5 accuracy class_metric maximize