Moving the Threshold

Lowering a classifier's threshold below 0.5 flags more payments, so recall goes up and precision usually goes down, precision_recall_curve and PrecisionRecallDisplay show the whole trade, and you choose the threshold from what each mistake costs, on validation data set aside for choosing, then score the test data once.

By

Updated

Cheat sheet: Moving the Threshold
Category
Machine Learning
Level
Freelancer
Tags
ai, Decision Threshold, Precision-Recall Curve, predict_proba(), python, Recall (ai), Validation Set