Machine Learning Decision Support System for Heart Disease Prediction with Optuna and Threshold Optimization
DOI:
https://doi.org/10.52436/1.jutif.2026.7.2.5684Keywords:
Heart disease prediction, Decision support system, Machine learning, Optuna, Hyperparameter optimization, Threshold optimizationAbstract
Cardiovascular disease remains a major global health challenge, necessitating accurate and reliable decision support systems for early detection. This study proposes a machine learning–based decision support system that integrates ensemble learning, automated hyperparameter optimization using Optuna, and decision threshold tuning. The system was evaluated using several baseline machine learning models, including Logistic Regression, SVM, KNN, Decision Tree, and Random Forest, with the Random Forest model selected for optimization. Hyperparameter tuning with Optuna and decision threshold optimization led to a significant improvement in accuracy (95.0%) and ROC–AUC (0.977), with the optimized model outperforming all baseline models. This approach demonstrates improved sensitivity, reduced false negatives, and enhanced predictive performance, offering a clinically reliable tool for early heart disease detection. The results emphasize the importance of model optimization and decision threshold calibration in clinical decision support systems.
Downloads
References
L. Yang, B. Zheng, and Y. Gong, “Global , regional and national burden of ischemic heart disease and its attributable risk factors from 1990 to 2021 : a systematic analysis of the Global Burden of Disease study,” BMC Cardiovascular Disorders, vol. 25, no. August, pp. 1–15, 2025, doi: 10.1186/s12872-025-05022-x.
X. Wu, J. Sha, Q. Yin, Y. Gu, and X. He, “Global burden of hypertensive heart disease and attributable risk factors , 1990 – 2021 : insights from the global burden of disease study,” Scientific Reports, vol. 15, no. 14594, pp. 1–26, 2025, doi: 10.1038/s41598-025-99358-1.
M. L. Costa and G. Cecatti, “Urgent and decisive action needed in maternal morbidity and mortality to prevent stagnation in progress,” The Lancet Global Health, vol. 13, no. 4, pp. e600–e601, 2025, doi: 10.1016/s2214-109x(25)00069-5.
M. S. Khan, I. Shahid, A. Bennis, A. Rakisheva, M. Metra, and J. Butler, “Global epidemiology of heart failure,” Nature Reviews Cardiology, vol. 21, no. October, pp. 717–734, 2024, doi: 10.1038/s41569-024-01046-6.
F. Rizky, M. Chaq, E. Chaq, Z. Multazam, A. Mustofa, and W. Socha, “The 30 Years of Shifting in The Indonesian Cardiovascular Burden-Analysis of The Global Burden of Disease Study Global Burden of Disease,” Journal of Epidemiology and Global Health, vol. 14, no. March, pp. 193–212, 2024, doi: 10.1007/s44197-024-00187-8.
B. Chong et al., “Global burden of cardiovascular diseases : projections from 2025 to 2050,” European Journal of Preventive Cardiology, vol. 32, no. 11, pp. 1001–1015, 2025, doi: 10.1093/eurjpc/zwae281.
G. B. of C. D. and R. 2023 Collaborators, “Global, Regional, and National Burden of Cardiovascular Diseases and Risk Factors in 204 Countries and Territories, 1990-2023,” Journal of the American College of Cardiology, vol. 86, no. 22, pp. 2167–2243, 2025, doi: 10.1016/j.jacc.2025.08.015.
P. Huang, Y. Guo, G. Ren, and L. Guo, “Global trends of cardiovascular disease burden attributable to high body mass index from 1990 to 2021 and projections to 2035,” Frontiers in Cardiovascular Medicine, vol. 12, no. January, p. 1700540, 2026, doi: 10.3389/fcvm.2025.1700540.
B. Chong et al., “The Global Syndemic of Modi fi able Cardiovascular Risk Factors Projected From 2025 to 2050,” Journal of the American College of Cardiology, vol. 86, no. 3, pp. 165–177, 2025, doi: 10.1016/j.jacc.2025.04.061.
S. Xie, L. Zhang, Y. Zhang, Z. Zheng, J. Li, and S. Zhou, “Global, regional, and national burden of ischemic heart disease and ischemic stroke and their risk factors in youths and young adults aged 15-39 years (1990–2021): a comparative analysis of risk factors from global burden of disease study 2021,” Global Health Action, vol. 18, no. 1, pp. 1–20, 2025, doi: 10.1080/16549716.2025.2560711.
U. K. Lilhore et al., “A deep learning approach for heart disease detection using a modified multiclass attention mechanism with BiLSTM,” Scientific Reports, vol. 15, no. July, pp. 1–22, 2025, doi: 10.1038/s41598-025-09594-8.
S. Liu, Y. Cui, and M. Chen, “Heart rate variability : a multidimensional perspective from physiological marker to brain-heart axis disorders prediction,” Frontiers in Cardiovascular Medicine, vol. 12, no. November, pp. 1–16, 2025, doi: 10.3389/fcvm.2025.1630668.
S. Dhandapani, H. Somasundaram, and T. Angamuthu, “Hybrid deep learning framework for heart disease prediction using ECG signal images,” Scientific Reports, vol. 15, no. September, pp. 1–17, 2025, doi: 10.1038/s41598-025-10062-6.
H. Bilal and Y. Muhammad, “Identification and diagnosis of chronic heart disease : A deep learning-based hybrid approach,” Alexandria Engineering Journal, vol. 124, no. March, pp. 470–483, 2025, doi: 10.1016/j.aej.2025.03.025.
V. Idakwo, “From diagnosis to management : unveiling the challenges of artificial intelligence solutions in cardiovascular healthcare,” BMC Digital Health, vol. 3, no. September, pp. 1–15, 2025, doi: 10.1186/s44247-025-00187-z.
A. Sharma et al., “A Systematic Review on Machine Learning Intelligent Systems for Heart Disease Diagnosis,” Archives of Computational Methods in Engineering, vol. 32, no. October, pp. 4303–4329, 2025, doi: 10.1007/s11831-025-10271-2.
E. Church, K. Poppe, and S. Wells, “Scoping review of the use of multimorbidity variables in cardiovascular disease risk prediction,” BMC Public Health, vol. 25, no. March, pp. 1–11, 2025, doi: 10.1186/s12889-025-22169-6.
A. Mansouri et al., “Health system barriers to cardiovascular disease prevention and control in Iran: a qualitative study,” BMC Health Services Research, vol. 25, no. November, pp. 1–14, 2025, doi: 10.1186/s12913-025-13674-w.
X. Y. Zhu, M. Q. Shi, Z. M. Jiang, X. Li, J. W. Tian, and F. F. Su, “Global, regional, and national burden of cardiovascular diseases attributable to metabolic risks across all age groups from 1990 to 2021: an analysis of the 2021 global burden of disease study data,” BMC Public Health, vol. 25, no. May, pp. 1–21, 2025, doi: 10.1186/s12889-025-22702-7.
J. Bhatt, S. Jain, and D. D. Bhatia, “Artificial intelligence (Al) in healthcare diagnosis: evidence-based recent advances and clinical implications,” Sensors and Diagnostics, vol. 4, no. October, pp. 1047–1059, 2025, doi: 10.1039/d5sd00146c.
H. Liu and R. K. Tripathy, “Machine Learning and Deep Learning for Healthcare Data Processing and Analyzing: Towards Data-Driven Decision-Making and Precise Medicine,” Diagnostics, vol. 15, no. 8, pp. 1–6, 2025, doi: 10.3390/diagnostics15081051.
Z. Bin Akhtar, “Artificial intelligence within medical diagnostics: A multi-disease perspective,” Artificial Intelligence in Health, vol. 2, no. 3, pp. 44–62, 2025, doi: 10.36922/aih.5173.
T. Y. Lee, “Application of Artificial Intelligence in Healthcare: Trends, Challenges in Disease Diagnosis and Management,” Theoretical and Natural Science, vol. 87, no. 1, pp. 208–217, 2025, doi: 10.54254/2753-8818/87/2025.20353.
C. M. Bertoncelli et al., “PredictMed-CDSS : Artificial Intelligence-Based Decision Support System Predicting the Probability to Develop Neuromuscular Hip Dysplasia,” Bioengineering, vol. 12, no. 8, pp. 1–19, 2025, doi: 10.3390/bioengineering12080846.
Q. Abbas and W. Jeong, “Explainable AI in Clinical Decision Support Systems: A Meta-Analysis of Methods, Applications, and Usability Challenges,” Healthcare, vol. 13, no. 17, pp. 1–28, 2025, doi: 10.3390/healthcare13172154.
S. Kierner, P. Kierner, and J. Kucharski, “Combining machine learning models and rule engines in clinical decision systems : Exploring optimal aggregation methods for vaccine hesitancy prediction,” Computers in Biology and Medicine, vol. 188, no. April, p. 109749, 2025, doi: 10.1016/j.compbiomed.2025.109749.
Y. Kırelli, “Medical Decision Support Systems in Emergency Departments: An NLP and Machine Learning-Based Triage Model,” Arabian Journal for Science and Engineering, no. December, p. 10924, 2025, doi: 10.1007/s13369-025-10924-1.
Y. Liu, Z. Shi, C. Xiao, and B. Wang, “Computerized Medical Imaging and Graphics A deep learning-based clinical decision support system for glioma grading using ensemble learning and knowledge distillation,” Computerized Medical Imaging and Graphics, vol. 124, no. July, p. 102602, 2025, doi: 10.1016/j.compmedimag.2025.102602.
J. Miguel, L. Alcaraz, H. Bouma, and N. Strodthoff, “Enhancing clinical decision support with physiological waveforms — A multimodal benchmark in emergency care,” Computers in Biology and Medicine, vol. 192, no. Part A, p. 110196, 2025, doi: 10.1016/j.compbiomed.2025.110196.
M. Mahdavi, A. Kazemnejad, A. Asosheh, D. Khalili, and A. Tajari, “Development and validation of an artificial intelligence-based model for cardiovascular disease prediction using longitudinal data,” BMC Medical Informatics and Decision Making, vol. 25, no. December, pp. 1–11, 2025, doi: 10.1186/s12911-025-03280-5.
R. Başar, Ö. Ocak, A. Erturk, and M. de la Roche, “Leveraging Machine Learning Techniques to Predict Cardiovascular Heart Disease,” Information, vol. 16, no. 8, pp. 1–16, 2025, doi: 10.3390/info16080639.
L. Yu et al., “Interpretable machine learning model for cardiovascular disease risk prediction: a feature decomposition-based study,” BMC Public Health, vol. 25, no. October, pp. 1–9, 2025, doi: 10.1186/s12889-025-24921-4.
C. S. Parsons, A. Zuiderwijk, N. A. Orchard, J. H. F. Oosterhoff, and M. De Reuver, “Task-Technology Fit of Artificial Intelligence- based clinical decision support systems : a review of qualitative studies,” BMC Medical Informatics and Decision Making, vol. 25, no. October, pp. 1–16, 2025, doi: 10.1186/s12911-025-03237-8.
N. Newton, A. Bamgboje-ayodele, R. Forsyth, A. Tariq, and M. T. Baysari, “A systematic review of clinicians’ acceptance and use of clinical decision support systems over time,” npj Digital Medicine, vol. 8, no. May, pp. 1–17, 2025, doi: 10.1038/s41746-025-01662-7.
F. Yousefi, R. Dehnavieh, M. Laberge, and M. P. Gagnon, “Opportunities, challenges, and requirements for Artificial Intelligence (AI) implementation in Primary Health Care (PHC): a systematic review,” BMC Primary Care, vol. 26, no. June, pp. 1–24, 2025, doi: 10.1186/s12875-025-02785-2.
M. D. Teja and G. M. Rayalu, “Optimizing heart disease diagnosis with advanced machine learning models: a comparison of predictive performance,” BMC Cardiovascular Disorders, vol. 25, no. March, pp. 1–12, 2025, doi: 10.1186/s12872-025-04627-6.
G. Alwakid, F. U. Haq, N. Tariq, M. Humayun, M. Shaheen, and M. Alsadun, “Optimized machine learning framework for cardiovascular disease diagnosis: a novel ethical perspective,” BMC Cardiovascular Disorders, vol. 25, no. February, pp. 1–28, 2025, doi: 10.1186/s12872-025-04550-w.
T. Banerjee and İ. Paçal, “A systematic review of machine learning in heart disease prediction,” Turkish Journal of Biology, vol. 49, no. 5, pp. 600–634, 2025, doi: 10.55730/1300-0152.2766.
Z. Jiang et al., “Development of an explainable machine learning model for 3-year cardiovascular risk prediction in new-onset type 2 diabetes using the TyG index and ultrasound features,” BMC Medical Informatics and Decision Making, vol. 25, no. November, pp. 1–15, 2025, doi: 10.1186/s12911-025-03247-6.
B. Van Calster et al., “Evaluation of performance measures in predictive artificial intelligence models to support medical decisions: overview and guidance,” The Lancet Digital Health, vol. 7, no. 12, pp. 1–13, 2025, doi: 10.1016/j.landig.2025.100916.
M. Nasir, N. S. Summerfield, S. Carreiro, D. Berlowitz, and A. Oztekin, “A machine learning approach for diagnostic and prognostic predictions, key risk factors and interactions,” Health Services and Outcomes Research Methodology, vol. 25, no. 1, pp. 1–28, 2025, doi: 10.1007/s10742-024-00324-7.
B. S. Kumar and L. M. A. Kumar, “Hyperparameter-Tuned Machine Learning Model for Accurate Prediction of Heart Disease,” Journal of Neonatal Surgery, vol. 14, no. 31, pp. 135–143, 2025, doi: 10.63682/jns.v14i31S.7080.
T. Vu et al., “Machine Learning Model for Predicting Coronary Heart Disease Risk: Development and Validation Using Insights From a Japanese Population–Based Study,” JMIR Cardio, vol. 9, no. e68066, pp. 1–15, 2025, doi: 10.2196/68066.
S. Saha, M. M. Rahman, T. T. Suki, M. M. Alam, M. S. Alam, and M. A. S. Haque, “Heart Disease Prediction Using Machine Learning Algorithms: Performance Analysis,” in 2024 3rd International Conference on Advancement in Electrical and Electronic Engineering (ICAEEE), IEEE, 2024, pp. 1–6. doi: 10.1109/ICAEEE62219.2024.10561820.
R. Gayathri et al., “Enhancing heart disease prediction with reinforcement learning and data augmentation,” Systems and Soft Computing, vol. 6, no. August, p. 200129, 2024, doi: 10.1016/j.sasc.2024.200129.
M. N. H. Dipu and M. H. Apu, “From data to diagnosis: Heart disease likelihood prediction using six integrated datasets and rigorous evaluation of some machine learning models for Android app deployment,” In Silico Research in Biomedicine, vol. 2, no. December 2025, p. 100165, 2026, doi: 10.1016/j.insi.2025.100165.
S. Wan, F. Wan, and X. Dai, “Machine learning approaches for cardiovascular disease prediction: A review,” Archives of Cardiovascular Diseases, vol. 118, no. 10, pp. 554–562, 2025, doi: 10.1016/j.acvd.2025.04.055.
M. Siddhartha, “Heart Disease Dataset (Comprehensive),” IEEE Dataport, no. 1, p. 3, 2025, doi: 10.21227/dz4t-cm36.
T. J. H. Mim, M. Hassan, B. K. Paul, M. Sarwar, and H. Mollah, “Machine Learning Approaches for Cardiovascular Disease Prediction : A Comparative Study,” Biomedical Materials & Devices, no. November, pp. 1–15, 2025, doi: 10.1007/s44174-025-00564-2.
Y. Rimal, N. Sharma, S. Paudel, and A. Alsadoon, “Comparative analysis of heart disease prediction using logistic regression, SVM, KNN, and random forest with cross-validation for improved accuracy,” Scientific Reports, vol. 15, no. 1, pp. 1–14, 2025, doi: 10.1038/s41598-025-93675-1 1.
M. Gulhane et al., “Comprehensive review of heart disease prediction: A comparative study from 2019 onwards,” Artificial Intelligence In Medicine, no. January, p. 103354, 2026, doi: 10.1016/j.artmed.2026.103354.
N. Nasution, F. B. Nasution, and M. A. Hasan, “Predicting Heart Disease Using Machine Learning : An Evaluation of Logistic Regression , Random Forest , SVM , and KNN Models on the UCI Heart Disease Dataset,” IT Journal Research and Development, vol. 9, no. 2, pp. 140–150, 2025, doi: 10.25299/itjrd.2025.17941.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 William Ramdhan, Jeperson Hutahaean, Deny Jollyta, Abdul Karim

This work is licensed under a Creative Commons Attribution 4.0 International License.





