| 予測 (P) | 予測 (N) | |
|---|---|---|
| 正解 (P) | TP | FN |
| 正解 (N) | FP | TN |
$$\text{Accuracy} = \frac{TP + TN}{TP + FN + FP + TN}$$
$$\text{Precision} = \frac{TP}{TP + FP}$$
$$\text{Recall} = \frac{TP}{TP + FN}$$
$$\text{F-measure} = \frac{2 \cdot \text{Precision} \cdot \text{Recall}}{\text{Precision} + \text{Recall}}$$