lesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffslesson 2 of 5 · precision, recall, and threshold tradeoffs
Checkpoint
One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.
Run the threshold sweep and make the two product calls. Print the report line for 0.80, 0.50, 0.05 (same format as the write step), then pick operating points: for a recall-matters product take the threshold with the best recall (precision as tiebreak); for a precision-matters product the best precision (recall as tiebreak). Print f"ship for recall-matters: {th:.2f}" and f"ship for precision-matters: {th:.2f}".