EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Optimization of Random Forest for Outpatient Cancellation Prediction Using PSO and Behavioral Feature Engineering

Azmi Abiyyu Dzaky, Farrikh Alzami, Pujiono Pujiono

Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics · 05.07.2026 · 8 (3) · 317-334

DOI: 10.35882/ijeeemi.v8i3.348 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, online erschienen am 05.07.2026. Verfasst von Azmi Abiyyu Dzaky und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Outpatient cancellations and no-shows, defined respectively as proactive withdrawals and silent attendance failures, were consolidated into a binary target variable representing failed appointments that result in a completed visit. This issue significantly reduces healthcare efficiency and increases operational costs. While machine learning is widely applied, the existing methods face critical trade-offs between computational resource demands and data integrity, often relying on synthetic resampling such as SMOTE that introduces artificial noise. This study further aims to develop an optimized, lightweight Decision Support System designed as a core engine for potential future Hospital Digital Twin and AI Command Center architectures. The primary contribution is Behavioral Feature Engineering utilizing a 12-month retrospective patient history as a natural data enrichment strategy, offering a robust alternative to artificial data generation. The proposed framework employs an optimized Random Forest classifier combined with Target Encoding, Mutual Information-based feature selection, and Particle Swarm Optimization for hyperparameter tuning. To ensure computational efficiency, the optimization was performed on a stratified 2% sample of 10,690 records from a large-scale dataset containing 686,387 records from three hospitals. The final model achieved an accuracy of 0.871, an F1-score of 0.870, and a ROC-AUC of 0.940, effectively surpassing recent 2024 state-of-the-art benchmarks even under significant class imbalance. Furthermore, Particle Swarm Optimization achieved a 75.6% reduction in tree complexity, requiring only 122 estimators instead of 500, while preserving peak performance. Multi-scheme validation under strict chronological temporal splits and patient-grouped cross-validation proved high generalization stability, yielding robust F1-scores of 0.855 and 0.867, with a narrow 95% confidence interval of [0.8692, 0.8728]. The entire end-to-end pipeline was completed in under 60 minutes using standard CPU resources. In conclusion, the proposed framework provides a robust and sustainable predictive engine suitable for proactive clinical resource management and future hospital digital integration

Zitieren

APA

Dzaky, A. A., Alzami, F., & Pujiono, P. (2026). Optimization of Random Forest for Outpatient Cancellation Prediction Using PSO and Behavioral Feature Engineering. Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics, 8(3), 317-334. https://doi.org/10.35882/ijeeemi.v8i3.348

Vancouver

Dzaky AA, Alzami F, Pujiono P. Optimization of Random Forest for Outpatient Cancellation Prediction Using PSO and Behavioral Feature Engineering. Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics. 2026;8(3):317-334. doi:10.35882/ijeeemi.v8i3.348

BibTeX
@article{Dzaky2026,
  author = {Dzaky, Azmi Abiyyu and Alzami, Farrikh and Pujiono, Pujiono},
  title = {Optimization of Random Forest for Outpatient Cancellation Prediction Using PSO and Behavioral Feature Engineering},
  journal = {Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics},
  year = {2026},
  volume = {8},
  number = {3},
  pages = {317--334},
  doi = {10.35882/ijeeemi.v8i3.348}
}
Kostenlos starten →