Including other metrics using threshold_perf() in probably package


I apologize if this is a silly question, but is there a way to include other metrics when using the threshold_perf() function in the probably package, which is part of tidymodels? According to the documentation, only four metrics are currently included: sensitivity, specificity, distance, and j_index. I'm really hoping to add PPV as a metric. I tried downloading the source functions on GitHub and altering them, but I ran into numerous errors, so I gave up on that.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.