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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Accuracy, Recall, Specificity, and Precision Using ILP

Pouria Ramazi, Arash Marioriyad
2 citations
Mathematics
Imbalanced Data Classification Techniques
4.96
article

Optimizing Accuracy, Recall, Specificity, and Precision Using ILP

Pouria Ramazi, Arash Marioriyad
article en
2 citations

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.

MathematicsVol. 13(7)
Isfahan University of Technology (IR), Brock University (CA)
Openalex Percentile: Top 6%
Imbalanced Data Classification Techniques
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Accuracy, Recall, Specificity, and Precision Using ILP — Pouria Ramazi, Arash Marioriyad · Mathematics (2025) | TGRS Research Map | TGRS