GHOST: Adjusting the Decision Threshold to Handle Imbalanced Data in Machine Learning

被引:97
作者
Esposito, Carmen [1 ]
Landrum, Gregory A. [1 ,2 ]
Schneider, Nadine [3 ]
Stiefl, Nikolaus [3 ]
Riniker, Sereina [1 ]
机构
[1] Swiss Fed Inst Technol, Lab Phys Chem, CH-8093 Zurich, Switzerland
[2] T5 Informat GmbH, CH-4055 Basel, Switzerland
[3] Novartis Pharma AG, Novartis Inst BioMed Res, Novartis Campus, CH-4002 Basel, Switzerland
关键词
BINARY CLASSIFICATION; CONFORMAL PREDICTION; VALIDATION; AGREEMENT; ZINC;
D O I
10.1021/acs.jcim.1c00160
中图分类号
R914 [药物化学];
学科分类号
100701 ;
摘要
Machine learning classifiers trained on class imbalanced data are prone to overpredict the majority class. This leads to a larger misclassification rate for the minority class, which in many real-world applications is the class of interest. For binary data, the classification threshold is set by default to 0.5 which, however, is often not ideal for imbalanced data. Adjusting the decision threshold is a good strategy to deal with the class imbalance problem. In this work, we present two different automated procedures for the selection of the optimal decision threshold for imbalanced classification. A major advantage of our procedures is that they do not require retraining of the machine learning models or resampling of the training data. The first approach is specific for random forest (RF), while the second approach, named GHOST, can be potentially applied to any machine learning classifier. We tested these procedures on 138 public drug discovery data sets containing structure-activity data for a variety of pharmaceutical targets. We show that both thresholding methods improve significantly the performance of RF. We tested the use of GHOST with four different classifiers in combination with two molecular descriptors, and we found that most classifiers benefit from threshold optimization. GHOST also outperformed other strategies, including random undersampling and conformal prediction. Finally, we show that our thresholding procedures can be effectively applied to real-world drug discovery projects, where the imbalance and characteristics of the data vary greatly between the training and test sets.
引用
收藏
页码:2623 / 2640
页数:18
相关论文
共 96 条
[61]  
Papadopoulos H, 2002, LECT NOTES ARTIF INT, V2430, P345
[62]  
Papadopoulos H., 2002, ICMLA, P159
[63]  
Pedregosa F, 2011, J MACH LEARN RES, V12, P2825
[64]  
Phillips KA, 2017, GREEN CHEM, V19, P1063, DOI [10.1039/c6gc02744j, 10.1039/C6GC02744J]
[65]  
Powers D. M. W., 2011, Mach Learn Technol, V2, P37, DOI [DOI 10.48550/ARXIV.2010.16061, 10.9735/2229-3981]
[66]  
Prati RC, 2004, LECT NOTES COMPUT SC, V2972, P312
[67]   Robust classification for imprecise environments [J].
Provost, F ;
Fawcett, T .
MACHINE LEARNING, 2001, 42 (03) :203-231
[68]  
Ramsundar B., 2019, Deep Learning for the Life Sciences
[69]   SMALL SAMPLE-SIZE EFFECTS IN STATISTICAL PATTERN-RECOGNITION - RECOMMENDATIONS FOR PRACTITIONERS [J].
RAUDYS, SJ ;
JAIN, AK .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1991, 13 (03) :252-264
[70]   Using Information from Historical High-Throughput Screens to Predict Active Compounds [J].
Riniker, Sereina ;
Wang, Yuan ;
Jenkins, Jeremy L. ;
Landrum, Gregory A. .
JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2014, 54 (07) :1880-1891