title: The role of balanced training and testing data sets for binary classifiers in bioinformatics.
abstract: Training and testing of conventional machine learning models on binary classification problems depend on the proportions of the two outcomes in the relevant data sets. This may be especially important in practical terms when real-world applications of the classifier are either highly imbalanced or occur in unknown proportions. Intuitively, it may seem sensible to train machine learning models on data similar to the target data in terms of proportions of the two binary outcomes. However, we show that this is not the case using the example of prediction of deleterious and neutral phenotypes of human missense mutations in human genome data, for which the proportion of the binary outcome is unknown. Our results indicate that using balanced training data (50% neutral and 50% deleterious) results in the highest balanced accuracy (the average of True Positive Rate and True Negative Rate), Matthews correlation coefficient, and area under ROC curves, no matter what the proportions of the two phenotypes are in the testing data. Besides balancing the data by undersampling the majority class, other techniques in machine learning include oversampling the minority class, interpolating minority-class data points and various penalties for misclassifying the minority class. However, these techniques are not commonly used in either the missense phenotype prediction problem or in the prediction of disordered residues in proteins, where the imbalance problem is substantial. The appropriate approach depends on the amount of available data and the specific problem at hand.
authors.affiliation: Institute for Cancer Research, Fox Chase Cancer Center, Philadelphia, Pennsylvania, United States of America.
authors.forename: Qiong
authors.initials: Q
authors.lastname: Wei
authors.forename: Roland L
authors.initials: RL
authors.lastname: Dunbrack
mesh_terms: D000465:Algorithms; D000818:Animals; D001185:Artificial Intelligence; D019295:Computational Biology / Q000379:methods*; D030541:Databases, Genetic; D056726:Genetic Association Studies; D006801:Humans; D008954:Models, Biological; D020125:Mutation, Missense; D010641:Phenotype; D011110:Polymorphism, Genetic; D015203:Reproducibility of Results