<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id><journal-id journal-id-type="publisher-id">medinform</journal-id><journal-id journal-id-type="index">7</journal-id><journal-title>JMIR Medical Informatics</journal-title><abbrev-journal-title>JMIR Med Inform</abbrev-journal-title><issn pub-type="epub">2291-9694</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v14i1e88732</article-id><article-id pub-id-type="doi">10.2196/88732</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Machine Learning&#x2013;Based Prediction of Culture-Confirmed Neonatal Sepsis in a Tertiary Neonatal Intensive Care Unit: Retrospective Cohort Study</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Badran</surname><given-names>Eman</given-names></name><degrees>MRCPCH, MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Al-Smadi</surname><given-names>Oraib</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Algazo</surname><given-names>Loiy T</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Al Ghazo</surname><given-names>Alaa T</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Al Anber</surname><given-names>Arwa</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff4">4</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Sharaqa</surname><given-names>Areej</given-names></name><degrees>BSc, PharmD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Abu-Argoub</surname><given-names>Lena</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Al Jaberi</surname><given-names>Shatha</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Alhanbali</surname><given-names>Abdulrahman</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff5">5</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Yacoub</surname><given-names>Taimein</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Rihan</surname><given-names>Shahd</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Al-Jaberi</surname><given-names>Hala</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Pediatrics, Neonatal Division, School of Medicine, University of Jordan</institution><addr-line>Queen Rania Street</addr-line><addr-line>Amman</addr-line><country>Jordan</country></aff><aff id="aff2"><institution>Department of Neonatology, Princess Rahmah Teaching Hospital, Ministry of Health</institution><addr-line>Irbid</addr-line><country>Jordan</country></aff><aff id="aff3"><institution>Department of Mechatronics Engineering, Faculty of Engineering, Hashemite University</institution><addr-line>Zarqa</addr-line><country>Jordan</country></aff><aff id="aff4"><institution>Department of Pharmacology Public Health and Clinical Skills, Faculty of Medicine, Hashemite University</institution><addr-line>Zarqa</addr-line><country>Jordan</country></aff><aff id="aff5"><institution>Department of Pediatrics, The University of Texas Medical Branch at Galveston</institution><addr-line>Galveston</addr-line><addr-line>TX</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Benis</surname><given-names>Arriel</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Chen</surname><given-names>Catherine</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Wanyonyi</surname><given-names>Maurice</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Eman Badran, MRCPCH, MD, Department of Pediatrics, Neonatal Division, School of Medicine, University of Jordan, Queen Rania Street, Amman, 11942, Jordan, 962 795608288, 962 6 5300431; <email>emanfbadran@gmail.com</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>14</day><month>9</month><year>2026</year></pub-date><volume>14</volume><elocation-id>e88732</elocation-id><history><date date-type="received"><day>01</day><month>12</month><year>2025</year></date><date date-type="rev-recd"><day>02</day><month>07</month><year>2026</year></date><date date-type="accepted"><day>13</day><month>08</month><year>2026</year></date></history><copyright-statement>&#x00A9; Eman Badran, Oraib Al-Smadi, Loiy T Algazo, Alaa T Al ghazo, Arwa Al Anber, Areej Sharaqa, Lena Abu-Argoub, Shatha Al Jaberi, Abdulrahman Alhanbali, Taimein Yacoub, Shahd Rihan, Hala Al-Jaberi. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 14.9.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org/">https://medinform.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://medinform.jmir.org/2026/1/e88732"/><abstract><sec><title>Background</title><p>Neonatal sepsis remains a major cause of neonatal morbidity and mortality in low- and middle-income countries (LMICs). Early diagnosis is challenging because of nonspecific clinical manifestations and delays in laboratory confirmation. Machine learning (ML) approaches using structured electronic health record (EHR) data may improve early risk stratification in neonatal intensive care units (NICUs).</p></sec><sec><title>Objective</title><p>This study aimed to evaluate ML models for predicting culture-confirmed neonatal sepsis among neonates admitted to a tertiary NICU in Jordan, with the objective of addressing diagnostic gaps in resource-limited settings. Specifically, we aimed to identify key predictors through feature importance analysis, evaluate model performance with class-imbalanced data, and propose strategies to improve interpretability and generalizability in LMICs.</p></sec><sec sec-type="methods"><title>Methods</title><p>A retrospective cohort study was conducted using structured EHRs of 3274 neonates admitted to a tertiary NICU in Jordan between 2018 and 2024. Neonates who underwent blood culture testing were included. The dataset was divided into training (n=2619, 80%) and testing (n=655, 20%) subsets using stratified sampling. Three ML models&#x2014;Extreme Gradient Boosting (XGBoost), decision trees, and neural networks&#x2014;were trained using clinical, laboratory, and demographic variables. Class imbalance was addressed using the synthetic minority oversampling technique (SMOTE) applied to the training dataset. Model performance was evaluated using accuracy, sensitivity, specificity, and the area under the receiver operating characteristic curve (AUC).</p></sec><sec sec-type="results"><title>Results</title><p>Among 3274 neonates included in the study, the XGBoost model demonstrated the best predictive performance on the independent test set (n=655, 20%), achieving an accuracy of 94% (616/655 correct predictions, 95% CI 92% to 96%), sensitivity of 98% (95/97 sepsis cases correctly identified, 95% CI 96% to 99%), and an AUC of 0.98 (95% CI 0.97 to 0.99). Decision trees provided interpretable classification rules with moderate performance, whereas neural networks showed lower discriminative ability, with an AUC of 0.81 (95% CI 0.78 to 0.84). Important predictive features included C-reactive protein, platelet count, and gestational age.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>XGBoost demonstrated strong predictive performance in this retrospective cohort, supporting its potential as a foundation for future prospective clinical decision support tools. External validation and prospective studies are required before clinical implementation.</p></sec></abstract><kwd-group><kwd>machine learning models</kwd><kwd>Extreme Gradient Boosting</kwd><kwd>XGBoost</kwd><kwd>neural networks</kwd><kwd>decision trees</kwd><kwd>electronic health record</kwd><kwd>EHR</kwd><kwd>neonatal sepsis</kwd><kwd>clinical decision support tools</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Neonatal sepsis (NS) remains a major contributor to neonatal mortality worldwide, causing approximately 550,000 deaths per year (15% of neonatal deaths) in low- and middle-income countries (LMICs) [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. Preterm neonates and those with low birth weight are particularly vulnerable due to immature immune systems and prolonged exposure to invasive procedures [<xref ref-type="bibr" rid="ref3">3</xref>]. Early prediction and detection of sepsis are critical for improving outcomes; however, challenges arise from nonspecific clinical presentations; delays in conventional diagnostics such as blood cultures; and the limited reliability of biomarkers, including C-reactive protein (CRP), procalcitonin, and complete blood count [<xref ref-type="bibr" rid="ref3">3</xref>-<xref ref-type="bibr" rid="ref7">7</xref>]. The increasing prevalence of multidrug-resistant organisms further complicates treatment, emphasizing the need for innovative tools to optimize antibiotic use and address antimicrobial resistance (AMR) [<xref ref-type="bibr" rid="ref8">8</xref>].</p><p>Machine learning (ML) has emerged as a promising approach for early sepsis prediction by integrating clinical, laboratory, and electronic health record (EHR) data [<xref ref-type="bibr" rid="ref9">9</xref>-<xref ref-type="bibr" rid="ref13">13</xref>]. Algorithms such as Extreme Gradient Boosting (XGBoost) and neural networks can detect complex patterns in large datasets, enabling rapid risk assessment and potential early intervention [<xref ref-type="bibr" rid="ref12">12</xref>-<xref ref-type="bibr" rid="ref14">14</xref>]. Challenges such as class imbalance, where nonsepsis cases dominate datasets, can reduce model sensitivity, while overfitting may limit generalizability in single-center cohorts [<xref ref-type="bibr" rid="ref15">15</xref>-<xref ref-type="bibr" rid="ref17">17</xref>]. Techniques including the synthetic minority oversampling technique (SMOTE) and regularization address these issues but remain underexplored in LMIC contexts [<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref19">19</xref>].</p><p>Previous studies have primarily focused on high-income countries [<xref ref-type="bibr" rid="ref19">19</xref>-<xref ref-type="bibr" rid="ref22">22</xref>], with limited evidence from regions such as Jordan, where resource constraints and unique epidemiological profiles necessitate context-specific approaches [<xref ref-type="bibr" rid="ref3">3</xref>]. Emerging research in other LMICs has begun to address this gap, with ML models for NS showing promise in diverse settings, including India [<xref ref-type="bibr" rid="ref23">23</xref>], Uganda [<xref ref-type="bibr" rid="ref24">24</xref>], and Ethiopia [<xref ref-type="bibr" rid="ref25">25</xref>]. In this context, this study aimed to evaluate ML models for predicting culture-confirmed NS in a Jordanian tertiary neonatal intensive care unit (NICU), addressing key diagnostic challenges in resource-limited settings. Specifically, we aimed to identify important predictors through feature importance analysis, assess model performance in the presence of class-imbalanced data, and explore strategies to enhance interpretability and generalizability in LMIC contexts. To support these objectives, we implemented an adaptable framework integrating SMOTE with XGBoost, providing a reproducible approach for early sepsis detection and future multicenter validation.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Ethical Considerations</title><p>The data used in this study were originally collected for a prior investigation on trends in NS organisms and antimicrobial sensitivity (Institutional Review Board of Jordan University [IRB] approval 10/2023/16360). For this secondary analysis, deidentified datasets were repurposed to predict NS using ML. All procedures adhered to international and national ethical standards, including the Declaration of Helsinki. Data were anonymized and accessible only to the research team. Because the study involved retrospective records without direct patient contact, a waiver of informed consent was approved by the Scientific Research Ethics Committee University of Jordan, School of Medicine (IRB 787/2023/76; renewal 4531/2025/67).</p></sec><sec id="s2-2"><title>Study Design and Population</title><p>A retrospective cohort study was conducted at the 34-bed NICU of Jordan University Hospital, which admits approximately 1000 neonates annually. Between October 2018 and April 2024, 7005 neonates were admitted. Of these 7005 neonates, 3731 (53.3%) were excluded due to unavailability of blood culture data, leaving 3274 (46.7%) eligible for inclusion in the 3 predictive ML models for NS evaluation. Among the 3274 included cohort, 770 (23.5%) had culture-confirmed sepsis. <xref ref-type="fig" rid="figure1">Figure 1</xref> shows the cohort flow diagram.</p><p>The eligibility criteria and definition of sepsis used to determine inclusion and classify the study population were as follows:</p><list list-type="bullet"><list-item><p>Inclusion criteria: neonates aged &#x003C;28 days at admission who had blood cultures collected and complete clinical, laboratory, and demographic data were included in the study.</p></list-item><list-item><p>Exclusion criteria: neonates with incomplete records or no blood culture data were considered ineligible and therefore excluded from the study.</p></list-item><list-item><p>Sepsis definition: sepsis status was classified based on the presence or absence of culture-confirmed sepsis, with sepsis=1 indicating culture-confirmed sepsis and sepsis=0 indicating no clinical or laboratory evidence of sepsis.</p></list-item></list><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Flow diagram of participant selection. NICU: neonatal intensive care unit.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e88732_fig01.png"/></fig></sec><sec id="s2-3"><title>Data Sources and Categories</title><p>Data were extracted from the NICU EHR system and included the following variables:</p><list list-type="bullet"><list-item><p>Demographics: including birth weight, gestational age (GA), delivery mode, APGAR (appearance, pulse, grimace, activity, and respiration) scores at 1 and 5 minutes, sex, and exclusive breastfeeding</p></list-item><list-item><p>Clinical indicators: including prolonged rupture of membranes (PROM), respiratory distress, and neonatal resuscitation</p></list-item><list-item><p>Laboratory variables: including blood culture, CRP, white blood cell (WBC) count, absolute neutrophil count, neutrophil-to-lymphocyte ratio, platelet count (PLT), and hemoglobin</p></list-item><list-item><p>Procedural data: including central venous catheter placement, invasive ventilation, surgery, blood transfusion, lumbar puncture, and chest tube insertion</p></list-item></list><p>A complete description of all predictor variables, including definitions, measurement units, timing, and transformations applied, is provided in Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></sec><sec id="s2-4"><title>Preprocessing Steps</title><p>The dataset of 3274 neonates was randomly divided into training and testing sets using stratified sampling to preserve the original sepsis class distribution (23.5% sepsis in both subsets), with a training set comprising 2619 (80%) neonates and a testing set comprising 655 (20%) neonates.</p><sec id="s2-4-1"><title>Handling Missing Data</title><p>Missing values were imputed using the mean for continuous variables and the mode for categorical variables to provide a consistent preprocessing framework across all evaluated ML models. This deterministic approach was selected to ensure reproducibility and comparability between algorithms. However, we acknowledge that missingness in routinely collected clinical data is frequently informative rather than completely random. Consequently, simple imputation may not fully capture the underlying data-generating mechanisms and may influence predictive performance. More sophisticated approaches, such as multiple imputation, model-based imputation, or missingness-aware ML algorithms, should be evaluated in future studies [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref17">17</xref>].</p></sec><sec id="s2-4-2"><title>Normalization</title><p>Continuous variables were scaled using minimum-maximum normalization (0-1) to ensure a uniform feature range [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref17">17</xref>].</p></sec><sec id="s2-4-3"><title>Categorical Encoding</title><p>Categorical variables (eg, mode of delivery and sex) were 1-hot encoded to enable integration with tree-based and neural network algorithms.</p></sec><sec id="s2-4-4"><title>Temporal Alignment</title><p>To minimize temporal leakage, all predictor variables included in model development were restricted to information available at or before the time of blood culture sampling, which represented the prediction time point. For procedural variables (eg, central line insertion, intubation, and catheter-related procedures), the EHR contained temporal indicators (date [DD/MM/YYYY] and time [HH:MM]) specifying whether the procedure occurred before sample collection. Only procedures documented before blood culture sampling were eligible for inclusion in the predictive models. Variables occurring after the prediction time, such as exclusive breastfeeding at discharge, were excluded from model development and retained only for descriptive analyses.</p></sec></sec><sec id="s2-5"><title>Demographic and Clinical Characteristics</title><sec id="s2-5-1"><title>Overview</title><p>Baseline demographic and clinical characteristics of the cohort are summarized in Table S2 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>. In the cohort of 3247 neonates, 1334 (40.7%) were female, and 1940 (59.3%) were male, with a mean postnatal age at sampling of 4.88 (SD 9.9) days and a mean GA of 35.53 (SD 3.4) weeks. Exclusive breastfeeding was reported in 1574 (48.1%) neonates, and PROMs (&#x003E;18 hours) occurred in 443 (13.5%) cases.</p></sec><sec id="s2-5-2"><title>Birth Weight Distribution</title><p>The distribution of 3274 neonates according to birth weight category was as follows:</p><list list-type="bullet"><list-item><p>Extremely low birth weight (&#x003C;1000 g): 109 (3.3%) neonates</p></list-item><list-item><p>Very low birth weight (1000-1500 g): 229 (7%) neonates</p></list-item><list-item><p>Low birth weight (1500-2500 g): 1084 (33.1%) neonates</p></list-item><list-item><p>Normal birth weight (2500-4000 g): 1793 (54.8%) neonates</p></list-item><list-item><p>High birth weight (&#x003E;4000 g): 56 (1.7%) neonates</p></list-item></list></sec><sec id="s2-5-3"><title>Delivery and Clinical Outcomes</title><p>The mean APGAR scores were 7.58 (SD 1.25) at 1 minute and 8.84 (SD 0.69) at 5 minutes. In the cohort of 3274 cases, delivery was by cesarean section in 2399 (73.3%) cases and by vaginal delivery in 875 (26.7%) cases. Clinical interventions included intubation in 296 (9%) neonates, umbilical venous catheter placement in 392 (12%) neonates, central line placement in 30 (0.9%) neonates, blood transfusion in 323 (9.9%) neonates, cardiopulmonary resuscitation in 135 (4.1%) neonates, and surgery in 179 (5.5%) neonates. Mortality occurred in 171 (5.2%) neonates.</p></sec></sec><sec id="s2-6"><title>ML Models</title><sec id="s2-6-1"><title>Overview and Workflow</title><p>Three ML models&#x2014;XGBoost (version 2.1.0; XGBoost Developers, 2024), neural networks, and decision trees&#x2014;were applied to predict culture-confirmed NS. The modeling workflow included feature selection, class imbalance handling, and overfitting mitigation to ensure robust and reproducible predictions.</p></sec><sec id="s2-6-2"><title>Feature Selection</title><p>XGBoost was used for recursive feature elimination and feature importance analysis to identify predictors critical to NS [<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref19">19</xref>].</p></sec><sec id="s2-6-3"><title>Addressing Class Imbalance</title><p>The dataset showed a strong imbalance between nonsepsis (majority) and sepsis (minority) cases. To mitigate this imbalance, the following approaches were used: oversampling, in which the minority class (sepsis=1) was oversampled using SMOTE, applied only to training folds during model training; and class weights, in which the loss functions in XGBoost and neural networks incorporated class weights to improve sensitivity to the minority class without biasing overall predictions [<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref19">19</xref>].</p></sec><sec id="s2-6-4"><title>Overfitting Mitigation</title><sec id="s2-6-4-1"><title>XGBoost</title><p>Overfitting in XGBoost was mitigated using L1 (reg_alpha) and L2 (reg_lambda) regularization, with the maximum tree depth limited to 5.</p></sec><sec id="s2-6-4-2"><title>Neural Network</title><p>Overfitting in the neural network was mitigated using a multilayer perceptron (MLP) with 2 hidden layers of 100 neurons each, rectified linear unit (ReLU) activation, L2 regularization, early stopping, and feature scaling.</p></sec><sec id="s2-6-4-3"><title>Decision Trees</title><p>Overfitting in the decision tree models was mitigated by limiting the maximum depth to 5, setting the minimum samples per split to 10, and setting the minimum number of samples per leaf to 5.</p></sec></sec></sec><sec id="s2-7"><title>XGBoost</title><p>XGBoost is an implementation of gradient-boosted decision trees that builds multiple trees sequentially, where each subsequent tree corrects the errors of the previous tree. The model incorporates L1 and L2 regularization to prevent overfitting. Refer to <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> for the complete mathematical formulation, including the regularized objective function and regularization terms.</p></sec><sec id="s2-8"><title>Neural Network</title><p>The neural network used in this study is an MLP classifier with an input layer, 2 hidden layers of 100 neurons each using ReLU activation, and an output layer for binary classification. The model was optimized using the Adam optimizer. Refer to <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> for the mathematical formulation of neuron activation and loss functions. <xref ref-type="fig" rid="figure2">Figure 2</xref> shows the neural network architecture.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Two-hidden-layer multilayer perceptron architecture for neonatal sepsis, with rectified linear unit activation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e88732_fig02.png"/></fig></sec><sec id="s2-9"><title>Decision Tree</title><p>The decision tree classifier splits data at each node based on criteria that maximize information gain or minimize Gini impurity. Tree depth was limited to 5, with minimum samples per split of 10 and minimum samples per leaf of 5 to prevent overfitting. Refer to <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> for the mathematical formulations of Gini impurity and information gain.</p></sec><sec id="s2-10"><title>Evaluation of Model Performance</title><p>For XGBoost, 95% CIs for accuracy, recall (sensitivity), and specificity were calculated using the Wilson score method, while area under the receiver operating characteristic curve (AUC) CIs were estimated using the DeLong method. For the neural network and decision tree models, all performance metric CIs (accuracy, sensitivity, specificity, precision, recall, <italic>F</italic><sub>1</sub>-score, and AUC) were estimated using bootstrap resampling with 1000 iterations.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Feature Importance</title><p>The feature importance analysis was obtained from the XGBoost algorithm. <xref ref-type="table" rid="table1">Table 1</xref> presents the contribution of each feature to predicting sepsis, ranked by their respective <italic>F</italic> scores. The <italic>F</italic> score indicates how many times a feature is used to perform a data split across all decision trees in the XGBoost model. Features with higher <italic>F</italic> scores are more frequently chosen for partitioning, exerting a greater impact on the model&#x2019;s predictions, while features with lower <italic>F</italic> scores have less influence.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Feature importance and their <italic>F</italic> scores derived from the Extreme Gradient Boosting (XGBoost) model for neonatal sepsis prediction.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Features</td><td align="left" valign="bottom"><italic>F</italic> scores</td></tr></thead><tbody><tr><td align="left" valign="top">C-reactive protein (mg/L)</td><td align="left" valign="top">826.0</td></tr><tr><td align="left" valign="top">Platelets count (&#x00D7;10&#x2079;/L)</td><td align="left" valign="top">641.0</td></tr><tr><td align="left" valign="top">Hemoglobin (g/dL)</td><td align="left" valign="top">561.0</td></tr><tr><td align="left" valign="top">White blood cell count (&#x00D7;10&#x2079;/L)</td><td align="left" valign="top">497.0</td></tr><tr><td align="left" valign="top">Neutrophils (%)</td><td align="left" valign="top">416.0</td></tr><tr><td align="left" valign="top">Gestational age (wks)</td><td align="left" valign="top">395.0</td></tr><tr><td align="left" valign="top">Absolute neutrophils count (&#x00D7;10&#x2079;/L)</td><td align="left" valign="top">391.0</td></tr><tr><td align="left" valign="top">Lymphocyte (%)</td><td align="left" valign="top">387.0</td></tr><tr><td align="left" valign="top">Red blood cell count (&#x00D7;10&#x00B9;&#x00B2;/L)</td><td align="left" valign="top">347.0</td></tr><tr><td align="left" valign="top">Neutrophil-to-lymphocyte ratio</td><td align="left" valign="top">250.0</td></tr><tr><td align="left" valign="top">APGAR<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup> at 1 minute</td><td align="left" valign="top">196.0</td></tr><tr><td align="left" valign="top">Duration of umbilical venous catheterization (days)</td><td align="left" valign="top">151.0</td></tr><tr><td align="left" valign="top">Age at intubation (days)</td><td align="left" valign="top">141.0</td></tr><tr><td align="left" valign="top">Mode of delivery</td><td align="left" valign="top">82.0</td></tr><tr><td align="left" valign="top">Exclusive breastfeeding at discharge<sup><xref ref-type="table-fn" rid="table1fn2">b</xref></sup></td><td align="left" valign="top">78.0</td></tr><tr><td align="left" valign="top">Patient age at admission (days)</td><td align="left" valign="top">69.0</td></tr><tr><td align="left" valign="top">Umbilical line age (days)</td><td align="left" valign="top">56.0</td></tr><tr><td align="left" valign="top">Sex</td><td align="left" valign="top">52.0</td></tr><tr><td align="left" valign="top">APGAR at 5 minutes</td><td align="left" valign="top">43.0</td></tr><tr><td align="left" valign="top">Age at central line insertion (days)</td><td align="left" valign="top">36.0</td></tr><tr><td align="left" valign="top">Low birth weight</td><td align="left" valign="top">33.0</td></tr><tr><td align="left" valign="top">Very low birth weight</td><td align="left" valign="top">28.0</td></tr><tr><td align="left" valign="top">Surgical procedure</td><td align="left" valign="top">25.0</td></tr><tr><td align="left" valign="top">Extremely low birth weight</td><td align="left" valign="top">22.0</td></tr><tr><td align="left" valign="top">Normal birth weight</td><td align="left" valign="top">22.0</td></tr><tr><td align="left" valign="top">Prolonged rupture of membranes</td><td align="left" valign="top">21.0</td></tr><tr><td align="left" valign="top">Umbilical venous catheter</td><td align="left" valign="top">18.0</td></tr><tr><td align="left" valign="top">Intervention</td><td align="left" valign="top">16.0</td></tr><tr><td align="left" valign="top">Intubation in relation to blood culture sampling</td><td align="left" valign="top">12.0</td></tr><tr><td align="left" valign="top">Chest tube</td><td align="left" valign="top">9.0</td></tr><tr><td align="left" valign="top">Hepatitis B vaccine</td><td align="left" valign="top">1.0</td></tr><tr><td align="left" valign="top">Central line insertion in relation to blood culture sampling</td><td align="left" valign="top">1.0</td></tr><tr><td align="left" valign="top">Blood transfusions</td><td align="left" valign="top">0.0</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>APGAR: appearance, pulse, grimace, activity, and respiration.</p></fn><fn id="table1fn2"><p><sup>b</sup>Exclusive breastfeeding at discharge was included in model-derived feature importance only. It is not a clinically valid predictor for real-time sepsis prediction because it was not temporally available. No causal or clinical inference should be made from this variable.</p></fn></table-wrap-foot></table-wrap><p>The most significant predictors of sepsis included CRP (<italic>F</italic> score=826.0), PLT (<italic>F</italic> score=641.0), hemoglobin (<italic>F</italic> score=561.0), and GA (<italic>F</italic> score=395.0). Moderately influential predictors were WBC count (<italic>F</italic> score=497.0) and neutrophil percentage (<italic>F</italic> score=416.0), with elevated neutrophils being strongly associated with bacterial invasion, consistent with the pathophysiology of sepsis. The APGAR score at 1 minute (<italic>F</italic> score=196.0) correlated with perinatal stress, such as hypoxia or trauma, highlighting birth complications as a potentially modifiable risk factor.</p><p>Exclusive breastfeeding at discharge (<italic>F</italic> score=78.0) appeared in the feature importance analysis derived from the trained XGBoost model; however, it is not temporally available at the time of prediction and therefore is not a clinically valid predictor for real-time sepsis detection.</p><p>In contrast, central line insertion and chest tube interventions had much lower <italic>F</italic> scores, suggesting a smaller role in model decisions. This analysis highlights which clinical parameters are most vital for predicting NS.</p></sec><sec id="s3-2"><title>Overall Model Performance</title><p>All 3 ML models were evaluated for their ability to predict NS. XGBoost showed the best accuracy and discriminatory power, followed by the decision tree and neural network models. Across models, the incorporation of class imbalance handling, feature selection, and overfitting mitigation contributed to improved sensitivity for minority sepsis cases while maintaining balanced performance for the majority class. The overall trends suggest that tree-based models, particularly gradient boosting, may be better suited for structured neonatal EHR data, while neural networks demonstrated moderate performance likely limited by dataset size and hyperparameter sensitivity.</p><p>The results are summarized in <xref ref-type="table" rid="table2">Table 2</xref>. Each model offered unique strengths and trade-offs regarding accuracy, recall, and precision, reflecting its suitability for this specific task.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Comparative performance metrics of machine learning models for neonatal sepsis prediction<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup>.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Models</td><td align="left" valign="bottom">Accuracy, % (95% CI)</td><td align="left" valign="bottom">Precision</td><td align="left" valign="bottom">Recall (95% CI)</td><td align="left" valign="bottom"><italic>F</italic><sub>1</sub>-score</td><td align="left" valign="bottom">AUC<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup> (95% CI)</td></tr></thead><tbody><tr><td align="left" valign="top">Extreme Gradient Boosting</td><td align="left" valign="top">94 (92-96)</td><td align="left" valign="top">0.91</td><td align="left" valign="top">0.98 (0.96-0.99)</td><td align="left" valign="top">0.94</td><td align="left" valign="top">0.98 (0.97-0.99)</td></tr><tr><td align="left" valign="top">Neural network</td><td align="left" valign="top">75 (71-78)</td><td align="left" valign="top">0.74</td><td align="left" valign="top">0.73 (0.69-0.76)</td><td align="left" valign="top">0.74</td><td align="left" valign="top">0.81 (0.78-0.84)</td></tr><tr><td align="left" valign="top">Decision tree</td><td align="left" valign="top">80 (77-83)</td><td align="left" valign="top">0.77</td><td align="left" valign="top">0.84 (0.81-0.87)</td><td align="left" valign="top">0.80</td><td align="left" valign="top">0.86 (0.83-0.89)</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>All metrics were calculated on the independent test set (N=655).</p></fn><fn id="table2fn2"><p><sup>b</sup>AUC: area under the receiver operating characteristic curve.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-3"><title>XGBoost Performance</title><p>XGBoost demonstrated superior performance among the 3 models. It achieved a mean cross-validation accuracy of 93.7% (SD 1.2%) and a test accuracy of 94% (95% CI 92%-96%; 616/655, 94% correct predictions), making it the most effective model for this task. For sepsis=0, precision was 0.98 (95% CI 0.96-0.99) and recall was 0.91 (95% CI 0.88-0.93), while for sepsis=1, precision was 0.91 (95% CI 0.88-0.93) and recall was 0.98 (95/97, 98% sepsis cases, 95% CI 0.96 to &#x2013;0.99). The <italic>F</italic><sub>1</sub>-score for both classes was 0.94, reflecting a strong balance between precision and recall.</p><p><xref ref-type="fig" rid="figure3">Figure 3</xref> shows the receiver operating characteristic (ROC) curve for XGBoost, with an AUC of 0.98 (95% CI 0.97-0.99), indicating excellent discriminatory power. The curve rises steeply near the y-axis, demonstrating the model&#x2019;s ability to correctly classify positive cases while maintaining a minimal false-positive rate. Its proximity to the upper-left corner emphasizes high sensitivity and specificity. These results underscore XGBoost&#x2019;s robustness in handling structured and imbalanced datasets. Its incorporation of class weights and regularization enables a focus on minority classes without compromising overall accuracy, and minimal variation in cross-validation scores confirms stability and generalization capability.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Receiver operating characteristic (ROC) curve for the Extreme Gradient Boosting (XGBoost) model demonstrating high discriminatory power.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e88732_fig03.png"/></fig></sec><sec id="s3-4"><title>Neural Network Performance</title><p>The neural network model, despite its flexibility in modeling complex relationships, underperformed compared to XGBoost. It achieved a test accuracy of 75% (95% CI 71%-78%; 491/655, 75% correct predictions). For sepsis=0, precision was 0.76 (95% CI 0.73-0.79) and recall was 0.77 (95% CI 0.74-0.80). For sepsis=1, precision was 0.74 (95% CI 0.71-0.77) and recall was 0.73 (71/97, 73% sepsis cases, 95% CI 0.70 to &#x2013;0.76). <xref ref-type="fig" rid="figure4">Figure 4</xref> shows the ROC curve for the neural network, with an AUC of 0.81 (95% CI 0.78-0.84). The curve demonstrates a good, although not perfect, ability to discriminate between positive and negative cases. Its upward trajectory reflects the model&#x2019;s capacity to achieve a high true-positive rate while maintaining a moderate false-positive rate, although deviations from the upper-left corner indicate some misclassification. The lower performance likely stems from the limited dataset size, the neural network&#x2019;s sensitivity to hyperparameters, and the structured nature of the data, which tree-based models such as XGBoost handle more efficiently. Despite these limitations, the neural network demonstrated reasonable predictive capability and could potentially improve with hyperparameter tuning, feature scaling, or a larger dataset.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Receiver operating characteristic (ROC) curve for the neural network model in neonatal sepsis prediction.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e88732_fig04.png"/></fig></sec><sec id="s3-5"><title>Decision Tree Performance</title><p>Decision trees are inherently interpretable, making them valuable in clinical applications where understanding model decisions is critical. Pruning techniques, including limiting tree depth and controlling the minimum number of samples per split and leaf, mitigated overfitting and ensured generalization.</p><p>The decision tree achieved a mean cross-validation accuracy of 79.1% and a test accuracy of 80% (95% CI 77%-83%; 524/655, 80% correct predictions). Precision and recall were relatively balanced across both classes. For sepsis=0, precision was 0.83 (95% CI 0.80-0.86) and recall was 0.77 (95% CI 0.74-0.80), while for sepsis=1, precision was 0.77 (95% CI 0.74-0.80) and recall was 0.84 (81/97, 84% sepsis cases, 95% CI 0.81 to &#x2013;0.87). The <italic>F</italic><sub>1</sub>-score was 0.80 for both classes. <xref ref-type="fig" rid="figure5">Figure 5</xref> shows the ROC curve, with an AUC of 0.86 (95% CI 0.83-0.89), reflecting good discriminative performance. The curve demonstrates the model&#x2019;s ability to correctly identify positive cases, although a moderate false-positive rate is observed. Although its performance was lower than that of XGBoost, the decision tree provides an interpretable and clinically useful alternative for NS prediction.</p><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>Receiver operating characteristic (ROC) curve for the decision tree model in neonatal sepsis classification.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e88732_fig05.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><p>In this retrospective cohort study of 3274 neonates in a Jordanian tertiary NICU, the XGBoost ML model achieved excellent discrimination for culture-confirmed NS, with an accuracy of 94% (616/655 correct predictions, 95% CI 92%-96%), a sensitivity of 98% (95/97 sepsis cases, 95% CI 96%-99%), a specificity of 91% (508/558 nonsepsis cases, 95% CI 89%-93%), and an AUC of 0.98 (95% CI 0.97-0.99), outperforming neural networks (AUC 0.81, 95% CI 0.78-0.84) and decision trees (AUC 0.86, 95% CI 0.83-0.89).</p><sec id="s4-1"><title>Model Performance and Clinical Implications</title><p>This study highlights the transformative potential of ML for NS prediction, especially in resource-constrained settings. XGBoost emerged as the top-performing model, achieving consistent performance across all folds with a mean accuracy of 93.7% (SD 1.2%), a mean AUC of 0.98 (SD 0.01), and a mean sensitivity of 0.97 (SD 0.02). Minimal fold-wise variance confirmed strong generalizability, with better performance than neural networks (AUC 0.81, 95% CI 0.78-0.84) and decision trees (AUC 0.86, 95% CI 0.83-0.89).</p><p>These findings align with prior studies identifying gradient-boosting algorithms as particularly well-suited for structured medical data due to their robustness against class imbalance and capacity for regularization [<xref ref-type="bibr" rid="ref19">19</xref>,<xref ref-type="bibr" rid="ref22">22</xref>]. A recent systematic review also identified ensemble methods such as XGBoost among the top-performing models, despite heterogeneity in study designs and outcomes [<xref ref-type="bibr" rid="ref26">26</xref>]. Our model (AUC 0.98) compares favorably with LMIC-based studies, including a regression nomogram from Ethiopia (AUC 0.81) [<xref ref-type="bibr" rid="ref25">25</xref>] and an electronic medical record&#x2013;based model from Uganda with moderate performance [<xref ref-type="bibr" rid="ref24">24</xref>]. Together, these findings suggest that gradient boosting may outperform traditional regression approaches in LMIC settings, although external validation remains necessary.</p><p>Feature importance analysis further reinforced clinical relevance, with CRP, PLT, and GA identified as top predictors, consistent with established biomarkers for early sepsis detection [<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref18">18</xref>].</p><p>Decision trees, while slightly less accurate (accuracy 80%, 95% CI 77%-83%; AUC 0.86, 95% CI 0.83-0.89), provided interpretable decision pathways that may support clinical decision-making and bridge the gap between algorithmic outputs and bedside practice [<xref ref-type="bibr" rid="ref22">22</xref>].</p></sec><sec id="s4-2"><title>Addressing Methodological Challenges</title><p>Class imbalance, a pervasive issue in medical ML, was mitigated using SMOTE oversampling and class-weighted loss functions, improving sensitivity to sepsis cases (recall 0.98, 95% CI 0.96&#x2010;0.99) without compromising specificity [<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref18">18</xref>]. Overfitting risks were addressed via L1/L2 regularization in XGBoost and neural networks, alongside constrained tree depth in decision trees [<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref19">19</xref>]. Cross-validation ensured internal generalizability, although the single-center, retrospective design limits external validity. Collectively, these strategies may enhance model reliability and adhere to best practices for ML implementation in LMICs [<xref ref-type="bibr" rid="ref15">15</xref>,<xref ref-type="bibr" rid="ref20">20</xref>-<xref ref-type="bibr" rid="ref26">26</xref>].</p></sec><sec id="s4-3"><title>Strengths</title><p>This study demonstrates high diagnostic accuracy, with XGBoost achieving an AUC of 0.98 (95% CI 0.97-0.99), surpassing conventional biomarker-based approaches and enabling timely identification of NS. The model effectively identifies actionable predictors, including CRP, PLT, and GA, which align with clinical workflows and support targeted monitoring. Additionally, the study effectively addressed class imbalance using SMOTE and class-weighted loss functions, improving detection of sepsis cases without compromising performance for the majority class. Collectively, these methodological innovations may enhance the robustness and clinical relevance of the predictive framework for LMIC neonatal populations.</p></sec><sec id="s4-4"><title>Limitations</title><p>The retrospective, single-center design may introduce selection bias and limits generalizability to other NICU settings or populations. The analysis was restricted to culture-positive cases, which may exclude culture-negative sepsis, limiting the ability to predict sepsis in its earliest stages. The timing of feature availability relative to sepsis onset is also uncertain, which may impact true early prediction. Although temporal constraints were applied to all procedural variables included in the predictive models, some laboratory and intervention-related variables may still partially reflect clinician-driven diagnostic or treatment decisions rather than purely biological manifestations of NS. Consequently, feature importance should be interpreted as reflecting predictive utility within the study cohort rather than causal relationships. Although cross-validation reduces overfitting, external validation in multicenter prospective cohorts is necessary to confirm model performance. Exclusive breastfeeding at discharge was included only in descriptive analyses and feature importance. It was not available at the time of prediction and is not a clinically valid predictor for real-time sepsis detection due to temporal misalignment. An additional limitation relates to missing data handling. Although mean and mode imputation provided a simple and consistent preprocessing strategy across all ML models, this approach assumes that missing values can be adequately represented by measures of central tendency. Because missingness in EHRs is often informative and not completely at random, the present results should be interpreted with this limitation in mind. Future studies should investigate advanced imputation techniques, such as multiple imputation, missing-indicator approaches, sensitivity analyses under different missingness assumptions, and missingness-aware learning methods, to evaluate their impact on predictive performance and model robustness. Finally, algorithmic transparency and data privacy considerations could influence clinical trust and adoption, highlighting the need for interpretability tools and secure integration into EHR systems.</p></sec><sec id="s4-5"><title>Future Directions</title><p>Prospective multicenter validation is essential to ensure the robustness and generalizability of the models across diverse geographic and demographic neonatal cohorts. Recent comprehensive reviews have highlighted both the potential and the challenges of implementing AI for NS in resource-limited settings, emphasizing the need for context-specific solutions and robust external validation [<xref ref-type="bibr" rid="ref27">27</xref>]. Integrating AMR data into ML frameworks could optimize antibiotic stewardship and support clinical decision-making in LMIC settings. Region-specific model tuning, using localized datasets and tailored algorithms, could enhance predictive accuracy and applicability for neonatal populations with unique epidemiological characteristics. Furthermore, the adoption of interpretability tools such as Shapley Additive Explanations (SHAP) or Local Interpretable Model-Agnostic Explanations (LIME) can improve clinician trust, facilitate integration into EHR systems, and support transparent, actionable insights for bedside decision-making. These interpretability considerations align with recommendations from recent scoping reviews, which emphasize that clinician trust and model transparency are critical barriers to real-world implementation of ML for NS [<xref ref-type="bibr" rid="ref28">28</xref>].</p></sec><sec id="s4-6"><title>Conclusions</title><p>This study represents the first ML-driven approach tailored to NS prediction in Jordan, addressing diagnostic gaps and highlighting the need for region-specific models in LMICs. Our findings demonstrate that ML models, particularly XGBoost, can integrate heterogeneous clinical, laboratory, and demographic data to provide actionable predictions, potentially enabling earlier interventions and improved neonatal outcomes. Although challenges such as class imbalance, data limitations, and ethical considerations remain, methodological innovations in regularization, oversampling, and interpretability may enhance model reliability and usability. Future work should focus on prospective multicenter validation, incorporation of AMR patterns, and equitable model deployment to support clinical decision-making and reduce neonatal mortality in resource-limited settings.</p></sec></sec></body><back><ack><p>The authors extend their gratitude to Mrs Safa Al Momani from the Information Technology department and Mr Khader Al Zaben from the Department of Statistics at Jordan University Hospital for their invaluable assistance in facilitating access to data from the electronic health record system. All authors declare that they had insufficient funding to support the open access publication of this manuscript, including from affiliated organizations or institutions, funding agencies, or other organizations. JMIR Publications provided article processing fee (APF) support for the publication of this article. The APF support was approved for #02 geobased-LMIC. The authors also declare that generative AI technology (ChatGPT-4.0; OpenAI) was used exclusively to enhance readability and language clarity during manuscript preparation. Specifically, it assisted with grammar and syntax refinement, sentence structure optimization, and terminology consistency. All AI-generated content was rigorously reviewed, fact-checked, and edited by the authors. No AI was used for data analysis, clinical interpretation, or decision-making.</p></ack><notes><sec><title>Funding</title><p>The authors received no financial support, grants, or funding from any organization for the conduct of this study or the preparation of this manuscript.</p></sec><sec><title>Data Availability</title><p>The anonymized datasets generated and/or analyzed during the current study are available upon reasonable request from the corresponding author or the fourth author. The analysis code and deidentified data underlying the results reported in this study can be made available for further research collaborations.</p></sec></notes><fn-group><fn fn-type="con"><p>Conceptualization: EB, OA-S, LTA, ATAG, AAA, AS, LA-A, SAJ, AA, TY, SR, HA-J</p><p>Data curation: OA-S, LTA, LA-A, SAJ, AA</p><p>Formal analysis: ATAG, AAA, AS</p><p>Investigation: OA-S, LTA, AS, LA-A, SAJ, AA</p><p>Methodology: EB, ATAG, AAA</p><p>Project administration: EB</p><p>Resources: EB</p><p>Supervision: EB</p><p>Validation: EB, OA-S, LTA, ATAG, AAA, AS, LA-A, SAJ, AA, TY, SR, HA-J</p><p>Writing&#x2014;original draft: EB, OA-S, LTA, ATAG, AAA, AS, LA-A, SAJ, AA</p><p>Writing&#x2014;review and editing: AS, AA, TY, SR, HA-J</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AMR</term><def><p>antimicrobial resistance</p></def></def-item><def-item><term id="abb2">APGAR</term><def><p>appearance, pulse, grimace, activity, and respiration</p></def></def-item><def-item><term id="abb3">AUC</term><def><p>area under the receiver operating characteristic curve</p></def></def-item><def-item><term id="abb4">CRP</term><def><p>C-reactive protein</p></def></def-item><def-item><term id="abb5">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb6">GA</term><def><p>gestational age</p></def></def-item><def-item><term id="abb7">IRB</term><def><p>institutional review board</p></def></def-item><def-item><term id="abb8">LIME</term><def><p>Local Interpretable Model-Agnostic Explanations</p></def></def-item><def-item><term id="abb9">LMIC</term><def><p>low- and middle-income country</p></def></def-item><def-item><term id="abb10">ML</term><def><p>machine learning</p></def></def-item><def-item><term id="abb11">MLP</term><def><p>multilayer perceptron</p></def></def-item><def-item><term id="abb12">NICU</term><def><p>neonatal intensive care unit</p></def></def-item><def-item><term id="abb13">NS</term><def><p>neonatal sepsis</p></def></def-item><def-item><term id="abb14">PLT</term><def><p>platelet count</p></def></def-item><def-item><term id="abb15">PROM</term><def><p>prolonged rupture of membranes</p></def></def-item><def-item><term id="abb16">ReLU</term><def><p>rectified linear unit</p></def></def-item><def-item><term id="abb17">ROC</term><def><p>receiver operating characteristic</p></def></def-item><def-item><term id="abb18">SHAP</term><def><p>Shapley Additive Explanations</p></def></def-item><def-item><term id="abb19">SMOTE</term><def><p>synthetic minority oversampling technique</p></def></def-item><def-item><term id="abb20">WBC</term><def><p>white blood cell</p></def></def-item><def-item><term id="abb21">XGBoost</term><def><p>Extreme Gradient Boosting</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="web"><article-title>Newborns: improving survival and well-being</article-title><source>World Health Organization</source><year>2020</year><access-date>2025-07-04</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.who.int/westernpacific/newsroom/fact-sheets/detail/newborns-reducing-mortality">https://www.who.int/westernpacific/newsroom/fact-sheets/detail/newborns-reducing-mortality</ext-link></comment></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fleischmann</surname><given-names>C</given-names> </name><name name-style="western"><surname>Reichert</surname><given-names>F</given-names> </name><name name-style="western"><surname>Cassini</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Global incidence and mortality of neonatal sepsis: a systematic review and meta-analysis</article-title><source>Arch Dis Child</source><year>2021</year><month>07</month><day>19</day><volume>106</volume><issue>8</issue><fpage>745</fpage><lpage>752</lpage><pub-id pub-id-type="doi">10.1136/archdischild-2020-320217</pub-id><pub-id pub-id-type="medline">33483376</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Al-Momani</surname><given-names>MM</given-names> </name></person-group><article-title>Admission patterns and risk factors linked with neonatal mortality: a hospital-based retrospective study</article-title><source>Pak J Med Sci</source><year>2020</year><volume>36</volume><issue>6</issue><fpage>1371</fpage><lpage>1376</lpage><pub-id pub-id-type="doi">10.12669/pjms.36.6.2281</pub-id><pub-id pub-id-type="medline">32968411</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hayes</surname><given-names>R</given-names> </name><name name-style="western"><surname>Hartnett</surname><given-names>J</given-names> </name><name name-style="western"><surname>Semova</surname><given-names>G</given-names> </name><etal/></person-group><article-title>Neonatal sepsis definitions from randomised clinical trials</article-title><source>Pediatr Res</source><year>2023</year><month>04</month><volume>93</volume><issue>5</issue><fpage>1141</fpage><lpage>1148</lpage><pub-id pub-id-type="doi">10.1038/s41390-021-01749-3</pub-id><pub-id pub-id-type="medline">34743180</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zea-Vera</surname><given-names>A</given-names> </name><name name-style="western"><surname>Ochoa</surname><given-names>TJ</given-names> </name></person-group><article-title>Challenges in the diagnosis and management of neonatal sepsis</article-title><source>J Trop Pediatr</source><year>2015</year><month>02</month><volume>61</volume><issue>1</issue><fpage>1</fpage><lpage>13</lpage><pub-id pub-id-type="doi">10.1093/tropej/fmu079</pub-id><pub-id pub-id-type="medline">25604489</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Boghossian</surname><given-names>NS</given-names> </name><name name-style="western"><surname>Page</surname><given-names>GP</given-names> </name><name name-style="western"><surname>Bell</surname><given-names>EF</given-names> </name><etal/></person-group><article-title>Late-onset sepsis in very low birth weight infants from singleton and multiple-gestation births</article-title><source>J Pediatr</source><year>2013</year><month>06</month><volume>162</volume><issue>6</issue><fpage>1120</fpage><lpage>1124</lpage><pub-id pub-id-type="doi">10.1016/j.jpeds.2012.11.089</pub-id><pub-id pub-id-type="medline">23324523</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gonsalves</surname><given-names>WI</given-names> </name><name name-style="western"><surname>Cornish</surname><given-names>N</given-names> </name><name name-style="western"><surname>Moore</surname><given-names>M</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>A</given-names> </name><name name-style="western"><surname>Varman</surname><given-names>M</given-names> </name></person-group><article-title>Effects of volume and site of blood draw on blood culture results</article-title><source>J Clin Microbiol</source><year>2009</year><month>11</month><volume>47</volume><issue>11</issue><fpage>3482</fpage><lpage>3485</lpage><pub-id pub-id-type="doi">10.1128/JCM.02107-08</pub-id><pub-id pub-id-type="medline">19794050</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Thomson</surname><given-names>KM</given-names> </name><name name-style="western"><surname>Dyer</surname><given-names>C</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Effects of antibiotic resistance, drug target attainment, bacterial pathogenicity and virulence, and antibiotic access and affordability on outcomes in neonatal sepsis: an international microbiology and drug evaluation prospective substudy (BARNARDS)</article-title><source>Lancet Infect Dis</source><year>2021</year><month>12</month><volume>21</volume><issue>12</issue><fpage>1677</fpage><lpage>1688</lpage><pub-id pub-id-type="doi">10.1016/S1473-3099(21)00050-5</pub-id><pub-id pub-id-type="medline">34384533</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Masino</surname><given-names>AJ</given-names> </name><name name-style="western"><surname>Harris</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Forsyth</surname><given-names>D</given-names> </name><etal/></person-group><article-title>Machine learning models for early sepsis recognition in the neonatal intensive care unit using readily available electronic health record data</article-title><source>PLoS One</source><year>2019</year><volume>14</volume><issue>2</issue><fpage>e0212665</fpage><pub-id pub-id-type="doi">10.1371/journal.pone.0212665</pub-id><pub-id pub-id-type="medline">30794638</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shashikumar</surname><given-names>SP</given-names> </name><name name-style="western"><surname>Stanley</surname><given-names>MD</given-names> </name><name name-style="western"><surname>Sadiq</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Early sepsis detection in critical care patients using multiscale blood pressure and heart rate dynamics</article-title><source>J Electrocardiol</source><year>2017</year><volume>50</volume><issue>6</issue><fpage>739</fpage><lpage>743</lpage><pub-id pub-id-type="doi">10.1016/j.jelectrocard.2017.08.013</pub-id><pub-id pub-id-type="medline">28916175</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Persad</surname><given-names>E</given-names> </name><name name-style="western"><surname>Jost</surname><given-names>K</given-names> </name><name name-style="western"><surname>Honor&#x00E9;</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Neonatal sepsis prediction through clinical decision support algorithms: a systematic review</article-title><source>Acta Paediatr</source><year>2021</year><month>12</month><volume>110</volume><issue>12</issue><fpage>3201</fpage><lpage>3226</lpage><pub-id pub-id-type="doi">10.1111/apa.16083</pub-id><pub-id pub-id-type="medline">34432903</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Delahanty</surname><given-names>RJ</given-names> </name><name name-style="western"><surname>Kaufman</surname><given-names>D</given-names> </name><name name-style="western"><surname>Jones</surname><given-names>SS</given-names> </name></person-group><article-title>Development and evaluation of an automated machine learning algorithm for in-hospital mortality risk adjustment among critical care patients</article-title><source>Crit Care Med</source><year>2018</year><month>06</month><volume>46</volume><issue>6</issue><fpage>e481</fpage><lpage>e488</lpage><pub-id pub-id-type="doi">10.1097/CCM.0000000000003011</pub-id><pub-id pub-id-type="medline">29419557</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Nemati</surname><given-names>S</given-names> </name><name name-style="western"><surname>Holder</surname><given-names>A</given-names> </name><name name-style="western"><surname>Razmi</surname><given-names>F</given-names> </name><name name-style="western"><surname>Stanley</surname><given-names>MD</given-names> </name><name name-style="western"><surname>Clifford</surname><given-names>GD</given-names> </name><name name-style="western"><surname>Buchman</surname><given-names>TG</given-names> </name></person-group><article-title>An interpretable machine learning model for accurate prediction of sepsis in the ICU</article-title><source>Crit Care Med</source><year>2018</year><month>04</month><volume>46</volume><issue>4</issue><fpage>547</fpage><lpage>553</lpage><pub-id pub-id-type="doi">10.1097/CCM.0000000000002936</pub-id><pub-id pub-id-type="medline">29286945</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Islam</surname><given-names>KR</given-names> </name><name name-style="western"><surname>Prithula</surname><given-names>J</given-names> </name><name name-style="western"><surname>Kumar</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Machine learning-based early prediction of sepsis using electronic health records: a systematic review</article-title><source>J Clin Med</source><year>2023</year><month>08</month><day>30</day><volume>12</volume><issue>17</issue><fpage>5658</fpage><pub-id pub-id-type="doi">10.3390/jcm12175658</pub-id><pub-id pub-id-type="medline">37685724</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>T&#x0105;del</surname><given-names>K</given-names> </name><name name-style="western"><surname>Dudek</surname><given-names>A</given-names> </name><name name-style="western"><surname>Bil-Lula</surname><given-names>I</given-names> </name></person-group><article-title>AI algorithms for modeling the risk, progression, and treatment of sepsis, including early-onset sepsis-a systematic review</article-title><source>J Clin Med</source><year>2024</year><month>10</month><day>7</day><volume>13</volume><issue>19</issue><fpage>5959</fpage><pub-id pub-id-type="doi">10.3390/jcm13195959</pub-id><pub-id pub-id-type="medline">39408019</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hsu</surname><given-names>JF</given-names> </name><name name-style="western"><surname>Chang</surname><given-names>YF</given-names> </name><name name-style="western"><surname>Cheng</surname><given-names>HJ</given-names> </name><etal/></person-group><article-title>Machine learning approaches to predict in-hospital mortality among neonates with clinically suspected sepsis in the neonatal intensive care unit</article-title><source>J Pers Med</source><year>2021</year><month>07</month><day>22</day><volume>11</volume><issue>8</issue><fpage>695</fpage><pub-id pub-id-type="doi">10.3390/jpm11080695</pub-id><pub-id pub-id-type="medline">34442338</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mani</surname><given-names>S</given-names> </name><name name-style="western"><surname>Ozdas</surname><given-names>A</given-names> </name><name name-style="western"><surname>Aliferis</surname><given-names>C</given-names> </name><etal/></person-group><article-title>Medical decision support using machine learning for early detection of late-onset neonatal sepsis</article-title><source>J Am Med Inform Assoc</source><year>2014</year><volume>21</volume><issue>2</issue><fpage>326</fpage><lpage>336</lpage><pub-id pub-id-type="doi">10.1136/amiajnl-2013-001854</pub-id><pub-id pub-id-type="medline">24043317</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Matsushita</surname><given-names>FY</given-names> </name><name name-style="western"><surname>Krebs</surname><given-names>VL</given-names> </name><name name-style="western"><surname>de Carvalho</surname><given-names>WB</given-names> </name></person-group><article-title>Complete blood count and C-reactive protein to predict positive blood culture among neonates using machine learning algorithms</article-title><source>Clinics (Sao Paulo)</source><year>2022</year><volume>78</volume><fpage>100148</fpage><pub-id pub-id-type="doi">10.1016/j.clinsp.2022.100148</pub-id><pub-id pub-id-type="medline">36502550</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>van den Berg</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Medina</surname><given-names>OO</given-names> </name><name name-style="western"><surname>Loohuis</surname><given-names>II</given-names> </name><etal/></person-group><article-title>Development and clinical impact assessment of a machine-learning model for early prediction of late-onset sepsis</article-title><source>Comput Biol Med</source><year>2023</year><month>09</month><volume>163</volume><fpage>107156</fpage><pub-id pub-id-type="doi">10.1016/j.compbiomed.2023.107156</pub-id><pub-id pub-id-type="medline">37369173</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sullivan</surname><given-names>BA</given-names> </name><name name-style="western"><surname>Kausch</surname><given-names>SL</given-names> </name><name name-style="western"><surname>Fairchild</surname><given-names>KD</given-names> </name></person-group><article-title>Artificial and human intelligence for early identification of neonatal sepsis</article-title><source>Pediatr Res</source><year>2023</year><month>01</month><volume>93</volume><issue>2</issue><fpage>350</fpage><lpage>356</lpage><pub-id pub-id-type="doi">10.1038/s41390-022-02274-7</pub-id><pub-id pub-id-type="medline">36127407</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Robi</surname><given-names>YG</given-names> </name><name name-style="western"><surname>Sitote</surname><given-names>TM</given-names> </name></person-group><article-title>Neonatal disease prediction using machine learning techniques</article-title><source>J Healthc Eng</source><year>2023</year><volume>2023</volume><fpage>3567194</fpage><pub-id pub-id-type="doi">10.1155/2023/3567194</pub-id><pub-id pub-id-type="medline">36875748</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Meeus</surname><given-names>M</given-names> </name><name name-style="western"><surname>Beirnaert</surname><given-names>C</given-names> </name><name name-style="western"><surname>Mahieu</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Clinical decision support for improved neonatal care: the development of a machine learning model for the prediction of late-onset sepsis and necrotizing enterocolitis</article-title><source>J Pediatr</source><year>2024</year><month>03</month><volume>266</volume><fpage>113869</fpage><pub-id pub-id-type="doi">10.1016/j.jpeds.2023.113869</pub-id><pub-id pub-id-type="medline">38065281</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kainth</surname><given-names>D</given-names> </name><name name-style="western"><surname>Gupta</surname><given-names>A</given-names> </name><name name-style="western"><surname>Singh</surname><given-names>P</given-names> </name><etal/></person-group><article-title>A machine learning model for prediction of early-onset neonatal sepsis in low-income and middle-income countries: development and validation study</article-title><source>BMJ Paediatr Open</source><year>2026</year><month>02</month><day>25</day><volume>10</volume><issue>1</issue><fpage>e003561</fpage><pub-id pub-id-type="doi">10.1136/bmjpo-2025-003561</pub-id><pub-id pub-id-type="medline">41741126</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Ezeobi Dennis</surname><given-names>P</given-names> </name><name name-style="western"><surname>Musiimenta</surname><given-names>A</given-names> </name><name name-style="western"><surname>Wasswa</surname><given-names>W</given-names> </name><name name-style="western"><surname>Kyoyagala</surname><given-names>S</given-names> </name></person-group><article-title>A neonatal sepsis prediction algorithm using electronic medical record data from Mbarara Regional Referral Hospital</article-title><source>Intell Based Med</source><year>2025</year><volume>11</volume><fpage>100198</fpage><pub-id pub-id-type="doi">10.1016/j.ibmed.2025.100198</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Geremew</surname><given-names>EM</given-names> </name><name name-style="western"><surname>Mihretie</surname><given-names>KM</given-names> </name><name name-style="western"><surname>Zegeye</surname><given-names>A</given-names> </name><name name-style="western"><surname>Anteneh</surname><given-names>ZA</given-names> </name></person-group><article-title>Risk prediction model for neonatal mortality among neonates hospitalized with sepsis, Bahir Dar, Ethiopia</article-title><source>Sci Rep</source><year>2025</year><month>12</month><day>11</day><volume>16</volume><issue>1</issue><fpage>930</fpage><pub-id pub-id-type="doi">10.1038/s41598-025-30572-7</pub-id><pub-id pub-id-type="medline">41381591</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sahu</surname><given-names>P</given-names> </name><name name-style="western"><surname>Raj Stanly</surname><given-names>EA</given-names> </name><name name-style="western"><surname>Simon Lewis</surname><given-names>LE</given-names> </name><name name-style="western"><surname>Prabhu</surname><given-names>K</given-names> </name><name name-style="western"><surname>Rao</surname><given-names>M</given-names> </name><name name-style="western"><surname>Kunhikatta</surname><given-names>V</given-names> </name></person-group><article-title>Prediction modelling in the early detection of neonatal sepsis</article-title><source>World J Pediatr</source><year>2022</year><month>03</month><volume>18</volume><issue>3</issue><fpage>160</fpage><lpage>175</lpage><pub-id pub-id-type="doi">10.1007/s12519-021-00505-1</pub-id><pub-id pub-id-type="medline">34984642</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kainth</surname><given-names>D</given-names> </name><name name-style="western"><surname>Agarwal</surname><given-names>R</given-names> </name></person-group><article-title>Artificial intelligence in neonatal sepsis: scope, challenges, and potential solutions!</article-title><source>Semin Fetal Neonatal Med</source><year>2026</year><month>02</month><volume>31</volume><issue>1</issue><fpage>101687</fpage><pub-id pub-id-type="doi">10.1016/j.siny.2025.101687</pub-id><pub-id pub-id-type="medline">41290495</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>O&#x2019;Sullivan</surname><given-names>C</given-names> </name><name name-style="western"><surname>Tsai</surname><given-names>DH</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>IC</given-names> </name><etal/></person-group><article-title>Machine learning applications on neonatal sepsis treatment: a scoping review</article-title><source>BMC Infect Dis</source><year>2023</year><month>06</month><day>29</day><volume>23</volume><issue>1</issue><fpage>441</fpage><pub-id pub-id-type="doi">10.1186/s12879-023-08409-3</pub-id><pub-id pub-id-type="medline">37386442</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Description of predictor variables and definitions.</p><media xlink:href="medinform_v14i1e88732_app1.docx" xlink:title="DOCX File, 22 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Baseline characteristics.</p><media xlink:href="medinform_v14i1e88732_app2.docx" xlink:title="DOCX File, 15 KB"/></supplementary-material><supplementary-material id="app3"><label>Multimedia Appendix 3</label><p>Mathematical formulations of Extreme Gradient Boosting, neural network, and decision tree models.</p><media xlink:href="medinform_v14i1e88732_app3.docx" xlink:title="DOCX File, 51 KB"/></supplementary-material></app-group></back></article>