learn.howToCalculate
learn.whatIsHeading
Creates confusion matrix showing actual vs. predicted classifications. Basis for evaluation metrics.
공식
Accuracy = (TP+TN) / total
- TP
- TN/(TN+FP) — TN/(TN+FP)
- TN
- TN value — Variable used in the calculation
단계별 가이드
- 14 cells: TP (correct positive), FP (false positive), FN (false negative), TN (correct negative)
- 2Accuracy = (TP+TN) / total
- 3Sensitivity/Recall = TP/(TP+FN), Specificity = TN/(TN+FP)
- 4Precision = TP/(TP+FP)
풀어진 예시
입력
TP/FP/TN/FN
결과
Metrics calc
피해야 할 일반적인 실수
- ✕Using accuracy for imbalanced data (wrong)
- ✕Confusing sensitivity and specificity
- ✕Not balancing precision/recall tradeoff
자주 묻는 질문
When use different metrics?
Accuracy: balanced classes; precision: minimize false positives; recall: minimize false negatives.
What about imbalanced classes?
Accuracy misleading; use precision, recall, F1-score, or AUC instead.
계산할 준비가 되셨나요? 무료 Confusion Matrix 계산기를 사용해 보세요
직접 시도해 보세요 →