Skip to main navigation Skip to search Skip to main content

Vorhersage der Bettenbelegungsdauer mittels Machine Learning

  • Sophie Maria Pichler

    Student thesis: Master's Thesis

    Abstract

    Bed occupancy duration (also Length of stay; LOS) is an important indicator in hospitals, but is not predicted automatically at the moment. Medical staff on the respective ward are asked directly whether a free bed is available. Predicting bed occupancy duration would be an important step towards more efficient resource planning. For this reason, this thesis deals with predicting bed occupancy duration in hospitals using machine learning. The aim of the thesis is to train, optimise and compare different machine learning algorithms. As a result, the most powerful model is selected and the most important influencing factors are analysed. The data used derives from a hospital in Linz from the years 2014-2024. Only data available directly at the admission is used. This includes, for example, gender, age, organisational units and diagnosis. In a first step, the data had to be prepared and analysed in order to create a suitable database. As a result, data from 544.727 patient cases were available for further processing. In the course of the data analysis, it was also investigated whether a prediction could be made using simple statistical methods. However, individual factors are not meaningful enough to accurately predict the length of bed occupancy. The prediction of the LOS was adressed as a classification problem and was divided into nine different classes (1 day, 2 days, 3 days, 4 days, 5 days, 6 days, 7 days, 8-30 days, >30 days). Five algorithms were compared: Random Forest, Light Gradient Boosting Machine, Support Vector Machine, K-Nearest Neighbor and artificial neural networks. An initial comparison of the algorithms with standard parameter settings was carried out on the one hand with all selected features and on the other hand with a reduced selection of the four most important features. This made it possible to identify the better starting position for all algorithms. The five selected models were subjected to hyperparameter optimisation in order to optimise the models to achieve better results. All models delivered good results, but Random Forest, with an accuracy of 45 %, and Light Gradient Boosting Machine, with an accuracy of 44 %, achieved the best results. The most important features were identified using the integrated feature importance of the Random Forest. The results show that it is possible to predict bed occupancy duration using machine learning, whereby the quality of the forecast can be optimised with additional data. Integration into an existing system can be done as a suggestion module, but requires legal, technical and ethical clarifications.
    Date of Award2025
    Original languageGerman (Austria)
    Awarding Institution
    • FH OÖ
    SupervisorJulia Vetter (Supervisor)

    Studyprogram

    • Data Science and Engineering

    Cite this

    '