Enter TP / FP / FN / TN from a confusion matrix to get accuracy, precision, recall and F1 for a binary classifier. Everything runs locally in the browser.
用于二分类模型评估。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Accuracy | accuracy = correct predictions / total samples | Classification metrics practice |
| Imbalance trap | predicting all negatives still scores high when positives are rare | Classification metrics practice |
| Alternatives | balanced accuracy, F1 and AUC are safer under imbalance | Classification metrics practice |