Back

Machine Learning-Driven Drug Optimization for Typhoid Fever Based on Patient Profiles

Ssemuyiga, C.; Charles, S.; Saru, E.; Aleshinloye, Y. A.

2025-12-07 infectious diseases
10.64898/2025.12.03.25341570 medRxiv
Show abstract

IntroductionTyphoid fever remains a major Global public health concern, with treatment outcomes dependent on antimicrobial resistance (AMR) and patient variability. Clinically determining the best medication for a certain patient can be difficult. Machine learning-based clinical decision support systems (CDSS) offer a promising avenue for improving diagnostic accuracy and guiding antibiotic selection using routinely collected clinical data MethodsWe developed a multi-task predictive framework using XGBoost models to predict (i) treatment outcome/success (binary), (ii) treatment duration (days), (iii) a resistance-proxy score, and (iv) suspected typhoid using clinical data; we assessed discrimination (AUC), calibration (Brier), and R{superscript 2} where appropriate, and used SHAP for explainability to interpret feature importance, derive patient clusters, and generate individualized model explanations. We further implemented a counterfactual drug-simulation experiment to compare actual prescribed antibiotics with predicted best options for each patient ResultsThe treatment outcome and suspected typhoid classification models achieved an AUROC of 0.9998 {+/-} 0.0001 and 0.9834 {+/-} 0.0007 respectively, accurately distinguishing between successful and failed therapies and typhoid and non-typhoid cases respectively. The treatment-duration and resistance-proxy regression models demonstrated strong explanatory capacity, accounting for 80% (R{superscript 2} = 0.8027 {+/-} 0.0054) and 90% (R{superscript 2} = 0.9014 {+/-} 0.0036) of the variance in therapy length and inferred resistance likelihood, respectively. SHAP analysis consistently highlighted the severity group, biochemical markers as dominant predictors across models and revealed biologically coherent patient subgroups. Counterfactual drug simulations suggested that alternative antibiotics could yield higher predicted success probabilities for a subset of patients, indicating the potential value of model-informed treatment ranking ConclusionThis study demonstrates the feasibility of machine learning for simulating drug choice in typhoid treatment using patient clinical profiles.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.