EconPapers    
Economics at your fingertips  
 

Optimizing Accuracy, Recall, Specificity, and Precision Using ILP

Arash Marioriyad and Pouria Ramazi ()
Additional contact information
Arash Marioriyad: Department of Electrical and Computer Engineering, Isfahan University of Technology, Isfahan 84156-83111, Iran
Pouria Ramazi: Department of Mathematics and Statistics, Brock University, St. Catharines, ON L2S 3A1, Canada

Mathematics, 2025, vol. 13, issue 7, 1-12

Abstract: 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.

Keywords: accuracy; recall; specificity; precision; integer learner programming (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/13/7/1059/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/7/1059/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:7:p:1059-:d:1619544

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-04-05
Handle: RePEc:gam:jmathe:v:13:y:2025:i:7:p:1059-:d:1619544