{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,8]],"date-time":"2026-09-08T00:35:47Z","timestamp":1788827747971,"version":"build-2803163510"},"reference-count":14,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2025,12,31]],"date-time":"2025-12-31T00:00:00Z","timestamp":1767139200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Medicina"],"abstract":"<jats:p>Background and Objectives: Hospital length of stay (LOS) after breast cancer surgery is a key indicator of postoperative recovery, healthcare quality, and hospital resource utilization. Traditional statistical approaches have identified general correlates of LOS but remain limited in predictive accuracy, particularly in heterogeneous real-world surgical populations. Machine learning (ML) models may offer improved performance by capturing nonlinear interactions among clinical, pathological, and operative factors. This study aimed to evaluate ML algorithms for LOS prediction and to identify determinants of prolonged hospitalization in a contemporary breast cancer cohort. Materials and Methods: We conducted a retrospective cross-sectional study of 198 consecutive breast cancer patients who underwent surgery between January 2022 and December 2023 at a single tertiary care center. Clinical, pathological, and surgical data were extracted from electronic medical records. Three regression models\u2014multiple linear regression, Random Forest, and Gradient Boosting\u2014were trained to predict continuous LOS, and three classification models were applied to prolonged LOS (\u226510 days). Model performance was assessed using mean absolute error (MAE), root mean square error (RMSE), coefficient of determination (R2), and area under the curve (AUC). Feature importance was analyzed for the best-performing model. Results: The median LOS was 7 days (IQR 5\u201310), ranging from 1 to 26 days. Breast-conserving surgery showed the shortest LOS (median 3 days), while mastectomy with immediate reconstruction resulted in the longest stays (median 8 days). Random Forest regression achieved the lowest prediction error (MAE 2.31 days; RMSE 2.82; R2 = 0.37), outperforming Gradient Boosting and substantially surpassing linear regression (MAE 8.63 days; R2 = \u20138.17). Key predictors included age, surgical complexity, reconstruction modality, BMI, implant capacity, and tumor burden. Classification models yielded modest AUCs (0.545\u20130.589) with low sensitivity, indicating limited discriminative performance for dichotomized LOS outcomes. Conclusions: Machine-learning models, particularly Random Forest, substantially improve LOS prediction compared with classical regression and provide clinically meaningful insights into the drivers of hospitalization after breast cancer surgery. Continuous LOS modeling is more informative than binary thresholds. These findings support integrating ML-based tools into perioperative planning, resource allocation, and patient counseling in breast surgical care.<\/jats:p>","DOI":"10.3390\/medicina62010088","type":"journal-article","created":{"date-parts":[[2025,12,31]],"date-time":"2025-12-31T17:24:58Z","timestamp":1767201898000},"page":"88","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Machine Learning Modeling of Hospital Length of Stay After Breast Cancer Surgery: Comparison of Random Forest and Linear Regression Approaches"],"prefix":"10.3390","volume":"62","author":[{"given":"Iulian","family":"Slavu","sequence":"first","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Raluca","family":"Tulin","sequence":"additional","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Endocrine Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-3459-6395","authenticated-orcid":false,"given":"Alexandru","family":"Dogaru","sequence":"additional","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ileana","family":"Dima","sequence":"additional","affiliation":[{"name":"General Surgery Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Cristina Orlov","family":"Slavu","sequence":"additional","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Oncology Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8603-5807","authenticated-orcid":false,"given":"Daniela-Elena Gheoca","family":"Mutu","sequence":"additional","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Plastic Surgery Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Adrian","family":"Tulin","sequence":"additional","affiliation":[{"name":"Faculty of Medicine, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Agrippa Ionescu Emergency Clinical Hospital, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2025,12,31]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1097\/PRS.0000000000007420","article-title":"A Critical Examination of Length of Stay in Autologous Breast Reconstruction: A National Surgical Quality Improvement Program Analysis","volume":"147","author":"Kotha","year":"2021","journal-title":"Plast. Reconstr. Surg."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"726","DOI":"10.1002\/jso.27378","article-title":"Decreasing Length of Stay in Breast Reconstruction Patients: A National Analysis of 2019\u20132020","volume":"128","author":"Rubenstein","year":"2023","journal-title":"J. Surg. Oncol."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"e212240","DOI":"10.1001\/jamanetworkopen.2021.2240","article-title":"Use of Machine Learning to Develop and Evaluate Models Using Preoperative and Intraoperative Data to Identify Risks of Postoperative Complications","volume":"4","author":"Xue","year":"2021","journal-title":"JAMA Netw. Open"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Cho, H., Ahn, I., Gwon, H., Kang, H., Kim, Y., Seo, H., Choi, H., Kim, M., Han, J., and Kee, G. (2024). Explainable Predictions of a Machine Learning Model to Forecast Postoperative Length of Stay for Severe Patients. BMC Med. Inform. Decis. Mak., 24.","DOI":"10.1186\/s12911-024-02755-1"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"e23147","DOI":"10.2196\/23147","article-title":"Prediction of Prolonged Length of Hospital Stay After Cancer Surgery Using Machine Learning on Electronic Health Records","volume":"9","author":"Jo","year":"2021","journal-title":"JMIR Med. Inform."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Peet, B.M., Sidoti, A., Allen, R.J., Nelson, J.A., and Graziano, F. (2025). Artificial Intelligence in Breast Reconstruction: Enhancing Surgical Planning, Aesthetic Outcomes, and Patient-Centered Care. J. Clin. Med., 14.","DOI":"10.3390\/jcm14217821"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"345","DOI":"10.1002\/jso.70015","article-title":"Predicting Breast Reconstruction Readmission, Reoperation, and Prolonged Length of Stay: A Machine Learning Approach","volume":"132","author":"Gabay","year":"2025","journal-title":"J. Surg. Oncol."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1725","DOI":"10.3390\/biomedinformatics4030094","article-title":"Flow Analysis of Mastectomy Patients Using Length of Stay: A Single-Center Study","volume":"4","author":"Trunfio","year":"2024","journal-title":"BioMedInformatics"},{"key":"ref_9","unstructured":"(2025, December 10). OECD Data Explorer. Available online: https:\/\/data-explorer.oecd.org\/."},{"key":"ref_10","unstructured":"(2025, December 10). Romanian National Health Insurance House (CNAS). Available online: https:\/\/cnas.ro\/."},{"key":"ref_11","unstructured":"Liang, L., Moore, B., and Soni, A. (2025, December 10). Statistical Brief #261: National Inpatient Hospital Costs: The Most Expensive Conditions by Payer, 2017, Healthcare Cost and Utilization Project (HCUP) Statistical Briefs [Internet], Available online: https:\/\/www.ncbi.nlm.nih.gov\/books\/NBK561141\/."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"367","DOI":"10.3109\/2000656X.2015.1062387","article-title":"Introducing Fast-Track Surgery Principles in Autologous Breast Reconstruction: A Case-Control Study","volume":"49","author":"Bonde","year":"2015","journal-title":"J. Plast. Surg. Hand Surg."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1177\/1457496915583201","article-title":"Feasibility of Day Surgery in Patients Undergoing Breast Conservation and Sentinel Node Biopsy: A Randomized Controlled Trial","volume":"105","author":"Ojala","year":"2016","journal-title":"Scand. J. Surg."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1056e","DOI":"10.1097\/PRS.0000000000003242","article-title":"Consensus Review of Optimal Perioperative Care in Breast Reconstruction: ERAS Society Recommendations","volume":"139","author":"Tan","year":"2017","journal-title":"Plast. Reconstr. Surg."}],"container-title":["Medicina"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1648-9144\/62\/1\/88\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,31]],"date-time":"2025-12-31T17:57:08Z","timestamp":1767203828000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1648-9144\/62\/1\/88"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,31]]},"references-count":14,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,1]]}},"alternative-id":["medicina62010088"],"URL":"https:\/\/doi.org\/10.3390\/medicina62010088","relation":{},"ISSN":["1648-9144"],"issn-type":[{"value":"1648-9144","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,31]]}}}