Repository navigation
[FAQ Bot] NEW: Where do TPR (True Positive Rate) and FPR (False Positive Rate) come fro - #473
github-actions[bot] wants to merge 1 commit into
Conversation
|
TPR and FPR come from the confusion matrix, which compares a classification model's predictions with the actual outcomes. 1. Understanding the confusion matrix
2. True Positive Rate (TPR) TPR measures the proportion of actual positive cases that the model correctly identifies. Why is the denominator TP + FN? Example: If 100 customers actually churn and the model correctly identifies 80: 3. False Positive Rate (FPR) FPR measures the proportion of actual negative cases that the model incorrectly predicts as positive. Why is the denominator FP + TN? Example: If 900 customers do not churn, but the model incorrectly predicts that 90 will churn: This means 10% of customers who would not churn are incorrectly classified as churners. 4. How TPR and FPR relate to the ROC curve
Each point corresponds to a different classification threshold. As we lower the threshold, the model generally predicts more cases as positive, increasing both TPR and FPR. 5. Why both metrics matter
That is why a high TPR alone is not enough. A good classifier aims for high TPR and low FPR. |
✨ FAQ NEW
Course: machine-learning-zoomcamp
Section: module-4 (TPR/FPR and ROC-related ideas are evaluation/metrics for classification, which belong in the classification evaluation module.)
Related Issue: #472
Question
Where do TPR (True Positive Rate) and FPR (False Positive Rate) come from, and why are the formulas written this way?
Decision Rationale
No existing FAQ directly explains where TPR/FPR formulas come from and why they are written that way. The proposal’s confusion-table/threshold reasoning adds distinct conceptual detail beyond the existing threshold-specific entry.
Placement Details
module-4tpr-fpr-origin-and-formulas🤖 Generated by FAQ Bot
Closes #472