Experiment - Precision-recall curves
Problem:You have a binary classification model trained with TensorFlow. The model predicts whether emails are spam or not. Currently, the model's precision and recall trade-off is unclear, making it hard to choose the best threshold for predictions.
Current Metrics:At default threshold 0.5, precision: 0.75, recall: 0.60
Issue:The model's precision and recall at threshold 0.5 do not balance well. You want to understand how precision and recall change with different thresholds to pick the best one.