Machine and Deep Learning Models for Hypoxemia Severity Triage in CBRNE Emergencies Authors: Santino Nanini, Mariem Abid, Yassir Mamouni, Arnaud Wiedemann, Philippe Jouvet, Stephane Bourassa Published: 2024 ABSTRACT Background/Objectives: This study develops machine learning (ML) models to predict hypoxemia severity during emergency triage, particularly in Chemical, Biological, Radiological, Nuclear, and Explosive (CBRNE) scenarios, using physiological data from medical-grade sensors. Methods: Tree-based models (TBMs) such as XGBoost, LightGBM, CatBoost, Random Forests (RFs), Voting Classifier ensembles, and sequential models (LSTM, GRU) were trained on the MIMIC-III and IV datasets. A preprocessing pipeline addressed missing data, class imbalances, and synthetic data flagged with masks. Models were evaluated using a 5-min prediction window with minute-level interpolations for timely interventions. Results: TBMs outperformed sequential models in speed, interpretability, and reliability, making them better suited for real-time decision-making. Feature importance analysis identified six key physiological variables from the enhanced NEWS2+ score and emphasized the value of mask and score features for transparency. Voting Classifier ensembles showed slight metric gains but did not outperform individually optimized models, facing a precision-sensitivity tradeoff and slightly lower F1-scores for key severity levels. Conclusions: TBMs were effective for real-time hypoxemia prediction, while sequential models, though better at temporal handling, were computationally costly. This study highlights ML’s potential to improve triage systems and reduce alarm fatigue, with future plans to incorporate multi-hospital datasets for broader applicability. 1. Introduction Rapid and accurate patient triage is essential during disaster situations, especially in Chemical, Biological, Radiological, Nuclear, and Explosive (CBRNE) events [1,2,3,4]. These incidents often lead to mass casualties and chaotic environments, overwhelming traditional triage systems. The VIMY Multi-System is a technologically enhanced response platform designed to improve casualty management in these complex scenarios. Initiated at the Grouping in AI acute care for the child (CHU Ste Justine, Montreal, QC, Canada) (https://www.chusj-sip-ia.ca/) as part of the VIMY research program, this system leverages artificial intelligence (AI) to manage casualties in disaster settings, including CBRNE events. More specifically, the VIMY Multi-System [5,6,7,8] is a field-deployable intensive care unit that integrates AI, sensors, and decision-making algorithms to improve healthcare during disasters (Figure 1). The core framework of the VIMY system incorporates an Electronic Casualty Card System (ECCS), functioning as a dashboard that integrates monitoring, scoring, and treatment data (Figure 2). Its primary aim is to equip frontline personnel with advanced tools to overcome the limitations of current triage and early warning systems (EWSs), particularly in CBRNE scenarios, by harnessing machine learning to enhance patient care. This paper specifically focuses on the development of predictive algorithms that are fundamental to the ECCS, thereby contributing directly to the improvement of these critical systems within the VIMY project. EWSs are tools used in healthcare to assess the severity of a patient’s condition by monitoring key physiological parameters, such as heart rate, blood pressure, respiratory rate, temperature, and level of consciousness. EWSs help healthcare providers identify patients at risk of deterioration, enabling timely interventions. By tracking vital signs and assigning scores based on their values, EWSs aid in the early detection of patients who may need closer monitoring or medical intervention. EWS such as NEWS2 [9,10,11,12], PWES [13,14,15,16], the Pediatric Vital Signs Normal Ranges from the Iowa Head and Neck Protocols [17,18], and the Modified Early Warning Score (MEWS) [19,20,21] have been developed to monitor patients’ vital signs [11,22,23]. However, existing EWSs do not predict the worsening of a patient’s condition, which would be crucial for early intervention, especially in pre-clinical scenarios like CBRNE events [11,23,24], where multiple patients are injured simultaneously [24,25]. Machine learning (ML) offers a promising approach to enhance the predictive capabilities of EWS by analyzing complex physiological data [26,27]. In this study, we present the development of ML-based models using data from medical devices to predict hypoxemia severity, aiming to improve triage efficiency and reduce medical staff fatigue. Our models leverage physiological and demographic data (including age, which influences the medical interpretation of physiological constants), focusing on key vital signs such as respiratory rate, SpO2 (oxygen saturation) levels, heart rate, both systolic and diastolic blood pressure, and temperature. These vital signs parameters are key indicators of patients’ physiological status and are crucial for predicting the severity of hypoxemia, as they directly reflect respiratory and cardiovascular functions. In a preclinical context such as CBRNE scenarios, the goal is to rely on a minimal yet highly informative set of data to support rapid decision-making. These parameters, derived from the NEWS2 score, are easily measurable through wearable connected devices, ensuring their availability and practicality in high-stakes environments. Their integration into automated triage models further emphasizes their clinical relevance, enabling real-time predictions to guide timely and precise interventions. This streamlined approach maximizes efficiency while ensuring critical data are readily accessible for decision-making. Hypoxemia, characterized by low oxygen levels in the blood, is a common and critical condition in disaster settings. Accurate assessment of hypoxemia severity is essential for timely intervention. Current efforts to use ML to predict hypoxic events are happening in various settings and showcasing diverse methodologies. The studies differ considerably in patient populations, outcome definitions, predictive features, and ML algorithms, making it hard to generalize their conclusions. Consequently, comparing and evaluating these studies comprehensively is quite challenging [28]. Indeed, a systematic review compares [28] past efforts to predict hypoxic events in hospital settings using machine learning, focusing on methodologies, predictive performance, and the populations assessed. The authors identified 12 studies that predicted hypoxic events or hypoxia markers across various settings, including operating rooms, ICUs, and general care units. The machine learning models applied were based on both conventional ML and deep learning methods. Most studies defined their prediction endpoints using specific thresholds for blood oxygen measurements. Clinical variables included patient characteristics, vital signs, and laboratory data, with blood oxygen data (such as peripheral oxygen saturation, SpO2) being the most frequently used predictor for hypoxia. However, deep learning and conventional ML methods are not directly comparable, as they were applied to different datasets, and performance metrics were inconsistently reported. Additionally, comparability between studies was hindered by the wide variability in approaches, including the differing settings, which introduced various influences on blood oxygen saturation. Moreover, a heterogeneous medical population is beneficial for developing a broadly applicable predictive model for hypoxia in CBRNE situations, as it increases the likelihood of achieving generalized results. Additionally, we believe that the assumption that the model may rely on correlations and patterns among features to build its representations—potentially diverging from the established medical gold standards on which Early Warning Scores (EWS) are based—was not sufficiently developed to be considered a fundamental hypothesis. In medicine, a “gold standard” refers to the most trusted and conventional method for diagnosing diseases, assessing treatment effectiveness, or verifying the accuracy of tests and measurements. This benchmark serves as the reference standard for comparing alternative approaches. In this study, we used datasets from MIMIC-III and IV [29,30,31], employing Gradient Boosting Models [32,33,34] (XGBoost, LightGBM, CatBoost), Random Forest (RF), Voting Classifier ensembles, and sequential models [35,36,37] (LSTM, GRU) to predict hypoxemia severity scores. These scores, which actually are the labels we aim to predict, were based on the newly designed NEWS2+ system adapted for pre-clinical scenarios, like CBRNE events. This adaptation, defined by medical expert annotations in the VIMY research group, includes hypoxemia severity for three population groups (adults with COPD, adults without COPD, and pediatric patients without COPD) and a modified EWS for two population groups (adult and pediatric patients). Our comprehensive preprocessing pipeline addressed missing data and class imbalances, ensuring robust and reliable model training. This paper is structured as follows: Section 2 details the materials and methods, including data preprocessing and model development. Section 3 presents the results of our experiments. In Section 4, we discuss the implications of our findings. Finally, Section 5 concludes the study and outlines future research directions. 2. Materials and Methods 2.1. Data Sources and Libraries Data Sources Data Sources We used the MIMIC-III and MIMIC-IV databases [29,30,31], which are extensive, de-identified health records of ICU patients. MIMIC-IV is an excellent choice for beginners or those seeking to leverage well-established concepts, as it offers a robust and widely used dataset. However, while the HiRID database provides data at 2-min intervals, MIMIC remains the most comprehensive dataset, offering greater breadth and depth for a variety of clinical research applications. Given that, to our knowledge, no public physiological dataset has been collected specifically in a CBRNE context, we used ICU data for this proof of concept. Critical care patients frequently exhibit severe distress patterns akin to those expected in CBRNE scenarios, making these data a suitable proxy. Furthermore, we have a very heterogeneous population, which can actually be beneficial, as our goal is to predict hypoxia in CBRNE situations in a non-specific manner. Indeed, rather than targeting a single scenario, we aim to develop a broadly applicable predictive model. Thus, a diverse population increases the likelihood of achieving broadly applicable results, enhancing the overall scope of our predictive model. Finally, the MIMIC-III dataset includes around 58,000 hospital admissions for over 40,000 unique patients, while MIMIC-IV expands this to over 380,000 admissions for more than 210,000 patients from 2008 to 2019. Both databases offer detailed information, including continuous vital sign monitoring (recorded regularly or very frequently), laboratory results, and demographic details, making them highly applicable to our hypoxemia prediction study. Libraries and Tools Utilized Libraries and Tools Utilized This project employed a variety of Python libraries for data processing, visualization, and machine learning. Core operations were supported by libraries such as os, math, time, json, string, random, and warnings. Data manipulation and analysis were carried out using pandas, numpy, and scipy.stats, with additional support from openpyxl, tables, and pickle for file handling and data storage. Visualization was performed using matplotlib.pyplot and seaborn, enabling clear and informative data analysis. Machine learning tasks were implemented with scikit-learn, which provided tools for model selection, evaluation, and preprocessing. Ensemble methods such as RandomForestClassifier and VotingClassifier were extensively utilized. Gradient boosting frameworks, including xgboost, catboost, and lightgbm, were employed for their high performance and efficiency. Hyperparameter optimization was conducted using hyperopt. Deep learning, specifically for sequential models, was carried out using PyTorch. Key components included Dataset, DataLoader, and torch.nn for designing and training models. Parallelism and performance optimization were achieved with joblib, concurrent.futures, and gc, while progress tracking and visualization were facilitated using tqdm and torch.utils.tensorboard. Development was conducted in the Google Colab paid Pro version, which enabled seamless data integration via drive.mount and provide a robust platform for experimentation. This comprehensive library suite supported the efficient and effective implementation of advanced machine learning and sequential modeling techniques. 2.2. Inclusion Criteria and Data Representativeness Patients were included if they had recorded episodes of hypoxemia or were diagnosed with conditions very often associated with potential low blood oxygenation levels, which made them more likely to experience hypoxemic episodes (see Appendix A Figure A6). A total of 51,368 admissions from 42,599 unique patients were selected based on the International Classification of Diseases (ICD) codes related to hypoxemia and respiratory distress. Figure 3 illustrates the simplified inclusion process. 2.3. Data Preprocessing 2.3.1. Labeling and Feature Engineering The VIMY project research team has initiated a new research wing focused on triage and early-warning systems to support the development of the NEWS2+ early-warning system. NEWS2+ is an extension of the original NEWS2, being revisited in light of recent advancements in the scientific literature, and relevant to pre-clinical contexts. Specifically, the medical experts on the team have focused on adapting the original NEWS2 parameters for application in acute pre-hospital environments. We have developed an alternative method to “inform” the model about what constitutes a trigger value for the physiological variables in question, incorporating an alarm mechanism. Additionally, temporal information is provided for each physiological variable of interest, detailing how long each alarm persisted. Medical experts within the VIMY team have contributed significantly to this initiative, and the adapted chart will be extended for use in disaster scenarios, including CBRNE events. Use of SpO2 for categorization. To categorize hypoxemia severity, we introduced a severity labeling column based on SpO2 values, classifying patients as severe, moderate, mild, or normal. SpO2 was chosen as the central parameter due to its prevalence and accessibility through oximeters in pre-hospital and acute care scenarios. The system assigns scores ranging from 0 (normal) to 3 (severe) based on SpO2 levels, with adjustments for patient age and the presence or absence (Figure 4) of chronic obstructive pulmonary disease (COPD). In certain situations, gold-standard thresholds need to be adapted based on advancements in the literature. For instance, Dempsey et al. [38] described hypoxemia levels in healthy individuals as follows: mild (93–95%), moderate (88–93%), and severe (<88%). Bourassa et al. [8] proposed hypoxemia thresholds of <90% for the general population and <88% for COPD patients in room air conditions [8]. They also set hypoxemia thresholds for supplemental oxygen therapy at >92% for the general population and >94% for those with COPD. Additionally, Johannigman et al. [39] reported notable changes in SpO2 during aeromedical evacuations, where 90% of military personnel experienced at least one desaturation event with SpO2 <90%, and over half dropped below 85% From the medical conditions manually selected in the MIMIC database, COPD cases were identified based on the presence of the following conditions: “Chronic Obstructive Respiratory Disease”, “COPD arising in the perinatal period”, “Chronic obstructive asthma with status asthmaticus”, and “Other chronic bronchitis”, which could have an impact on the SpO2 level in a basal state. Table 1 displays the adapted values for different hypoxemia levels in adults with and without COPD, as well as in the pediatric population without COPD (pediatric population with COPD is not considered in this study). By providing tailored SpO2 thresholds for varying patient needs, the NEWS2+ scoring matrices support comprehensive hypoxemia risk assessment and facilitate targeted clinical responses across diverse patient populations. Feature Engineering Table 2 introduces NEWS2+, an expanded version of the National Early Warning Score 2 (NEWS2), designed to provide a comprehensive assessment of patient status. Developed with the guidance of the VIMY team’s medical experts, NEWS2+ evaluates vital signs using specific thresholds and severity levels derived from established Gold Standards. The matrices presented outline the NEWS2+ scoring system applied to six primary physiological variables—respiratory rate, oxygen saturation (SpO2), heart rate, systolic blood pressure, diastolic blood pressure, and temperature. These scores function as indicators of abnormal vital signs, supporting enhanced data interpretation and predictive modeling. Each physiological variable is assigned a score that reflects its deviation from age-adjusted reference values, offering critical insights for hypoxemia prediction. These NEWS2+-derived feature scores, occasionally referred to as “TAG” for each physiological variable, may be used interchangeably in this work. Table 2 below presents the NEWS2+ matrices used to generate these score features (TAGs), demonstrating the process of assigning individual scores to each physiological variable. 2.3.2. Handling Missing Data and Masks A comprehensive pipeline addressed missing data through imputation and interpolation methods. Missing data accounted for 7.48% of the dataset. We employed a multivariate imputation strategy: Multiple Imputation by Chained Equations (MICE) [41,42,43] using Histogram-based Gradient Boosting. Synthetic data entries were flagged using masks to ensure transparency, in line with recommendations from previous research [42,43,44,45], which are critical for trust in AI-driven decision-making [46]. This approach helps inform the model about which values were imputed, improving interpretability. Specifically, each feature column had an associated mask column, where a value of 0 indicated no synthetic data and a value of 1 indicated the presence of synthetic data in that row. To address irregular time intervals between measurements, we used interpolation to generate regular time series data. Minute-level interpolations were performed using linear interpolation, chosen after comparing it with polynomial and cubic spline methods. Linear interpolation produced the most reliable results for vital signs data, minimizing the risk of implausible physiological values (Table 3). For a quick overview of admissions after imputations and minute-level linear interpolations of key physiological variables, refer to Appendix A Figure A7. We added a mask for the charttimes—the timestamps (at the minute) corresponding to when each set of measurements was recorded—indicating which rows were interpolated to inform the models about synthetic data (same logic as for the imputed values before). This approach aligns with the intuition that linear interpolation can represent gradual changes in a patient’s condition between successive measurements. 2.3.3. Prediction Window To determine an appropriate time window for prediction, we analyzed the average duration of each hypoxemia severity level after interpolation. The mean and median durations for severity scores 0 to 3 were calculated, with severity score 3 having a mean duration of 114.8 min and a median of 60.0 min. Drawing from these observations, practical considerations, discussions with our team’s medical expert, and findings from previous studies [28,47,48], we established a 5-min prediction window as the standard for our models. This timeframe is long enough to allow doctors sufficient time to intervene, while remaining short enough to capture near-term risks that require immediate attention. Additionally, it minimizes the risk of inaccurately predicting events that are too far in the future. This balance ensures timely and actionable medical interventions. The sliding window approach for the sequential models is based on this (see Section 2.6.3). 2.3.4. Data Cleaning and Transformation Duplicated Rows and Admissions Removal: To address potential redundant rows introduced during preprocessing, we merged rows with non-null values recorded at the same charttime (i.e., the same timestamp) within each admission. For eventual duplicate admissions across the combined MIMIC III and IV datasets (which may have different admission IDs), only the most recent occurrence of each redundant row (considering all physiological and demographic features) was retained, while earlier rows were removed to maintain data consistency. This approach ensures that, for each potentially redundant admission, only a single, complete version remains in the final dataset, effectively eliminating duplicate admissions on a row-by-row basis. Duplicated Rows and Admissions Removal: To address potential redundant rows introduced during preprocessing, we merged rows with non-null values recorded at the same charttime (i.e., the same timestamp) within each admission. For eventual duplicate admissions across the combined MIMIC III and IV datasets (which may have different admission IDs), only the most recent occurrence of each redundant row (considering all physiological and demographic features) was retained, while earlier rows were removed to maintain data consistency. This approach ensures that, for each potentially redundant admission, only a single, complete version remains in the final dataset, effectively eliminating duplicate admissions on a row-by-row basis. Outlier Handling: Implausible physiological measurements were replaced with NaN and subsequently imputed to address potential human errors in the electronic health records. Specifically, for six key vital signs variables, we excluded values outside defined ranges: respiratory rate, heart rate, and both systolic and diastolic blood pressure above 300 or below 0; SpO2 above 100 or below 0; and temperature readings above 60 or below 0. To ensure consistency, this step was applied both before and after imputation and interpolation. Outlier Handling: Implausible physiological measurements were replaced with NaN and subsequently imputed to address potential human errors in the electronic health records. Specifically, for six key vital signs variables, we excluded values outside defined ranges: respiratory rate, heart rate, and both systolic and diastolic blood pressure above 300 or below 0; SpO2 above 100 or below 0; and temperature readings above 60 or below 0. To ensure consistency, this step was applied both before and after imputation and interpolation. Data Rounding: Physiological values were rounded in order to standardize precision, which supports model generalization and may reduce the likelihood of overfitting, especially as future work integrates data from additional hospitals. Data Rounding: Physiological values were rounded in order to standardize precision, which supports model generalization and may reduce the likelihood of overfitting, especially as future work integrates data from additional hospitals. Missing values: Imputation by Chained Equations (MICE) using Histogram-based Gradient Boosting was carried out to complete the 7.48% missing values from our preprocessed dataframe Missing values: Imputation by Chained Equations (MICE) using Histogram-based Gradient Boosting was carried out to complete the 7.48% missing values from our preprocessed dataframe Time Alignment: Interpolated data at minute-level intervals to standardize time steps across admissions (synthetic data). Time Alignment: Interpolated data at minute-level intervals to standardize time steps across admissions (synthetic data). 2.3.5. Data Splitting To ensure robust comparisons and avoid data leakage, patient data were split into training, validation, and testing sets, ensuring no patient appeared in more than one set (patient wise not admission wise). Specifically, 75% of patients were allocated to the training set (2015 patients), while the validation and test sets each comprised 12.5% of the patients (212 patients each). 2.4. Exploratory Data Analysis (EDA) Refer to Section 2.6.2 for a clear and concise summary of all features, including their descriptions, types (outlined in the legend), and measurement units. Additionally, we performed Exploratory Data Analysis (EDA) to examine data distributions and uncover correlations. Demographics and features: Table 4 illustrates the patients’ age, gender, race, and ethnicity distributions.Concerning the demographics, for the races and ethnicities, we referred to the United States Census Bureau [49].The age stratifications shown below were a constitution work from various sources [50,51] and were used to calculate the NEWS2+-derived feature scores (TAGS) for the six key physiological parameters. Additionally, we performed Exploratory Data Analysis (EDA) to examine data distributions and uncover correlations. Demographics and features: Table 4 illustrates the patients’ age, gender, race, and ethnicity distributions.Concerning the demographics, for the races and ethnicities, we referred to the United States Census Bureau [49].The age stratifications shown below were a constitution work from various sources [50,51] and were used to calculate the NEWS2+-derived feature scores (TAGS) for the six key physiological parameters. Additionally, we performed Exploratory Data Analysis (EDA) to examine data distributions and uncover correlations. Demographics and features: Table 4 illustrates the patients’ age, gender, race, and ethnicity distributions.Concerning the demographics, for the races and ethnicities, we referred to the United States Census Bureau [49].The age stratifications shown below were a constitution work from various sources [50,51] and were used to calculate the NEWS2+-derived feature scores (TAGS) for the six key physiological parameters. Concerning the demographics, for the races and ethnicities, we referred to the United States Census Bureau [49]. Concerning the demographics, for the races and ethnicities, we referred to the United States Census Bureau [49]. The age stratifications shown below were a constitution work from various sources [50,51] and were used to calculate the NEWS2+-derived feature scores (TAGS) for the six key physiological parameters. The age stratifications shown below were a constitution work from various sources [50,51] and were used to calculate the NEWS2+-derived feature scores (TAGS) for the six key physiological parameters. Table 5 below details the features after preprocessing used for model training. Label Distribution: We observed an unbalanced dataset, where higher severity scores occur less frequently (Table 6). The labels, defined as 0 (normal), 1 (mild), 2 (moderate), and 3 (severe), each represent a specific hypoxemia severity score. They are based on the NEWS2+ scoring system in respect to the Spo2, age, and type of disease (see feature engineering, Section 2.3.1). Label Distribution: We observed an unbalanced dataset, where higher severity scores occur less frequently (Table 6). The labels, defined as 0 (normal), 1 (mild), 2 (moderate), and 3 (severe), each represent a specific hypoxemia severity score. They are based on the NEWS2+ scoring system in respect to the Spo2, age, and type of disease (see feature engineering, Section 2.3.1). Correlation Analysis: We generated correlation matrices to assess relationships between physiological variables (Figure 5). Correlation Analysis: We generated correlation matrices to assess relationships between physiological variables (Figure 5). 2.5. Principal Component Analysis (PCA) PCA was performed after imputation and interpolation to assess the variance explained by each principal component and feature contributions. Due to PCA’s sensitivity to data scaling, we applied standardization beforehand. The cumulative variance from the first few components indicated that a reduced feature set could capture most data variability (Figure 6). We focused on physiological variables and easily obtainable features (e.g., gender, height, weight) relevant to CBRNE disaster scenarios, excluding other features for this analysis. While PCA is a linear technique and medical data can show non-linear properties, the results provide useful insights into our physiological features, though they should be interpreted cautiously. 2.6. Model Development 2.6.1. Model Selection and Rationale We selected six models for comparison: Gradient Boosting Models (XGBoost [34], LightGBM [32], CatBoost [33]), Random Forest (RF) [52], and sequential models (LSTM [37] and GRU [36]). The choice was motivated by recent studies demonstrating the effectiveness of both GBMs and sequential models in handling medical time series data [53,54,55,56,57]. RF was chosen as a good baseline among the ensemble models. Gradient Boosting Models, like XGBoost, excel in medical diagnostics, achieving high accuracy (e.g., 83% in heart failure survival predictions [58,59]), while providing feature importance insights, such as identifying “follow-up time period” is key [59]. They handle mixed data types [60], are robust to overfitting [58], and were included to leverage their strengths and compare with other strong models for potential differences. Random Forests handle high-dimensional datasets, support feature selection to identify key variables, and are robust to outliers, making them suitable for diverse medical data [58,59]. Voting classifiers, which combine multiple models, were included to further enhance robustness and generalization. By reducing bias through the combination of algorithms, they can improve generalization to unseen data—crucial in medical diagnostics with high patient variability—and can be less affected by the weaknesses of individual models, leading to more reliable predictions [59]. Deep learning models, particularly LSTMs, excel in sequential medical data analysis, achieving good results in blood oxygen saturation prediction [61]. The Dipole model, using bidirectional RNNs, effectively predicted future health from Electronic Health Records (EHRs) data by capturing temporality and long-term dependencies [62]. RNN variants further demonstrate promise in medical applications. A hybrid LSTM-GRU model detected Parkinson’s disease from voice recordings [63], while an attention-based RNN framework improved multi-diagnosis predictions by modeling EHRs data temporality [64]. Gradient Boosting Models (GBMs), specifically Gradient Boosting Decision Trees (GBDT), and Random Forests (RF) are highly effective for tabular data, as they can model complex, non-linear relationships. These ensemble methods, based on decision trees, operate differently: GBMs use boosting to sequentially correct errors in predictions, while RF employs bagging, training multiple models independently on bootstrap samples (random subsets with replacement). RF aggregates predictions through voting (for classification) or averaging (for regression), effectively reducing variance and mitigating overfitting by leveraging diverse data subsets. Notably, GBMs and RF do not require standardization or normalization of input features, as their decision-making relies on threshold values learned during training. This characteristic enhances their practicality for medical applications, where data often exhibit wide-ranging scales and distributions. The Sequential Models are designed to capture temporal dependencies in sequential data. Using medical time series data, we applied these models to investigate and compare the performance of deep learning approaches (sequential models) with “simpler” machine learning methods, specifically the four tree-based models mentioned above. 2.6.2. Gradient Boosting Models (GBMs) and Random Forest (RF) We implemented Random Forest, XGBoost, LightGBM, and CatBoost classifiers. Their characteristics are presented in Table 7 below. They offer advantages such as handling missing values and providing feature importance see Section 3.4.1. Note that the shift lag process for the labels was applied for RF, GBMs, and sequential models (see experimental setup at Section 2.6.4 for the shift lag part and further explanations). Each GBM offers unique features designed to address specific modeling challenges. For instance, XGBoost applies early stopping and class weights to address class imbalance, CatBoost handles categorical variables effectively and reduces prediction shifts, and LightGBM is optimized for speed with Gradient-based One-Side Sampling. 2.6.3. Sequential Models After the preprocessing steps described in Section 2.3, the data retained its original tabular format. It was then processed differently for sequential models via their respective Dataloader, while remaining unchanged for the GBMs and RF. We implemented masked LSTM and Masked GRU models to process sequential data, addressing variable sequence lengths through padding and the masking process. More specifically, among the 2169 unique admissions in the three datasets, sequence lengths—representing the duration of each admission—ranged from 952 to 254,643 rows, with a median of 5941 rows and an average of 10,417 rows (each row corresponding to one minute per admission). Thus, a significant difference in terms of the length. To ensure computational efficiency of the sequential models, we standardized the sequence length to 1024 rows—about 18 h per admission. Longer sequences were split into 1024-row segments, while shorter ones were padded with a constant value of 1000, which did not overlap with any actual feature values. This preprocessing generated 23,099 admissions suitable for sequential models. The masked LSTM and GRU models were designed to ignore padded values (set to 1000) using an internal mask within the Dataloader. This mask excludes padded values in sequential input data, ensuring they do not influence model training. Notably, this type of “masking” differs from the masks used to identify imputed or interpolated (synthetic) data (see Section 2.3.2). Variable-length sequences are effectively managed through masking and sequence packing. Sequence lengths are calculated from the mask, and sequences are sorted by length. Using PyTorch’s pack_padded_sequence, sequences are packed so that LSTM/GRU layers only process valid time steps, omitting padding from computations. After processing, sequences are unpacked and returned to their original order, enabling efficient batch processing of variable-length sequences and ensuring that padding does not interfere with the model’s learning. See Figure 7 for an overview of the preprocessing steps for the sequential models. Table 8 below offers a clear overview at a glance by summarizing all the features in a concise format. It includes the features, their descriptions, their types (explained in the legend), and their respective measurement units. 2.6.4. Experiments’ Setup To prevent data leakage, we ensured that each patient’s data appeared in only one of the training, validation, or testing sets. Admissions were split accordingly. Shift-Lag Method: Applied to predict hypoxemia severity scores 5 min in advance, providing a practical window for medical intervention (Figure 8). Indeed, in order to predict hypoxemia severity scores in advance, we apply a −5-min shift to the label values, aligning each row with the label observed 5 min later. This adjustment allows each row, containing physiological measurements recorded at a specific minute of a patient’s admission, to be used as input for predicting the hypoxemia severity score 5 min ahead. Importantly, this label-shifting technique is consistently implemented for both sequential models, Random Forest (RF) and gradient-boosting machines (GBMs). Shift-Lag Method: Applied to predict hypoxemia severity scores 5 min in advance, providing a practical window for medical intervention (Figure 8). Indeed, in order to predict hypoxemia severity scores in advance, we apply a −5-min shift to the label values, aligning each row with the label observed 5 min later. This adjustment allows each row, containing physiological measurements recorded at a specific minute of a patient’s admission, to be used as input for predicting the hypoxemia severity score 5 min ahead. Importantly, this label-shifting technique is consistently implemented for both sequential models, Random Forest (RF) and gradient-boosting machines (GBMs). Class Imbalance Handling: Computed class weights inversely proportional to class frequencies. Class Imbalance Handling: Computed class weights inversely proportional to class frequencies. Hyperparameter Tuning of the GBMs and Random Forest (RF): We used the HyperOpt library, a popular tool for hyperparameter optimization, with two objective functions—AUC-based and log loss-based. HyperOpt employs the Tree-structured Parzen Estimator (TPE), a Bayesian optimization technique that iteratively updates a probabilistic model based on prior evaluations and performance metrics. Unlike traditional methods that treat these evaluations as independent, TPE refines its model progressively to capture the relationship between hyperparameters and performance, enhancing optimization efficiency.○AUC-Based: This function focuses on maximizing the AUC score by minimizing 1 − AUC, which is especially beneficial when dealing with class imbalance.○Log Loss: This function minimizes log loss (cross-entropy loss), assessing how closely the predicted probabilities match the actual labels, and penalizing incorrect or overly confident predictions. Hyperparameter Tuning of the GBMs and Random Forest (RF): We used the HyperOpt library, a popular tool for hyperparameter optimization, with two objective functions—AUC-based and log loss-based. HyperOpt employs the Tree-structured Parzen Estimator (TPE), a Bayesian optimization technique that iteratively updates a probabilistic model based on prior evaluations and performance metrics. Unlike traditional methods that treat these evaluations as independent, TPE refines its model progressively to capture the relationship between hyperparameters and performance, enhancing optimization efficiency.○AUC-Based: This function focuses on maximizing the AUC score by minimizing 1 − AUC, which is especially beneficial when dealing with class imbalance.○Log Loss: This function minimizes log loss (cross-entropy loss), assessing how closely the predicted probabilities match the actual labels, and penalizing incorrect or overly confident predictions. ○AUC-Based: This function focuses on maximizing the AUC score by minimizing 1 − AUC, which is especially beneficial when dealing with class imbalance. AUC-Based: This function focuses on maximizing the AUC score by minimizing 1 − AUC, which is especially beneficial when dealing with class imbalance. ○Log Loss: This function minimizes log loss (cross-entropy loss), assessing how closely the predicted probabilities match the actual labels, and penalizing incorrect or overly confident predictions. Log Loss: This function minimizes log loss (cross-entropy loss), assessing how closely the predicted probabilities match the actual labels, and penalizing incorrect or overly confident predictions. 3. Results 3.1. Dataset Characteristics After preprocessing, the dataset consisted of 22,595,035 rows and over 40 feature columns, encompassing both original and engineered features. These features included physiological variables, NEWS+ derived scores (TAGs), demographic data, and mask features (the list of features is available in Table 8). Each admission was interpolated to minute-level intervals, resulting in a substantial increase in data volume. The length of admissions varied, ranging from approximately 16 h to 177 days for the GBMs and RF. However, for the sequential models, all admission durations were standardized to approximately 16 h by padding shorter admissions and truncating longer ones. 3.2. Imputation and Interpolation Outcomes Different imputation strategies were compared. The histogram-based gradient boosting imputation yielded satisfactory results and was selected for further analysis. Imputations reduced the percentage of missing values to zero, enabling subsequent interpolation at the minute level. Linear interpolation was chosen over polynomial and cubic spline interpolations due to its ability to produce plausible physiological values (Table 3). Polynomial and cubic spline interpolations resulted in implausible negative values and incorrect magnitudes (see Section 2.3.2). 3.3. Exploratory Data Analysis Findings The dataset exhibited an inherent imbalance, with the distribution of severity scores remaining consistent both before and after interpolation. More severe scores were less frequent, reflecting this imbalance. In terms of label durations, severity score 2 had the shortest median duration of 29 min, while severity score 0 had the longest median duration, lasting 178 min. 3.4. Model Performance 3.4.1. Tree-Based Models’ Results and Discussion The GBMs and RF demonstrated good performance in predicting hypoxemia severity. Hyperparameter tuning yielded only slight improvements over baseline models. Training and Convergence: Training and Convergence: All the tree-based models converged rapidly, with XGBoost models converging in fewer than 65 iterations. CatBoost and LightGBM showed good generalization, sometimes performing better on the validation set. Random Forests (RFs) required slightly more training time than Gradient Boosting Machines (GBMs), as RF involves training 100 estimators for bagging (see Section 3.4.3: comparison between GBMs and sequential models). The performance of RF was comparable to that of GBMs and, in some cases, even outperformed GBMs on certain metrics (see Appendix A Figure A1). Best Hyperparameters: Best Hyperparameters: We used the HyperOpt library for hyperparameter optimization with two objective functions: AUC-based and log loss-based. HyperOpt utilizes the Tree-structured Parzen Estimator (TPE), a Bayesian optimization method. Details of the experimental setup are in Section 2.6.4. Table 9 summarizes the best objective functions, and corresponding hyperparameter values. Features Ablation Study: Features Ablation Study: To analyze feature importance, we conducted an ablation study on the baseline XGBoost models by removing the top two most important features: SpO2 and heart rate. This experiment revealed significant changes in model performance and learning dynamics. Specifically, the training curves exhibited both underfitting and overfitting tendencies, with increased train and validation loss values. The validation loss plateaued at 0.32, while the training loss reached 0.25, both higher than the desired convergence around 0.1 (refer to Figure 9). Additionally, removing these features altered the feature importance rankings, as evidenced by changes in the relative ranks of the remaining features. This shift highlights a disruption in the overall learning process. Performance metrics were also adversely affected. Sensitivity (recall) dropped to 0.45, 0.44, and 0.36 for classes 1, 2, and 3, respectively. Specificity experienced a less pronounced decline. The Matthews Correlation Coefficient (MCC) fell sharply from 0.89 to 0.65 (refer to Section 3.4.1 in performance metrics part). Both the ROC and PR curves showed degradation, with the PR curves being particularly impacted: values for classes 1, 2, and 3 dropped to 0.66, 0.24, and 0.42, respectively (likewise, see Section 3.4.1 and Appendix A Figure A1 for details without ablation). These results highlight the critical importance of SpO2 and heart rate in the XGBoost model’s training and prediction processes, illustrating how dependence on specific features impacts model performance and stability. This finding reinforces our assumption that meaningful patterns exist within the data and underscores the essential role of diverse features in characterizing it. Confusion Matrices: Confusion Matrices: The observations described in this section apply to both TBM and sequential models. For detailed confusion matrices, with hypoxemia severity scores as labels, refer to Appendix A Figure A6 and Section 3.4.2. Labels 2 and 3 were frequently misclassified, indicating challenges in predicting transitions between severity levels. Label 0 was most accurately predicted, followed by labels 3, 1, and 2 (see label distribution, Section 2.4 and Table 5). This aligns with the inherent challenge of predicting events that are both sudden and rare, such as label “2”. Importantly, this indicates that we can predict our primary complication, label 3, which corresponds to the most severe hypoxemic condition, with a reasonable degree of accuracy, supporting our proof of concept (POC). Feature Importance and Model Interpretability: Feature Importance and Model Interpretability: The tree-based models offer advantages such as providing feature importance (see Figure 10). Our feature importance analysis sheds light on the key determinants of model performance, emphasizing the significance of physiological variables and TAG features while also revealing the varying relevance of mask features across different algorithms. These findings enhance the interpretability of machine learning predictions in clinical contexts and open pathways for addressing potential biases linked to demographic factors. We conducted a thorough examination of feature importance across multiple machine learning models, including Gradient Boosting Machines (XGBoost, LightGBM, CatBoost) and Random Forests (RFs). This analysis focused on the contributions of physiological variables, TAG features from the NEWS2+ system, and mask features indicating synthetic data presence. Notably, mask features were excluded from CatBoost models. The results highlighted that for XGBoost and LightGBM models, physiological variables like heart rate, systolic blood pressure, age, weight, and respiratory rate were the most impactful (see Figure 10). For CatBoost, TAG features such as SpO2, TAG SpO2, height, age, and heart rate took precedence, with mask features playing a negligible role (see Figure 10). Across all models, SpO2 levels, heart rate, age, and respiratory rate consistently emerged as top predictors, aligning with clinical expectations and demonstrating the models’ ability to leverage inherent patterns in physiological data effectively. Mask features were highly valued by XGBoost and LightGBM, reflecting these models’ ability to distinguish real data from synthetic data generated through imputations and interpolations, corroborating prior research [42,43,44,45]. Conversely, CatBoost and RF models disregarded mask features, demonstrating variability in feature utilization across algorithms. TAG features proved to be consistently important, reaffirming the predictive strength of the NEWS2+ system’s scoring methodology. While demographic factors such as race and gender were less influential overall, their appearance among the top 25 features in some GBM and RF models highlights the need for ongoing efforts to detect and mitigate potential biases in model predictions. Performance Comparison of Ensemble Voting Classifiers with Tree-Based Models: Performance Comparison of Ensemble Voting Classifiers with Tree-Based Models: The primary goal of this comparison was to evaluate the potential benefits and trade-offs of ensemble methods and provide insights to guide future research, particularly in improving temporal modeling and generalizability. We employed Voting Classifier models from the Scikit-learn library to construct ensemble models comprising multiple tree-based methods (ensembles of ensembles). These Voting Classifier ensembles consisted of either three GBMs (Gradient Boosting Machines: XGBoost, CatBoost, and LightGBM) or four models, which included the same GBMs with the addition of a Random Forest (RF). All tree-based models in the ensembles were the baseline models used previously, with hyperparameters detailed in Table 6 (Section 2.6.2). Soft voting, which averages predicted probabilities to select the class with the highest average, and hard voting, which applies a majority rule to predicted class labels, were implemented for each ensemble. Training times ranged from 11 min for GBMs-only ensembles to 20 min for those including RF. From a coding perspective, implementing the VotingClassifier required an alignment of functionalities and minor adjustments. For example, XGBoost’s objective parameter needed to match the voting method (multi:softprob for soft voting and multi:softmax for hard voting). Soft voting relied on predict_proba for class probabilities, while hard voting was used to predict class labels. Output consistency in shape and format across all models was crucial, requiring adjustments for CatBoost. Fitted estimators were accessed using voting_clf.named_estimators_ (see Appendix A). Overall, soft voting consistently delivered slightly better performance than hard voting, and ensembles combining GBMs and RF outperformed those consisting solely of GBMs, especially with soft voting (see Appendix A Figure A3 and performance metrics part below). Precision was higher for classes 2 and 3 with ensembles, while precision and sensitivity for class 0 remained consistent across all machine and deep learning models. However, precision for class 1 was generally lower for ensembles, though sensitivity was higher for this class. Sensitivity for classes 2 and 3 saw slight reductions. F1-score differences were minor, with slight improvements for classes 0 and 1 and marginal decreases for classes 2 and 3. These decreases are less favorable, as classes 2 and 3—particularly class 3—are critical in this use case. The AUROC values for all classes remained consistent at 1, 0.99, 0.99, and 1 for classes 0, 1, 2, and 3, respectively. The AUPRC scores for class 0 were consistently 1 across all models. For other classes, the AUPRC scores were slightly higher for the ensembles, particularly for classes 1 and 2. The AUPRC for class 1 exceeded those of individual tree-based models, except for the RF baseline model, which achieved the same value (see Appendix A Figure A3 and performance metrics part below). The highest MCC score of 0.9 was achieved by the GBMs + RF ensemble with soft voting, equaling the performance of the GRU model. Specificity for classes 2 and 3 was generally higher with ensembles, with class 3—representing urgent cases—achieving a perfect specificity of 1, comparable to sequential models. However, specificity for classes 0 and 1 was marginally lower, which is less critical in practical applications due to the lower severity associated with these classes. In conclusion, Voting Classifiers composed of tree-based models with default parameters did not yield significant performance improvements over individually optimized models (see also Appendix A Figure A4, Figure A5 and Figure A6 for more detailed analysis). Nonetheless, slight enhancements were observed for certain metrics. The choice of method depends on the specific use case, whether prioritizing precision or sensitivity, alongside F1-scores for key classes, specificity, and other metrics. Finally, it is important to note that metric differences were often minor and limited to rounding effects, as this analysis was intended as a proof of concept rather than precise optimization. Therefore, results should be interpreted cautiously, although observed trends highlight promising directions for future research. The Voting Classifier ensemble could serve as a viable compromise to sequential models, which require significantly longer training times, in future research. Performance Metrics: Performance Metrics: Table 10 below provides a performance benchmark for the best-fine-tuned models and the Voting Classifier ensembles. Notably, for all three GBMs, performance differences between each fine-tuned model and its respective baseline (model with default hyperparameters) were minimal, with metrics remaining closely aligned. Voting Classifier ensembles showed only slight enhancements. 3.4.2. Sequential Models’ Results and Discussion The LSTM and GRU models were trained using a 5-min sliding window, with padding and masking applied to handle variable sequence lengths (see Section 2.6.3). By saving the models’ parameters and hyperparameters at each epoch, we were able to reload the model from the optimal training epoch, ensuring that the best performance was retained post-training. Performance Metrics: Performance Metrics: We compared the performance for both sequential models (Table 11). Training Time: Training Time: Training time was significantly longer than GBMs, RF, or Voting Classifier ensembles. Each training epoch took approximately 2.5 h. Total training time was around 37.5 h for each sequential model in the Figure 11. Observations derived from Figure 12 apply to both TBM and sequential models, with label 2 frequently misclassified due to rarity, while label 3 (severe hypoxemia) is predicted accurately, supporting the POC. 3.4.3. Comparison Between GBMs, RF, and Sequential Models While sequential models showed marginal improvements in some metrics, the gains did not justify the significantly longer training times and increased computational resources. Concerning interpretability, GBMs and RF offer greater transparency through feature importance metrics. Regarding training efficiency, GBMs trained much faster than sequential models (less than 3 min vs. 37.5 h, per model). Random Forests (RFs) required more training time (around 14 min) than GBMs due to the need to train a certain number of estimators for bagging. Therefore, we would advocate further for the use of GBMs in model training. Finally, for the performance trade-offs, sequential models performed generally slightly better but are less practical for rapid deployment. Performance Metrics: Performance Metrics: Table 12 provides a performance comparison between GBMs and sequential models. For a fairer assessment, we include the best fine-tuned GBM models optimized via HyperOpt TPE, alongside the performance results of the sequential models. 4. Discussion Our study demonstrates that tree-based machine learning models, particularly gradient boosting machines (GBMs) and Random Forest (RF), effectively predict hypoxemia severity scores using physiological parameters, among other factors. The strong performance of GBMs and RF suggests that temporal data may not be essential for this prediction task. This aligns with findings from other studies indicating that deep learning models may not be ideal for tabular data, which, in our case, specifically takes the form of a time series [65]. It is likely that boosting, or, alternatively, bootstrapping combined with bagging, constitutes sufficient learning techniques. Key Findings: Key Findings: In comparing tree-based and sequential models, GBMs and RF offer a practical balance of performance, interpretability, and training efficiency, while sequential models yield only slight performance gains at a much higher computational cost, especially when compared to the optimized RF model. Both types show strong, competitive performance in multi-class classification, though with different strengths and limitations. Tree-based models, while not designed to capture temporal dependencies, provide competitive results and train quickly, making them highly efficient (in particular GBMs). In contrast, sequential models, which consider temporal information, take significantly longer to train. For the purposes of this study, they were not fine-tuned due to time constraints, though further tuning might improve their performance. In terms of feature importance, the inclusion of mask and TAG features notably improved model performance, emphasizing the value of transparent data preprocessing. Additionally, the TAG features derived from the NEWS2+ system demonstrated innovation, proving highly effective in enhancing model accuracy. These observations align with the findings of the feature ablation study (see Section 3.4.1), where the removal of highly ranked features, in the feature importance hierarchy, resulted in a negative impact on model performance. This reaffirms that each of these ranked features is essential to the model’s predictive capability. Regarding class imbalance, the class-weighted strategy allowed the models to handle the unbalanced dataset effectively, particularly in predicting the most severe hypoxemia cases (label 3). Even though label 1 was more prevalent, the models predicted label 3 accurately, showcasing the success of the class-weighted approach. The balance between sensitivity and specificity in model performance is challenging [28], especially for medical event predictions. High specificity with low sensitivity may reduce unnecessary interventions and related costs, as seen with D-dimer testing for venous thromboembolism [66], but could miss critical cases due to missing relevant variables or a limited number of outcome events, making such models more suited as a decision support tool rather than a stand-alone diagnostic tool. Conversely, high sensitivity with low specificity might capture non-specific patterns—such as variables associated with hypoxia but not exclusive to it—or detect subtle changes in nonhypoxic cases, leading to excessive false alerts and limiting clinical usability. Limitations and Perspectives: Limitations and Perspectives: The data for this study were sourced from the MIMIC-III and IV databases, which may limit the generalizability of the findings. Our preprocessing involved minute-by-minute interpolation; however, it is important to note that the data distribution from MIMIC-III and IV reflects a single hospital with no pediatric data (the minimum age post-preprocessing is 12–17 years). We also stratified patient ages into categories (see Table 4), but due to the dataset’s lack of pediatric data and its imbalance across race and ethnicity categories, the model’s real deployment potential is limited with respect to these critical demographic factors. Additionally, while the SpO2/FiO2 ratio (FiO2 represents the Fraction of Inspired Oxygen in the inhaled gas) is a common indicator of respiratory distress in both clinical and pre-hospital settings (e.g., medical evacuation) [67,68], our study takes a different approach due to limitations in the available data. The MIMIC databases lack sufficient FiO2 measurements, with a high proportion of values missing. Relying on the SpO2/FiO2 ratio would have introduced excessive uncertainty into the classification; instead, we prioritize SpO2 measurements, which provide a more reliable basis for categorization. Imputing FiO2 data to generate an SpO2/FiO2 ratio would have likely introduced further biases, especially in instances where both SpO2 and FiO2 values required imputation. In terms of temporal information, sequential models (e.g., LSTM, GRU) did not demonstrate a significant performance advantage over GBMs and RF, indicating that temporal dependencies may not be essential for predicting hypoxemia severity in this context. Nonetheless, to further validate our study, we should consider using a dataset with naturally regular intervals and fewer missing values, such as HiRID [69], which provides continuous physiological values recorded every two minutes, reducing the need for interpolation and imputation. The Voting Classifier ensembles showed only small performance gains over individually optimized models, with trade-offs in precision and sensitivity, especially for critical classes. Improvements in one metric sometimes came at the expense of another, underscoring the need for balance. Small metric differences, possibly due to rounding, limit generalizability but offer valuable insights for future applications. These ensembles balance computational efficiency and performance, being faster than sequential models while offering small improvements over individual GBMs or RFs in some cases, albeit with slightly longer training times. Future research should focus on hyperparameter optimization and feature engineering to maximize their potential. With refinement, Voting Classifier ensembles could become reliable and robust solutions for various machine learning tasks, balancing efficiency and performance effectively. Implications for Practice: Implications for Practice: GBMs can be integrated into systems like the VIMY Multi-System for real-time hypoxemia severity prediction, enabling rapid deployment in (pre)-clinical settings. Similarly, RF models can be considered for integration, provided they execute quickly enough. Understanding the correlation between features and their importance is crucial for both model performance and interpretability. The feature importance metrics provide valuable insights for clinicians, aiding in the understanding of model decisions and improving trust and adoption, which ultimately enhances the interpretability of the system. Additionally, we have a highly heterogeneous population, which is advantageous as our goal is to predict hypoxia in CBRNE situations in a broadly applicable, non-specific manner. A diverse population supports this aim, increasing the likelihood of developing a model with wide-ranging applicability. Future Work: Future Work: Several key areas will be explored to enhance the performance and applicability of the models. First, data integration will focus on incorporating data from multiple hospital databases to improve the model’s generalizability across diverse populations. The algorithms will then be tested prospectively on critically ill patients before being deployed in pre-clinical settings. Bias mitigation will ensure that the models remain free from biases related to race and gender, promoting fairness in outcomes. Lastly, real-time implementation will involve developing efficient algorithms suitable for deployment in resource-constrained environments, enabling timely and effective predictions in practical settings. Fine-tuning the sequential models, despite the training time constraints, could likely bring even minor improvements, which in medical settings can be impactful. We also plan to test the recent xLSTM model, known for its efficiency and lighter architecture compared to other attention-based models, to assess its suitability in this context. 5. Conclusions This study highlights the potential of machine learning models, particularly tree-based approaches, in predicting hypoxemia severity five minutes in advance for disaster triage scenarios (see Figure 1 and Figure 2). Among the models evaluated, gradient boosting machines (GBMs) demonstrated robust performance and practicality for integration into systems such as the VIMY Multi-System. Their efficiency, marked by fast training times, makes them ideal for real-world applications and validates the effectiveness of boosting strategies. Meanwhile, Random Forests (RFs) achieved the best overall performance among tree-based models, despite requiring longer training times. This suggests that bootstrapping, especially when combined with bagging (as in RF), is a highly effective strategy for this task, even without the use of boosting. The Voting Classifier ensembles, composed of tree-based models with baseline parameters, showed slight improvements in some metrics but faced a precision-sensitivity tradeoff, with a slightly lower F1-score for severity levels 2 and 3 (see Table 10 and Section 3.4.1). The best ensemble combines XGBoost, CatBoost, LightGBM, and RF using a soft voting method during fitting (see Appendix A Figure A3 and Figure A4 and Table 12). This study addressed challenges related to noisy or incomplete data by applying masking techniques, imputation, and interpolation methods to establish regular time intervals without missing data, ensuring readiness for model training. Importantly, focusing on easily measurable physiological parameters, such as respiratory rate, SpO2, and blood pressure, ensures practicality in preclinical CBRNE scenarios. These parameters, critical indicators of respiratory and cardiovascular function, are compatible with wearable devices, enabling seamless data collection and rapid deployment in high-stakes environments. Notably, temporal dependencies, while theoretically beneficial, were found to be non-critical for predicting hypoxemia severity within the given timeframe. Sequential models, despite their capacity to capture temporal patterns, yielded only marginal improvements that did not justify their higher computational costs. Tree-based models emerged as the optimal choice, balancing computational efficiency, execution speed, and interpretability—essential qualities in resource-constrained scenarios. A pivotal aspect of this research was the development of the NEWS2+ early warning system, which enabled advanced feature engineering (Table 2). NEWS2+ generated feature scores (TAGs) for six primary physiological parameters and created SpO2-based hypoxemia severity scores tailored to patient age and disease type for labeling purposes. These clinically informed labels provided a novel foundation for accurate and relevant severity prediction. Future efforts will focus on enhancing model generalizability by incorporating broader preclinical datasets to leverage greater demographic and clinical variability. Additionally, plans include integrating these models into real-time monitoring systems to ensure timely interventions and improved patient outcomes in emergency medical scenarios. This study establishes a foundational proof of concept for advancing predictive modeling in critical scenarios, offering a novel approach to triage that prioritizes clinical relevance, computational efficiency, and practical applicability in preclinical disaster settings.