Abstract
Proper prediction of Length Of Stay (LOS) has become increasingly important these years. The LOS prediction provides better services, managing hospital resources and controls their costs. In this paper, we implemented and compared two Machine Learning (ML) methods, the Random Forest (RF) and the Gradient Boosting model (GB), using an open source available dataset. This data are been firstly preprocessed by combining data transformation, data standardization and data codification. Then, the RF and the GB were carried out, with a phase of hyper parameters tuning until setting optimal coefficients. Finally, the Mean Square Error (MAE), the R-squared (\(R^{2}\)) and the Adjusted R-squared (Adjusted \(R^{2}\)) metrics are selected to evaluate model with parameters.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Khosravizadeh, O., Vatankhah, S., Bastani, P., Kalhor, R., Alirezaei, S., Doosty, F.: Factors affecting length of stay in teaching hospitals of a middle-income country. Electron. Phys. 8(10), 3042–3047 (2016)
Carter, E.M., Potts, H.W.: Predicting length of stay from an electronic patient record system: a primary total knee replacement example. BMC Med. Inform. Decis. Mak. 14(1), 1–13 (2014)
Fédération Hospitalière de France: Le PMSI: des objectifs et une standardisation des données pour le service public hospitalier et les établissements privés de soin (2019)
Turgeman, L., May, J.H., Sciulli, R.: Insights from a machine learning model for predicting the hospital Length of Stay (LOS) at the time of admission. Expert Syst. Appl. 78, 376–385 (2017)
Shea, S., Sideli, R.V., Dumouchel, W., Pulver, G., Arons, R.R., Clayton, P.D.: Computer-generated informational messages directed to physicians: effect on length of hospital stay. J. Am. Med. Inform. Assoc. 2(1), 58–64 (1995)
Rigal, M.: Management des lits et durée moyenne de séjour: Exemple de recherche d’optimisation au Centre Hospitalier d’Avignon. Ph.D. thesis (2009)
Rowan, M., Ryan, T., Hegarty, F., Hare, N.O.: The use of artificial neural networks to stratify the length of stay of cardiac patients based on preoperative and initial postoperative factors. Artif. Intell. Med. 40, 211–221 (2007)
Lafaro, R.J., Pothula, S., Kubal, K.P., Inchiosa, M.A., Pothula, V.M., Yuan, S.C., Maerz, D.A., Montes, L., Oleszkiewicz, S.M., Yusupov, A., Perline, R., Inchiosa, M.A.: Neural network prediction of ICU length of stay following cardiac surgery based on pre- incision variables. Plos One 10(12), 1–19 (2015)
Chuang, M.T., Hu, Y.H., Tsai, C.F., Lo, C.L., Lin, W.C.: The identification of prolonged length of stay for surgery patients. In: Proceedings - 2015 IEEE International Conference on Systems, Man, and Cybernetics, SMC 2015, pp. 3000–3003 (2016)
Loshin, D.: Data consolidation and integration. In: Master Data Management, pp. 177–199. Elsevier (2009)
Gentimis, T., Alnaser, A.J., Durante, A., Cook, K., Steele, R.: Predicting hospital length of stay using neural networks on MIMIC III data. In: IEEE 15th International Conference on Dependable, Autonomic and Secure Computing, 15th International Conference on Pervasive Intelligence and Computing, 3rd International Conferece on Big Data Intelligence and Computing and Cyber Science and Technology Congress (DASC/PiCom/DataCom/CyberSciTech), pp. 1194–1201 (2017)
Li, J.S., Tian, Y., Liu, Y.F., Shu, T., Liang, M.H.: Applying a BP neural network model to predict the length of hospital stay. In: LNCS, vol. 7798, pp. 18–29. Springer, Heidelberg (2013)
Pendharkar, P.C., Khurana, H.: Machine learning techniques for predicting hospital length of stay in Pennsylvania federal and specialty hospitals. Int. J. Comput. Sci. Appl. 11, 45–56 (2014)
Aghajani, S., Kargari, M.: Determining factors influencing length of stay and predicting length of stay using data mining in the general surgery department. Hospital Pract. Res. (HPR) 1(2), 53–58 (2016)
Johnson, A.E., Pollard, T.J., Shen, L., Lehman, L.W.H., Feng, M., Ghassemi, M., Moody, B., Szolovits, P., Anthony Celi, L., Mark, R.G.: MIMIC-III, a freely accessible critical care database. Sci. Data 3, 1–9 (2016)
Microsoft: Predicting Hospital Length of Stay (2017)
Brownlee, J.: Why One-Hot encode data in machine learning? (2017)
Carnevale, R.: Understanding Gradient Boosting, Part 1 - Data Stuff (2015)
Acknowledgments
The authors would like to thank the region of Hauts-de-France (FEDER funds) and the company Alicante (https://www.alicante.fr/) for the funding and their support and contributions.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Mekhaldi, R.N., Caulier, P., Chaabane, S., Chraibi, A., Piechowiak, S. (2020). Using Machine Learning Models to Predict the Length of Stay in a Hospital Setting. In: Rocha, Á., Adeli, H., Reis, L., Costanzo, S., Orovic, I., Moreira, F. (eds) Trends and Innovations in Information Systems and Technologies. WorldCIST 2020. Advances in Intelligent Systems and Computing, vol 1159. Springer, Cham. https://doi.org/10.1007/978-3-030-45688-7_21
Download citation
DOI: https://doi.org/10.1007/978-3-030-45688-7_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-45687-0
Online ISBN: 978-3-030-45688-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)