DOI: 10.6084/m9.figshare.28601057.v1
title: Supplementary Material 8

description: The Synthetic Minority Over-sampling Technique (SMOTE) is a machine learning approach to address class imbalance in datasets. It is beneficial for identifying antimicrobial resistance (AMR) patterns. In AMR studies, datasets often contain more susceptible isolates than resistant ones, leading to biased model performance. SMOTE overcomes this issue by generating synthetic samples of the minority class (resistant isolates) through interpolation rather than simple duplication, thereby improving model generalization.When applied to AMR prediction, SMOTE enhances the ability of classification models to accurately identify resistant <i>Escherichia coli</i> strains by balancing the dataset, ensuring that machine learning algorithms do not overlook rare resistance patterns. It is commonly used with classifiers like decision trees, support vector machines (SVM), and deep learning models to improve predictive accuracy. By mitigating class imbalance, SMOTE enables robust AMR detection, aiding in early identification of drug-resistant bacteria and informing antibiotic stewardship efforts.Supervised machine learning is widely used in <i>Escherichia coli</i> genomic analysis to predict antimicrobial resistance, virulence factors, and strain classification. By training models on labeled genomic data (e.g., the presence or absence of resistance genes, SNP profiles, or MLST types), these classifiers help identify patterns and make accurate predictions.<b>10 Supervised machine learning classifiers for </b><b><i>E.coli</i></b><b> genome analysis:</b><b>Logistic regression (LR): </b> A simple yet effective statistical model for binary classification, such as predicting antibiotic resistance or susceptibility in <i>E. coli</i>.<b>Linear support vector machine (Linear SVM):</b> This machine finds the optimal hyperplane to separate E. coli strains based on genomic features such as gene presence or sequence variations.<b>Radial basis function kernel-support vector machine (RBF-SVM): </b>A more flexible version of SVM that uses a non-linear kernel to capture complex relationships in genomic data, improving classification accuracy.<b>Extra trees classifier: </b>This tree-based ensemble method enhances classification by randomly selecting features and thresholds, improving robustness in <i>E. coli</i> strain differentiation.<b>Random forest (RF): </b> An ensemble learning method that constructs multiple decision trees, reducing overfitting and improving prediction accuracy for resistance genes and virulence factors.<b>Adaboost: </b>A boosting algorithm that combines weak classifiers iteratively, refining predictions and improving the identification of antimicrobial resistance patterns.<b>XGboost: </b>An optimized gradient boosting algorithm that efficiently handles large genomic datasets, commonly used for high-accuracy predictions in <i>E. coli</i> classification.<b>Naïve bayes (NB): </b> A probabilistic classifier based on Bayes' theorem, suitable for predicting resistance phenotypes based on genomic features.<b>Linear discriminant Analysis (LDA) is a statistica</b>l approach that maximizes class separability. It helps distinguish between resistant and susceptible <i>E. coli</i> strains.<b>Quadratic discriminant Analysis (QDA) is a variation </b>of LDA that allows for non-linear decision boundaries, improving classification in datasets with complex genomic structures. When applied to E. coli genomes, these classifiers help predict antibiotic resistance, track outbreak strains, and understand genomic adaptations. Combining them with feature selection and optimization techniques enhances accuracy, making them valuable tools in bacterial genomics and clinical research.