- 1School of Nursing, Southwest Medical University, Luzhou, China
- 2Wound Healing Basic Research and Clinical Application Key Laboratory of Luzhou, Southwest Medical University, Luzhou, China
- 3Department of Oncology, The Affiliated Hospital of Southwest Medical University, Luzhou, China
- 4Department of Nursing, The Affiliated Hospital of Southwest Medical University, Luzhou, China
- 5Department of Radiology, The Affiliated Hospital of Southwest Medical University, Luzhou, China
- 6Department of Endocrinology and Metabolism, The Affiliated Hospital of Southwest Medical University, Luzhou, China
Objective: This study aims to construct a predictive model based on machine learning algorithms to assess the risk of prolonged hospital stays post-surgery for colorectal cancer patients and to analyze preoperative and postoperative factors associated with extended hospitalization.
Methods: We prospectively collected clinical data from 83 colorectal cancer patients. The study included 40 variables (comprising 39 predictor variables and 1 target variable). Important variables were identified through variable selection via the Lasso regression algorithm, and predictive models were constructed using ten machine learning models, including Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, Light Gradient Boosting Machine, KNN, and Extreme Gradient Boosting, Categorical Boosting, Artificial Neural Network and Deep Forest. The model performance was evaluated using Bootstrap ROC curves and calibration curves, with the optimal model selected and further interpreted using the SHAP explainability algorithm.
Results: Ten significantly correlated important variables were identified through Lasso regression, validated by 1000 Bootstrap resamplings, and represented through Bootstrap ROC curves. The Logistic Regression model achieved the highest AUC (AUC=0.99, 95% CI=0.97–0.99). The explainable machine learning algorithm revealed that the distance walked on the third day post-surgery was the most important variable for the LR model.
Conclusion: This study successfully constructed a model predicting postoperative hospital stay duration using patients’ clinical data. This model promises to provide healthcare professionals with a more precise prediction tool in clinical practice, offering a basis for personalized nursing interventions, thereby improving patient prognosis and quality of life and enhancing the efficiency of medical resource utilization.
1 Introduction
Colorectal cancer (CRC) is one of the most common malignancies, with both its incidence and mortality rates on an upward trend, showing a notable shift toward younger patients (1). With surgical treatment becoming the primary method for CRC management, the economic burden of CRC treatment remains high (2). To alleviate the financial strain on patients and their families and to enhance hospital resource utilization, more efficient management plans are needed.
Length of stay (LOS) objectively reflects a patient’s recovery of physical function and serves as an indicator of healthcare efficiency. Postoperative hospital stays are often characterized by prolonged bed rest and sedation, where an extended LOS (pLOS) not only increases the economic and psychological burden on patients and their families but also raises the risk of complications and hospital-acquired infections (3). To mitigate the strain on healthcare resources and alleviate the social and psychological pressures on patients, it is crucial to establish predictive models that identify patients at risk of pLOS during their treatment and to promptly recognize risk factors for timely nursing interventions, thereby accelerating patients’ recovery and reducing hospital stay durations.
Machine learning demonstrates multiple advantages in binary prediction models, offering high predictive accuracy, automatic key feature selection and extraction, and capturing nonlinear relationships between features (4, 5). Existing predictive models for the hospital stay duration of CRC patients are retrospective, limiting their predictive accuracy for future trends. Previous study has developed a Support Vector Machine (SVM) model to differentiate the risk of extended postoperative hospital stays in CRC patients, with the SVM model showing an AUC of 0.821 in the validation set, demonstrating the potential of machine learning-based models in binary classification problems (3). However, current models face two main issues: a lack of interpretability, making model results difficult to explain, and a small sample size, limiting the training dataset and affecting model generalizability and accuracy (6–8). Bootstrap resampling can better utilize limited data to provide a more robust assessment of model performance. It involves random sampling with replacement from the training dataset to create multiple subsets for model validation, reducing the variance of validation results and ensuring more reliable evaluations compared to proportional splits, especially with small sample sizes (9, 10). SHAP (SHapley Additive exPlanations), based on cooperative game theory, offers clear explanations for feature contribution values, bridging the gap between complex algorithms and clinical application, ensuring transparency and traceability in model-based decision-making, which is crucial for the scientific validity and credibility of medical decisions (11, 12).
This study aims to develop a predictive model for the hospital stay duration of CRC patients using prospective data and explainable machine learning algorithms, employing Bootstrap resampling for robust model performance. The model predicts the risk of pLOS and identifies perioperative factors potentially influencing hospital stay duration.
2 Methods
2.1 Patient recruitment
This study was conducted in accordance with the Declaration of Helsinki (revised in 2013) and received approval from the Ethics Review Committee of the Affiliated Hospital of Southwest Medical University (No.20190321–12). All participants signed informed consent forms. Patients with colorectal cancer admitted to the gastrointestinal surgery ward of the Affiliated Hospital of Southwest Medical University from January to October 2019 were selected for this study. Inclusion criteria were: (1) pathologically diagnosed with colorectal cancer and underwent laparoscopic colorectal cancer radical surgery; (2) aged 18 to 70 years; (3) Preoperative ability to walk without mobility limitations, with muscle strength > Grade 3; (4) no severe preoperative cardiac, pulmonary, or renal dysfunction; (5) patient informed consent and voluntary participation in the study. Exclusion criteria included: (1) history of psychiatric disorders and cognitive impairments, unable to complete questionnaire assessments; (2) diseases prohibiting movement; (3) palliative surgery or neoadjuvant chemoradiotherapy. Drop-out criteria were: (1) conversion from laparoscopic to open surgery; (2) postoperative ICU transfer or transfer to another department; (3) postoperative hospital stay<3 days; (4) severe postoperative cardiac, pulmonary, or renal diseases; (5) non-compliant wearing of the wireless smart pedometer; (6) withdrawal from the study for various reasons.
2.2 Variable selection and definition of target variables
Prospective clinical data were collected based on previous literature and expert consultations. Data included demographic and social characteristics (age, gender, occupation, education level, health insurance status), lifestyle history (smoking and drinking history), laboratory tests (preoperative albumin and hemoglobin levels), past medical and surgical history (surgery duration, intraoperative blood loss), disease status (tumor location, clinical stage, underlying diseases), preoperative Barthel score, Karnofsky Performance Status (KPS), Zubrod Performance Status (ZPS), postoperative day three patient mobility data (steps, time, distance) recorded by wireless smart pedometers, preoperative and postoperative day three pain scores, 15-item Quality of Recovery (QOR-15) scores, and complications (intestinal obstruction, urinary tract infections, anastomotic fistula, urinary retention, pulmonary infections) (13–15).
Prolonged LOS (pLOS) was defined as greater than the average or median value (16, 17). Due to the variability in patient care, management, and treatment responses, the median, as a measure of central tendency, was deemed more appropriate for classifying extended hospital stays than the mean. LOS was defined as the interval from the day of surgery to the day of discharge. According to existing studies, the median postoperative hospital stay for colorectal cancer patients is 8 days, thus patients with a LOS of 8 days or less were classified into the ideal LOS (iLOS) group, and those with a stay of more than 9 days were defined as the pLOS group (3).
2.3 Variable screening by Lasso regression
Lasso regression, a regularized linear regression method widely applied for variable selection, performs variable selection and complexity adjustment while fitting generalized linear models. In this study, Lasso regression was used for variable screening. The regression controls the number of selected variables by adjusting the λ parameter, where a larger λ implies a greater penalty and fewer retained variable features. Optimal penalty parameters were chosen through cross-validation, selecting the λ value with the smallest error to identify the most relevant variables. The Lasso regression formula is as follows:
In the formula, y represents the vector of response variables. X is the design matrix that contains observations of p explanatory variables across n samples. β is the vector of regression coefficients, representing the impact of each explanatory variable on the response variable. λ is the regularization parameter that controls the strength of the penalty term.
Selected variables were then used as candidate important variables for further model construction. Statistical analysis and visualization were conducted in R version 4.2.1, using the glmnet package to analyze the cleaned data for variable lambda values, likelihood values, and data visualization.
2.4 Construction of machine learning models
To confirm the discriminatory power of clinical features related to hospital stay duration, ten machine learning algorithms were utilized, including Logistic Regression, Decision Tree (DT), Random Forest (RF), Support Vector Machine (SVM), Light Gradient Boosting Machine (lightGBM), KNN, Extreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), Artificial Neural Network (ANN) and Deep Forest. Models were trained using cross-validation with grid search to automatically find optimal hyperparameters for best model performance (Supplementary Files 1). Given the study’s data characteristics, Bootstrap resampling was used for internal validation to ensure model robustness and reliability. This method involves random sampling with replacement from the original dataset to generate multiple Bootstrap samples. Classification models were trained on each Bootstrap sample, and their ROC curve AUCs were calculated. Bootstrap ROC curves were drawn based on all Bootstrap samples to evaluate model predictive performance and provide a comprehensive assessment. Bootstrap resampling for internal validation can better utilize limited data to provide a more robust assessment of model performance, reducing the variance of validation results and ensuring more reliable evaluations compared to proportional splits, especially with small sample sizes.
Model calibration was assessed using calibration curves, comparing predicted event probabilities with actual event frequencies. This study also used Decision Curve Analysis (DCA) for clinical net benefit analysis. DCA offers a method to evaluate the predictive performance of classification models in the medical field by assessing the clinical net benefit of all models, aiding healthcare decision-makers in choosing the most appropriate model for specific clinical contexts. The X-axis represents the patient threshold, and the Y-axis represents the net benefit. Each model’s curve shows the net benefit compared to the baseline decision (such as all treatment or no treatment at all) at various thresholds (18).
2.5 Model interpretation based on SHAP
To analyze the contribution of variables to the prediction of hospital stay duration for colorectal cancer patients, the SHAP (Shapley Additive exPlanations) algorithm was employed using the DALEX and fastshap packages for model interpretation. Initial steps included calculating global mean absolute SHAP values to determine the overall importance of model features. Further, the impact of each variable’s SHAP values on the model’s predictive outcomes was explored.
2.6 Statistical analysis
Statistical analyses were performed using the ‘stats’ package in R (version 4.2.1), selecting appropriate statistical methods based on data characteristics. Quantitative data were described using M (P25, P75) following normality and homogeneity of variance tests, with independent sample t-tests or rank sum tests for between-group comparisons and repeated measures ANOVA for different time points. Categorical data were presented as frequencies and proportions, with χ2 tests or Fisher’s exact tests for between-group comparisons, and rank sum tests for ordinal data. A two-sided p-value<0.05 was considered statistically significant. The area under the curve (AUC) was used to evaluate the performance of the constructed models.
3 Results
3.1 Baseline information analysis
Statistical analysis of 84 patients showed that the median length of stay (LOS) was 8 days, with 47 patients (56.63%) having a LOS of ≤8 days. The average age of patients was 58 years, with a gender distribution of 47 males to 36 females. Preoperative variables included age, gender, smoking status, tumor stage, and location, among 19 variables in total, while postoperative variables included surgery duration, blood loss, mobility data for the first three days post-surgery, QOR-15, and pain scores, among 20 variables in total (Supplementary Files 2). Statistically significant preoperative features included smoking (P=0.006) and education level (P=0.150), while perioperative features with statistical significance included intraoperative blood loss (P=0.004), steps count on the first day after surgery (P<0.01), second day (P<0.01), and third day (P<0.01), postoperative first-day movement distance (P<0.01), second day (P<0.01), and third day (P<0.01), QOR-15 scores on the first day (P<0.01), second day (P<0.01), and third day (P<0.01), pain scores on the second day after surgery (P=0.022) and third day (P<0.01), and complications (P=0.015).
3.2 Feature selection
Through 10-fold cross-validation, the lambda value corresponding to the smallest mean error was found to be lambda. min=0.039433 (standard error=0.08373). This process selected 11 important variables (smoking history, education level, clinical stage, intraoperative blood loss, steps walked on the first day post-surgery, pain scores on the fourth day, distance walked on the third day, QOR-15 scores on the third day) and their corresponding non-zero coefficients (Figure 1) for model construction.
Figure 1 Lasso regression for variable selection. (A) The Lasso variable trajectory plot places the logarithm of lambda (log(λ)) on the horizontal axis and the coefficient values of the variables on the vertical axis, revealing the trend of variable coefficients converging toward zero as the lambda parameter increases, thus highlighting the importance of each variable. (B) The Lasso coefficient selection plot, with the logarithm of lambda (log(λ)) on the lower x-axis and the count of variables (those with non-zero coefficients at the corresponding lambda value) on the upper x-axis, along with the binomial deviation on the y-axis, demonstrates the variable selection process and the relationship between model deviation and different lambda values.
3.3 Construction and evaluation of machine learning-based predictive models
Internal validation of the ten models was performed using 1000 bootstrap resamplings. The bootstrap ROC curves of the ten models are shown in Figure 2, with the logistic regression model performing the best (AUC=0.99, 95%CI:0.97–0.99), followed by the Lightgbm model (AUC=0.92, 95%CI:0.90–0.95). Calibration curves were used to assess the discrepancy between predicted and actual probabilities, showing good calibration for all models. The logistic regression model demonstrates superior predictive accuracy (Figure 3). Decision curve analysis showed that logistic regression had a significant net clinical benefit over the other models across a 0%-100% clinical threshold range, making it the final predictive model based on AUC and clinical utility (Figure 4).
Figure 2 Area Under the ROC Curve (AUC) for ten machine learning models. The horizontal axis (X-axis) represents the false positive rate, while the vertical axis (Y-axis) represents the true positive rate. The models include: (A) XGBoost, (B) LightGBM, (C) DT, (D) SVM, (E) KNN, (F) RF, (G) ANN, (H) DeepForest, (I) CatBoost, and (J) Logistic Regression.
Figure 3 Calibration curves for Ten predictive models. The horizontal axis represents the predicted probability of occurrence by the models, while the vertical axis represents the observed probability of occurrence. The models include: (A) XGBoost, (B) LightGBM, (C) DT, (D) SVM, (E) KNN, (F) RF, (G) ANN, (H) DeepForest, (I) CatBoost, and (J) Logistic Regression.
Figure 4 Decision analysis curve of 7 prediction models. The horizontal axis represents the risk probability threshold, and the vertical axis represents the net benefit rate. The models include: (A) XGBoost, (B) LightGBM, (C) DT, (D) SVM, (E) KNN, (F) RF, (G) ANN, (H) DeepForest, (I) CatBoost, and (J) Logistic Regression.
3.4 Interpretability analysis of the predictive model
The logistic regression-based model for predicting prolonged LOS in postoperative colorectal cancer patients was selected as the final model. The SHAP algorithm was used for interpretability analysis. The logistic regression model, being a linear model derivative from regression to classification, provides a linear decision boundary, making the decision-making process straightforward and interpretable.
Doctors can gain a clearer understanding of predictive models from SHAP plots by visually interpreting the contributions of each feature to the model’s predictions. SHAP plots illustrate the impact of individual features on model output, allowing doctors to identify which factors are impacting the predictions and how they impacting the decision-making process.
Using the DALEX package, the impact of each variable on the prediction was calculated by sequentially removing each feature. The distance walked on the third day post-surgery was found to have the most significant impact on the model’s predictions. Other significant factors included education level, complications, insurance status, smoking history, disease staging, pain scores on the third day, intraoperative blood loss, steps walked on the first day, and QOR-15 scores on the third day (Figure 5A).
Figure 5 Important variables contribution to the LR (Logistic Regression) model. (A) Global variable importance analysis using the DALEX package. (B) Continuous variable analysis based on SHAP values. (C) The average impact of variables on the magnitude of model output. (D) The impact of different variable values on the model output.
Global average impacts of each important variable on model output magnitude calculated using the fastshap package showed that the distance walked on the third day post-surgery remained the most significant factor, followed by complications, education level, QOR-15 on the third day, intraoperative blood loss, smoking history, disease stage, steps walked on the first day, and pain scores on the third day (Figure 5C). This indicates that the distance walked on the third day post-surgery is the most crucial factor affecting the model’s predictions, making it the primary factor influencing the risk of prolonged LOS for colorectal cancer patients.
Figure 5B displays the SHAP value distribution for each feature, with colors indicating the magnitude of feature values—red representing low values and blue representing high values. Figure 5D shows the SHAP value distribution for each feature, with the horizontal axis representing SHAP values and the vertical axis representing the features. A SHAP value>0 is associated with an increased risk of extended hospital stay, while a SHAP value<0 is associated with a decreased risk of extended hospital stay. From these figures, we can deduce that the postoperative third-day movement distance is the most significant feature. High values of this feature negatively impact the model output, while low values positively impact the model output. Additionally, the presence of complications and high blood loss significantly negatively affect the model output.
4 Discussion
In this study, we constructed ten machine learning models to predict the probability of prolonged length of stay (pLOS) in patients. The optimal model was determined to be the Logistic Regression (LR) model, with an AUC of 0.99 and a 95% CI of 0.97–0.99, demonstrating superior predictive performance. The study also analyzed factors influencing the length of stay (LOS) after surgery for colorectal cancer patients, finding that postoperative mobility had the most significant impact on outcomes. Specific nursing interventions during the perioperative period can help promote patient recovery, reduce hospital stay, and improve hospital resource utilization while reducing patient burden.
Previous studies identified age, gender, marital status, body mass index (BMI), and postoperative complications as influencing factors (6, 17, 19). Variables during surgery such as surgery duration, blood loss, and surgery location were also potential predictors (20). However, previous studies lacked consideration of perioperative factors influencing outcomes. Activity within 24 hours post-surgery was an independent predictor for reducing LOS, and activity on days 1 to 3 post-surgery was crucial for the success of Enhanced Recovery After Surgery (ERAS) programs, reducing moderate to severe postoperative complications.
This study prospectively collected detailed preoperative data and recorded detailed postoperative data for three days, including mobility data (steps, time, distance), sleep duration, pain scores, and the 15-item Quality of Recovery (QOR-15). QOR-15 is a tool for quantifying postoperative walking ability and is an important indicator for assessing physical function recovery from the patient’s perspective (21).
Previous studies have demonstrated the accuracy of machine learning algorithms in predicting pLOS for colorectal cancer surgery patients, improving the reproducibility and generalizability of the developed models (3, 19). Stoean et al. (22) analyzed 368 patients, predicting LOS using SVM, LR, DT, and neural networks, achieving an accuracy of 73.14 ± 4.37 with an ensemble method. Francis et al. (23) included 275 colorectal cancer patients, with a median LOS of 6 days, and constructed a model using MLPNN with an AUC of 0.817, compared to an AUC of 0.807 from logistic regression analysis. The LR model constructed in this study had higher predictive ability and stronger interpretability.
In this study, patient education level and smoking history were significant factors affecting pLOS, which differs from other studies where gender was a significant variable. The median LOS for male patients was 9 days, compared to 7 days for female patients, indicating a lower probability of prolonged pLOS for female patients.
Some studies have shown a significant correlation between patient age and pLOS. However, after feature selection using Lasso, age showed no significant association with prolonged LOS in colorectal cancer patient post-surgery (23, 24). The study divided patients into age groups: ≤62 years (42 cases) and >62 years (41 cases), with no significant difference in LOS between these groups, consistent with Leung et al.’s findings that patient age does not significantly affect hospital stay duration.
Postoperative complications, a relatively constant risk factor affecting LOS, ranked second in variable importance, indicating a strong determinant of LOS (6, 17, 19). Previous research found that male colorectal cancer patients had a higher incidence of postoperative complications than females (25). In this study, males accounted for 75% of the 12 patients with complications. The consistency of these results with previous studies validates the data and modeling methods used in this study. All patients in this study experienced only one complication, with no significant association between preoperative underlying diseases and complications. Postoperative complications primarily included intestinal obstruction, urinary tract infections, anastomotic fistula, urinary retention, and pulmonary infections, with pulmonary and urinary tract infections being the most common in this study’s data. Previous research suggested that preoperative or perioperative factors increase the risk of postoperative complications, emphasizing the need for healthcare professionals to closely monitor patients’ postoperative physical condition to identify and control potential risk factors for complications, further reducing the impact of this variable on LOS and improving postoperative quality of life for patients (26).
While previous research focused on the impact of preoperative physical function levels on LOS, this study emphasized perioperative factors affecting outcomes for colorectal cancer patients (3, 27). The significant positive correlation between postoperative mobility and LOS aligns with the ERAS concept, where scientifically sound early postoperative activity promotes functional recovery (28), reduces complications, and shortens hospital stay (29). Therefore, healthcare professionals developing and assisting patients with early postoperative activity plans can significantly reduce the risk of pLOS, shorten hospital stay, and improve patient satisfaction and healthcare resource utilization.
This study has limitations, including its single-center design and small sample size, which may affect external validity. Bootstrap resampling was used to minimize model overfitting. The study not only considered preoperative variables but also focused on perioperative characteristics to identify more significantly related features for model construction, resulting in a model with excellent predictive performance. The use of interpretability algorithms helps understand the decision-making process and improve result interpretability. Future research will prioritize external validation of the existing predictive model and leverage longitudinal studies on colorectal cancer (CRC) to ascertain the model’s generalizability. We advocate for collaborative efforts among researchers to establish standardized, multicenter large-scale databases, thus augmenting the model’s generalizability and robustness, expediting its clinical application.
5 Conclusion
The LR model constructed in this study for predicting postoperative hospital stay duration in colorectal cancer patients demonstrated excellent predictive performance and interpretability, providing valuable information for healthcare efficiency evaluation and management. The analysis of feature variables’ impact on outcomes aids clinicians in understanding factors influencing patient hospital stay, providing a basis for healthcare professionals to implement personalized nursing interventions. This research offers support and guidance for clinical decision-making, potentially shortening patient hospital stays and reducing patients’ socio-economic burdens.
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Ethics statement
The studies involving humans were approved by Affiliated Hospital of Southwest Medical University (No.20190321-12). The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.
Author contributions
ZW: Writing – review & editing, Writing – original draft. YW: Writing – original draft, Writing – review & editing. SC: Writing – review & editing, Writing – original draft. YL: Writing – review & editing, Writing – original draft. HD: Writing – original draft. HP: Writing – review & editing. SG: Writing – review & editing. PZ: Writing – review & editing. SZ: Writing – review & editing.
Funding
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was supported by Sichuan Science and Technology Program (No. 2022YFS0616), Sichuan Provincial Medical Research Project Plan (No. S21004), Gulin County People’s Hospital-Affiliated Hospital of Southwest Medical University Science and Technology Strategic Cooperation Program (No. 2022GLXNYDFY05), Key-funded Project of the National College Student Innovation and Entrepreneurship Training Program (No. 202310632001), National College Student Innovation and Entrepreneurship Training Program (No. 202310632028), National College Student Innovation and Entrepreneurship Training Program (No. 202310632036), National College Student Innovation and Entrepreneurship Training Program (No.202310632093), School-level scientific research project of Southwest Medical University (NO.2021ZKQN043).
Acknowledgments
Graphic Abstract is created with biorender.com.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fonc.2024.1384931/full#supplementary-material
References
1. Sung H, Ferlay J, Siegel RL, Laversanne M, Soerjomataram I, Jemal A, et al. Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. (2021) 71:209–49. doi: 10.3322/caac.21660
2. West MA, Wischmeyer PE, Grocott MPW. Prehabilitation and nutritional support to improve perioperative outcomes. Curr Anesthesiol Rep. (2017) 7:340–9. doi: 10.1007/s40140–017-0245–2
3. Achilonu OJ, Fabian J, Bebington B, Singh E, Nimako G, Eijkemans RMJC, et al. Use of machine learning and statistical algorithms to predict hospital length of stay following colorectal cancer resection: A South African pilot study. Front Oncol. (2021) 11:644045. doi: 10.3389/fonc.2021.644045
4. Daidone M, Ferrantelli S, Tuttolomondo A. Machine learning applications in stroke medicine: advancements, challenges, and future prospectives. Neural Regener Res. (2024) 19:769–73. doi: 10.4103/1673–5374.382228
5. Peng Y, Wang Y, Wen Z, Xiang H, Guo L, Su L, et al. Deep learning and machine learning predictive models for neurological function after interventional embolization of intracranial aneurysms. Front Neurol. (2024) 15:1321923. doi: 10.3389/fneur.2024.1321923
6. Vicendese D, Marvelde LT, McNair PD, Whitfield K, English DR, Taieb SB, et al. Hospital characteristics, rather than surgical volume, predict length of stay following colorectal cancer surgery. Aust New Z J Public Health. (2020) 44:73–82. doi: 10.1111/1753–6405.12932
7. Leung AM, Gibbons R, Vu HN. Predictors of length of stay following colorectal resection for neoplasms in 183 veterans affairs patients. World J Surg. (2009) 33:2183–8. doi: 10.1007/s00268–009-0148–6
8. Tartter PI. Determinants of postoperative stay in patients with colorectal cancer. Dis Colon Rectum. (1988) 31:694–8. doi: 10.1007/BF02552587
9. Bland JM, Altman DG. Statistics Notes: Bootstrap resampling methods. BMJ. (2015) 350:h2622. doi: 10.1136/bmj.h2622
10. Park SW, Yeo NY, Kang S, Ha T, Kim TH, Lee D, et al. Early prediction of mortality for septic patients visiting emergency room based on explainable machine learning: A real-world multicenter study. J Korean Med Sci. (2024) 39:e53. doi: 10.3346/jkms.2024.39.e53
11. Wen Z, Wang Y, Zhong Y, Hu Y, Yang C, Peng Y, et al. Advances in research and application of artificial intelligence and radiomic predictive models based on intracranial aneurysm images. Front Neurol. (2024) 15:1391382. doi: 10.3389/fneur.2024.1391382
12. Li X, Zheng H, Ma C, Ji Y, Wang X, Sun D, et al. Higher adjuvant radioactive iodine therapy dosage helps intermediate-risk papillary thyroid carcinoma patients achieve better therapeutic effect. Front Endocrinol (Lausanne). (2024) 14:1307325. doi: 10.3389/fendo.2023.1307325
13. Tian Y, Li R, Wang G, Xu K, Li H, He L. Prediction of postoperative infectious complications in elderly patients with colorectal cancer: a study based on improved machine learning. BMC Med Inform Decis Mak. (2024) 24:11. doi: 10.1186/s12911–023-02411–0
14. Oishi K, Tominaga T, Ono R, Noda K, Hashimoto S, Shiraishi T, et al. Risk factors for reoperation within 30 days in laparoscopic colorectal cancer surgery: A Japanese multicenter study. Asian J Endosc Surg. (2024) 17:e13257. doi: 10.1111/ases.13257
15. Stethen TW, Ghazi YA, Heidel RE, Daley BJ, Barnes L, Patterson D, et al. Normal tissue complication probability models of hypothyroidism after radiotherapy for breast cancer. Clin Transl Radiat Oncol. (2024) 45:100734. doi: 10.1016/j.ctro.2024.100734
16. Kelly M, Sharp L, Dwane F, Kelleher T, Comber H. Factors predicting hospital length-of-stay and readmission after colorectal resection: a population-based study of elective and emergency admissions. BMC Health Serv Res. (2012) 12:77. doi: 10.1186/1472–6963-12–77
17. Le Quang AT, Carli F, Prince F. Is preoperative physical function testing predictive of length of stay in patients with colorectal cancer? A retrospective study. Eur J Surg Oncol. (2023) 49:106956. doi: 10.1016/j.ejso.2023.06.008
18. Karita R, Suzuki H, Onozato Y, Kaiho T, Inage T, Ito T, et al. A simple nomogram for predicting occult lymph node metastasis of non-small cell lung cancer from preoperative computed tomography findings, including the volume-doubling time. Surg Today. (2024) 54:31–40. doi: 10.1007/s00595–023-02695–9
19. Schneider EB, Hyder O, Brooke BS, Efron J, Cameron JL, Edil BH, et al. Patient readmission and mortality after colorectal surgery for colon cancer: impact of length of stay relative to other clinical factors. J Am Coll Surg. (2012) 214:390–9. doi: 10.1016/j.jamcollsurg.2011.12.025
20. Masum S, Hopgood A, Stefan S, Flashman K, Khan J. Data analytics and artificial intelligence in predicting length of stay, readmission, and mortality: a population-based study of surgical management of colorectal cancer. Discov Oncol. (2022) 13:11. doi: 10.1007/s12672–022-00472–7
21. Bergestuen L, Moger T, Oterhals K, Pfeffer F, Nestvold T, Norderval S, et al. Translation and validation of the Norwegian version of the postoperative quality of recovery score QoR-15. Acta Anaesthesiol Scand. (2023) 68(1):43–50. doi: 10.1111/aas.14322
22. Stoean R, Stoean C, Sandita A, Ciobanu D, Mesina C. Ensemble of classifiers for length of stay prediction in colorectal cancer. In: Advances in Computational Intelligence: 13th International Work-Conference on Artificial Neural Networks, IWANN 2015, Palma de Mallorca, Spain, June 10-12, 2015. Proceedings, Part I 13. Springer International Publishing (2015). p. 444–57.
23. Francis NK, Luther A, Salib E, Allanby L, Messenger D, Allison AS, et al. The use of artificial neural networks to predict delayed discharge and readmission in enhanced recovery following laparoscopic colorectal cancer surgery. Tech Coloproctol. (2015) 19:419–28. doi: 10.1007/s10151–015-1319–0
24. Faiz O, Haji A, Burns E, Bottle A, Kennedy R, Aylin P. Hospital stay amongst patients undergoing major elective colorectal surgery: predicting prolonged stay and readmissions in nhs hospitals. Colorectal Dis. (2011) 13:816–22. doi: 10.1111/j.1463–1318.2010.02277
25. Vermeer N, Backes Y, Snijders H, Bastiaannet E, Liefers G, Moons L, et al. National cohort study on postoperative risks after surgery for submucosal invasive colorectal cancer. BJS Open. (2019) 3:210. doi: 10.1002/bjs5.50125
26. Biondo S, Galvez A, Ramırez E, Frago R, Kreisler E. Emergency surgery for obstructing and perforated colon cancer: patterns of recurrence and prognostic factors. Tech Coloproctol. (2019) 23:1141–61. doi: 10.1007/s10151-019-02110-x
27. Hübner M, Kusamura S, Villeneuve L, Al-Niaimi A, Alyami M, Balonov K, et al. Guidelines for postoperative care in gynecologic/oncology surgery: Enhanced Recovery After Surgery (ERAS®) Society recommendations–part II. Gynecol Oncol. (2016) 140:323–32. doi: 10.1016/j.ygyno.2015.12.019
28. Stethen TW, Ghazi YA, Heidel RE, Daley BJ, Barnes L, Patterson D, et al. Walking to recovery: the effects of missed ambulation events on postsurgical recovery after bowel resection. J Gastrointest Oncol. (2018) 9:953–61. doi: 10.21037/jgo
Keywords: machine learning, predictive model, colorectal cancer, prospective study, explainable algorithm, hospital stay
Citation: Wen Z, Wang Y, Chen S, Li Y, Deng H, Pang H, Guo S, Zhou P and Zhu S (2024) Construction of a predictive model for postoperative hospitalization time in colorectal cancer patients based on interpretable machine learning algorithm: a prospective preliminary study. Front. Oncol. 14:1384931. doi: 10.3389/fonc.2024.1384931
Received: 19 February 2024; Accepted: 03 June 2024;
Published: 14 June 2024.
Edited by:
Marialuisa Lugaresi, University of Bologna, ItalyReviewed by:
José Salvador Sánchez, University of Jaume I, SpainSara Dorri, Isfahan University of Medical Sciences, Iran
Copyright © 2024 Wen, Wang, Chen, Li, Deng, Pang, Guo, Zhou and Zhu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Haowen Pang, haowenpang@foxmail.com; Shengmin Guo, 2930773281@qq.com; Ping Zhou, zhouping11@smwu.edu.cn; Shiqin Zhu, zhushiqin1989@163.com
†These authors have contributed equally to this work and share first authorship