yardstick
yardstick copied to clipboard
classification_cost using predicted events
classification_cost()
takes probabilities and computes cost from them. Since we are going to be doing more with setting thresholds, we should probably have a version that takes the hard class predictions and has class "class_metric"
. Right now, threshold_perf()
only takes those types of metrics.