Research Article
Machine Learning for Predicting Hyperglycemic Cases Induced by PD-1/PD-L1 Inhibitors
Table 2
Confusion matrix and index formula.
| | Real Y | Real N |
| Predicted Y | True positive (TP) | False positive (FP) | Predicted N | False negative (FN) | True negative (TN) |
| Index | Formula |
| Precision | | Accuracy | | Sensitivity (recall) | | P(e) | | Kappa | ((accuracy – P(e))/(1 – P(e))) | F1 score | |
|
|