caret

{caret} custom function implementation

Problem: Optimal Probability Threshold It’s been a while! I’m writing this post for a couple of reasons. I don’t want to only be writing my dissertation… Someone found me on github and asked me to help them. I am happy to be writing this post for the two reasons listed above so let’s jump straight into the problem. Recently, a random stranger e-mailed me about a problem they were having at work.