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.
learn.ctaText
इसे स्वयं आज़माएँ →