Optimizing Accuracy, Recall, Specificity, and Precision Using ILP
Accuracy, recall, specificity, and precision are key performance measures for binary classifiers. To obtain these measures, the probabilities generated by classifiers must be converted into deterministic labels using a threshold. Exhaustive search methods can be computationally expensive, prompting the need for a more efficient solution. We propose an integer linear programming (ILP) formulation to find the threshold that maximizes any linear combination of these measures. Simulations and experiments on four real-world datasets demonstrate that our approach identifies the optimal threshold orders of magnitude faster than an exhaustive search. This work establishes ILP as an efficient tool for optimizing classifier performance.
Authors
- Pouria Ramazi (ORCID: https://orcid.org/0000-0003-4906-0090)
- Arash Marioriyad
Institutions
- Isfahan University of Technology (IR)
- Brock University (CA)
Publication Details
- Journal
- Mathematics
- Published
- 2025-03-25
- DOI
- https://doi.org/10.3390/math13071059
- Citations
- 2
- Primary Topic
- Imbalanced Data Classification Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.96