Stroke is a critical health issue in Indonesia, contributing to high mortality rates. At Banyumas District Hospital, stroke is the fourth most common condition, presenting significant challenges in both clinical care and financial management. The purpose of this study is to enhance the quality of services and optimize treatment costs for stroke patients by developing a predictive model using the XGBoost algorithm. This study employs the XGBoost algorithm to develop predictive models, which are then implemented within a web-based machine learning application using the Paython Flask framework. The models predict patient mortality and hospitalization duration. The results indicate that the XGBoost algorithm predicts patient mortality with 86% accuracy and hospitalization duration with 82% accuracy. The developed application significantly enhances care quality and resource management at Banyumas District Hospital by providing accurate predictions to support healthcare decision-making. The use of this application can significantly improve the management of stroke patient care at Banyumas District Hospital, thus maximizing service quality and optimizing treatment costs. By integrating accurate predictive modeling into healthcare decision-making processes, the application facilitates more effective allocation of resources and timely medical interventions, ultimately contributing to better patient outcomes.
Copyrights © 2025