Researchers have conducted several studies highlighting the ability to predict patients’ LOS in healthcare facilities. Sariyer et al. (
2) focused on the ED, classifying patients' LOS into two categories: More than 45 minutes and less than 45 minutes. The researchers utilized the 10
th edition of the International Classification of Diseases (ICD-10) as the model input for their analysis. In terms of predictive performance, the study compared various ML algorithms, including Random Forest (RF), Decision Tree (DT), Logistic Regression (LR), and Multilayer Perceptron (MLP). Notably, the results revealed that LR and MLP demonstrated similar levels of effectiveness in predicting patient LOS. Rahman et al. (
5) successfully developed and validated a precise prediction model using a DT technique for patients in the ED with an LOS greater than 4 hours. With an impressive accuracy rate of 85%, the model exhibited exceptional performance in predicting the LOS for individual patients, revealing numerous clinically significant patterns. Chrusciel et al. (
6) compared the RF regression model on structured and unstructured data to predict the LOS of ED patients. Structured data refers to the use of ICD-10 and triage codes; nevertheless, unstructured data refers to information extracted from patients' electronic health records. The results indicated that predicting the LOS of patients through unstructured data has the same accuracy as structured data.