Optimal Thresholding of Classifiers to Maximize F1 Measure
Open accessThe DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.
Abstract
This paper provides new insight into maximizing F1 measures in the context of binary classification and also in the context of multilabel classification. The harmonic mean of precision and recall, the F1 measure is widely used to evaluate the success of a binary classifier when one class is rare. Micro average, macro average, and per instance average F1 measures are used in multilabel classification. For any classifier that produces a real-valued output, we derive the relationship between the best achievable F1 value and the decision-making threshold that achieves this optimum. As a special case, if the classifier outputs are well-calibrated conditional probabilities, then the optimal threshold is half the optimal F1 value. As another special case, if the classifier is completely uninformative, then the optimal behavior is to classify all examples as positive. When the actual prevalence of positive examples is low, this behavior can be undesirable. As a case study, we discuss the results, which can be surprising, of maximizing F1 when predicting 26,853 labels for Medline documents.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Elements of Information Theory
Cover, T. M., & Thomas, J. A. (2001) · Wiley eBooks · doi:10.1002/0471200611 · Cited by 36,808
Introduction to information retrieval
(2009) · Choice Reviews Online · doi:10.5860/choice.46-2715 · Cited by 12,278
Introduction to Information Retrieval
Manning, C. D., Raghavan, P., & Schütze, H. (2008) · doi:10.1017/cbo9780511809071 · Cited by 11,288
A systematic analysis of performance measures for classification tasks
Sokolova, M., & Lapalme, G. (2009) · Information Processing & Management · doi:10.1016/j.ipm.2009.03.002 · Cited by 7,515
Neural Information Processing Systems
(2018) · The Deep Learning Revolution · doi:10.7551/mitpress/11474.003.0014 · Cited by 3,730
Multi-Label Classification: An Overview
Tsoumakas, G., & Katakis, I. (2007) · International Journal of Data Warehousing and Mining · doi:10.4018/jdwm.2007070101 · Cited by 2,508
The foundations of cost-sensitive learning
Elkan, C. (2001) · Cited by 1,945
Self-citationSupport vector machines combined with feature selection for breast cancer diagnosis
Akay, M. F. (2009) · Expert Systems with Applications · doi:10.1016/j.eswa.2008.01.009 · Cited by 802
Competitive Bidding in High-Risk Situations
Capen, E. C., Clapp, R. V., & Campbell, W. M. (1971) · Journal of Petroleum Technology · doi:10.2118/2993-pa · Cited by 647
Neighbor-weighted K-nearest neighbor for unbalanced text corpus
TAN, S. (2005) · Expert Systems with Applications · doi:10.1016/j.eswa.2004.12.023 · Cited by 393
Evaluating and optimizing autonomous text classification systems
Lewis, D. D. (1995) · Proceedings of the 18th annual international ACM SIGIR conference on Research and development in information retrieval - SIGIR '95 · doi:10.1145/215206.215366 · Cited by 308
Modeling word burstiness using the Dirichlet distribution
Madsen, R. E., Kauchak, D., & Elkan, C. (2005) · Proceedings of the 22nd international conference on Machine learning - ICML '05 · doi:10.1145/1102351.1102420 · Cited by 280
Self-citationOptimizing F-measure: A Tale of Two ApproachesPreprint
Ye, N., Chai, K. M. A., Lee, W. S., & Chieu, H. L. (2012) · arXiv (Cornell University) · doi:10.48550/arxiv.1206.4625 · Cited by 100
An Exact Algorithm for F-Measure Maximization
Dembczyński, K., Waegeman, W., Cheng, W., & Hüllermeier, E. (2011) · Ghent University Academic Bibliography (Ghent University) · Cited by 93
Optimizing F-Measure with Support Vector Machines
Musicant, D. R., Kumar, V., & Ozgur, A. (2003) · Cited by 83
Dembczyński, K., Jachnik, A., Kotłowski, W., Waegeman, W., & Hüllermeier, E. (2013) · Open access LMU (Ludwid Maxmilian's Universitat Munchen) · Cited by 79
Learning Nondeterministic Classifiers
del Coz, J. J., Díez, J., & Bahamonde, A. (2009) · Journal of Machine Learning Research · doi:10.5555/1577069.1755862 · Cited by 60
Training conditional random fields with multivariate evaluation measures
Suzuki, J., McDermott, E., & Isozaki, H. (2006) · International Conference on Computational Linguistics · doi:10.3115/1220175.1220203 · Cited by 56
Zhao, M., Edakunni, N. U., Pocock, A., & Gavin Brown, B. (2013) · Research Explorer (The University of Manchester) · doi:10.5555/2567709.2502614 · Cited by 48
Predicting accurate probabilities with a ranking loss
Menon, A. K., Jiang, X., Vembu, S., Elkan, C., & Ohno‐Machado, L. (2012) · PubMed · doi:10.48550/arxiv.1206.4661 · Cited by 48
Self-citation
Cited by
Chicco, D., & Jurman, G. (2020) · BMC Genomics · doi:10.1186/s12864-019-6413-7 · Cited by 6,143
“In multiclass cases, researchers can employ the F 1 micro/macro averaging procedure [55–60], which can be even targeted for ad-hoc optimization [61].”
A Critical Review of Recurrent Neural Networks for Sequence Learning
Lipton, Z. C., Berkowitz, J. A., & Elkan, C. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1506.00019 · Cited by 1,996
Self-citationOptimal classifier for imbalanced data using Matthews Correlation Coefficient metric
Boughorbel, S., Jarray, F., & El-Anbari, M. (2017) · PLOS ONE · doi:10.1371/journal.pone.0177678 · Cited by 1,222
Artificial intelligence for mental health and mental illnesses: an overview
Graham, S., Depp, C., Lee, E. E., Nebeker, C., Tu, X., Kim, H.-C., & Jeste, D. V. (2019) · Current Psychiatry Reports · doi:10.1007/s11920-019-1094-0 · Cited by 970
Rajaraman, S., Antani, S. K., Poostchi, M., Silamut, K., Hossain, M. A., Maude, R. J., Jaeger, S., & Thoma, G. R. (2018) · PeerJ · doi:10.7717/peerj.4568 · Cited by 566
Metadata
- Authors
- Lipton, Z. C., Elkan, C., & Naryanaswamy, B.
- Venue
- Lecture Notes in Computer Science
- Publisher
- Springer Berlin Heidelberg
- Published
- 2014
- Volume
- 8725
- Pages
- 225-239
- ISSN
- 0302-9743 (ISSN-L)
- 1611-3349
- OpenAlex
- W61851215
- Cited by
- 596
- References
- 20
- FWCI
- 5.73
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.