tidymodels / yardstick

Tidy methods for measuring model performance
https://yardstick.tidymodels.org/
Other
368 stars 54 forks source link

classification_cost using predicted events #511

Open topepo opened 4 months ago

topepo commented 4 months ago

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.