Intensive care units (ICUs) house patients with poor health who often have at least one life-threatening condition (
1). An intensive care unit (ICU) provides specialized equipment and medical and nursing care, resulting in high healthcare expenditure within this unit (
2,
3). Allocating resources according to the needs of patients in the ICU is essential for the quality of care (
4). The prediction of mortality in the ICU has been a critical issue in medicine for decades, as it is used to prioritize patients and make critical decisions (
5,
6). Most researchers predict mortality using severity of illness scoring systems designed for risk estimation 24 hours after ICU admission or data-mining algorithms (
7). The three major predictive scoring systems used to predict mortality in general ICU patients are the Acute Physiologic and Chronic Health Evaluation (APACHE) scoring system, the Simplified Acute Physiologic Score (SAPS), and the Mortality Prediction Model (MPM0) (
8). A study comparing traditional scoring models for mortality prediction showed that the performance of the APACHE II/III scoring systems was higher than that of other systems (
9). Overall, previous studies have indicated that the accuracy of machine learning models is higher than traditional scoring models, and clinicians should select models that have been more validated (
10). Several studies have shown that ensemble models like Random Forest (RF) and Gradient Boosting for mortality prediction are more accurate (
11,
12). The novel proposed algorithm is based on the generalization stacking ensemble model (also called the stacking ensemble model) and has presented a heterogeneous ensemble classifier for ICU mortality prediction (
13). A machine learning model was developed to predict patients admitted to the ICU for acute gastrointestinal (GI) bleeding with a 2% - 10% mortality risk (
14). A developed predictive model to predict patients with sepsis in the ICU can help physicians make optimal clinical decisions, thereby reducing the mortality rate (
15). Some previous studies have demonstrated that deep-learning models can identify novel temporal data patterns predictive of ICU mortality and achieve higher accuracy in identifying patients at high risk of death (
16,
17). Therefore, predicting mortality in the ICU is very important, and using machine learning models is associated with better performance.