Research article

Hypertension classification using a balanced bagging decision tree optimized by Latin hypercube sampling–grey wolf optimization

  • Published: 19 November 2026
  • Hypertension classification using machine learning is challenging when class distributions are substantially imbalanced because optimization based solely on overall accuracy may favor the majority class and increase false-negative predictions. This study evaluates a Latin hypercube sampling, grey wolf optimization, and balanced bagging decision tree framework for hypertension classification using 48, 139 observations with 18 leakage-free predictors, comprising 83.61% non-hypertension and 16.39% hypertension cases. The study investigates five optimization objectives, namely accuracy, balanced accuracy, F1-score, recall, and a screening-oriented weighted objective, together with a Pareto-based multi-objective formulation and decision threshold analysis. The results show that the fitness function substantially affects the sensitivity and specificity trade-off. Accuracy-oriented optimization favored high specificity but produced low recall, whereas F1-score, balanced accuracy, recall, and screening oriented objectives shifted the search toward configurations with greater sensitivity to hypertension cases. The F1-score-based configuration provided a comparatively balanced error profile, while recall-based optimization achieved the highest sensitivity. A threshold of 0.45 further reduced false negatives from 966 to 220, corresponding to an approximately 77.2% reduction in missed hypertension cases relative to the accuracy-oriented configuration. Comparisons with imbalance-aware and class-weighted baseline models showed that LHS-GWO-BBC-DT did not universally outperform all alternatives. These findings demonstrate that fitness function design and threshold selection are critical components of hyperparameter optimization for imbalanced hypertension classification and should be evaluated together with accuracy, recall, specificity, PR-AUC, and other class-sensitive metrics.

    Citation: Farikhin, Sam'an Muhammad, Beta Noranita. Hypertension classification using a balanced bagging decision tree optimized by Latin hypercube sampling–grey wolf optimization[J]. Mathematical Biosciences and Engineering, 2026, 23(12): 3470-3498. doi: 10.3934/mbe.2026119

    Related Papers:

  • Hypertension classification using machine learning is challenging when class distributions are substantially imbalanced because optimization based solely on overall accuracy may favor the majority class and increase false-negative predictions. This study evaluates a Latin hypercube sampling, grey wolf optimization, and balanced bagging decision tree framework for hypertension classification using 48, 139 observations with 18 leakage-free predictors, comprising 83.61% non-hypertension and 16.39% hypertension cases. The study investigates five optimization objectives, namely accuracy, balanced accuracy, F1-score, recall, and a screening-oriented weighted objective, together with a Pareto-based multi-objective formulation and decision threshold analysis. The results show that the fitness function substantially affects the sensitivity and specificity trade-off. Accuracy-oriented optimization favored high specificity but produced low recall, whereas F1-score, balanced accuracy, recall, and screening oriented objectives shifted the search toward configurations with greater sensitivity to hypertension cases. The F1-score-based configuration provided a comparatively balanced error profile, while recall-based optimization achieved the highest sensitivity. A threshold of 0.45 further reduced false negatives from 966 to 220, corresponding to an approximately 77.2% reduction in missed hypertension cases relative to the accuracy-oriented configuration. Comparisons with imbalance-aware and class-weighted baseline models showed that LHS-GWO-BBC-DT did not universally outperform all alternatives. These findings demonstrate that fitness function design and threshold selection are critical components of hyperparameter optimization for imbalanced hypertension classification and should be evaluated together with accuracy, recall, specificity, PR-AUC, and other class-sensitive metrics.



    加载中


    [1]

    F. A. Ahmad, The dangers of hypertension threaten young Indonesians, Health Development Policy Agency, Ministry of Health of the Republic of Indonesia, 2024. Available from: https://www.badankebijakan.kemkes.go.id/bahaya-hipertensi-mengintai-anak-muda-indonesia/.

    [2]

    D. Arlinta, High blood pressure among Indonesians; many adolescents also have hypertension, Kompas. id, 2026. Available from: https://www.kompas.id/artikel/en-tensi-tinggi-penduduk-indonesia-remaja-juga-banyak-yang-hipertensi.

    [3]

    Ministry of Health of the Republic of Indonesia, 2026 CKG Results: 1 million previously healthy residents now detected with hypertension, 2026. Available from: https://www.kemkes.go.id/id/hasil-ckg-2026-1-juta-warga-yang-semula-sehat-kini-terdeteksi-hipertensi.

    [4]

    R. Kurniawan, B. Utomo, K. N. Siregar, K. Ramli, B. Besral, R. J. Suhatril, et al., Hypertension prediction using machine learning algorithm among Indonesian adults, IAES Int. J. Artif. Intell., 12 (2023), 776–784. https://doi.org/10.11591/ijai.v12.i2.pp776-784

    doi: 10.11591/ijai.v12.i2.pp776-784
    [5]

    R. I. Estiko, B. Widyantoro, D. A. Juzar, R. M. Yusup, I. F. Rakhmat, E. Rijanto, Screening hypertension using non laboratory risk factors with machine learning: A retrospective cross sectional study in Indonesia, BMJ Open, 15 (2025), e092364. https://doi.org/10.1136/bmjopen-2024-092364

    doi: 10.1136/bmjopen-2024-092364
    [6]

    F. A. Bornee, M. R. K. Chowdhury, M. Z. Islam, Z. Raihana, H. A. Chowdhury, M. Kader, et al., Machine learning approaches in identifying factors associated with hypertension and undiagnosed hypertension in adults in rural areas of Bangladesh, Arch. Public Health, 84 (2026), 116. https://doi.org/10.1186/s13690-026-01941-z

    doi: 10.1186/s13690-026-01941-z
    [7]

    R. R. Ridoy, M. Mothashin, M. A. Hossain, T. Mahbub, S. C. Barmon, P. K. Saha, et al., Machine learning based identification of key predictors and socioeconomic inequalities in the co existence of diabetes and hypertension among Bangladeshi adults, Sci. Rep., 16 (2026), 8233. https://doi.org/10.1038/s41598-026-37966-1

    doi: 10.1038/s41598-026-37966-1
    [8]

    D. Nuryunarsih, L. Herawati, A. Badi'ah, J. D. T. Donsu, Okatiranti, Predicting changes in systolic and diastolic blood pressure of hypertensive patients in Indonesia using machine learning, Curr. Hypertens. Rep., 25 (2023), 377–383. https://doi.org/10.1007/s11906-023-01261-5

    doi: 10.1007/s11906-023-01261-5
    [9]

    J. Han, L. Lin, T. Zhao, Y. Zhang, Z. Zhao, W. Wang, et al., An interpretable machine learning model for predicting stroke in patients with hypertension: Insights from the SPRINT, Sci. Rep., 16 (2026), 18891. https://doi.org/10.1038/s41598-026-48322-8

    doi: 10.1038/s41598-026-48322-8
    [10]

    S. Dhanushkumar, S. Padmakala, Explainable ML model hypertension prediction: Permutation importance, partial dependence, and lift analysis of logistic regression, random forest, and gradient boosting, in Proceedings of the 2026 IEEE 2nd International Conference on Quantum Photonics, Artificial Intelligence and Networking, IEEE, (2026), 1–6. https://doi.org/10.1109/QPAIN69676.2026.11546501

    [11]

    V. Muttangi, H. B. Samruddi, A. Deshpande, K. Patel, P. T. Akkasaligar, Hypertension risk prediction: Insights from metabolic profiles, in Proceedings of the 2026 IEEE International Conference on Convergence in Computing Technology, IEEE, (2026), 1–6. https://doi.org/10.1109/I3CTCON68242.2026.11507754

    [12]

    A. Eldem, An integrated machine learning framework for the early diagnosis of hypertension disease, Eng. Appl. Artif. Intell., 162 (2025), 112564. https://doi.org/10.1016/j.engappai.2025.112564

    doi: 10.1016/j.engappai.2025.112564
    [13]

    H. Lee, Y. Kim, Machine learning based risk assessment of hypertension among older adults in Korea, Digit. Health, 12 (2026), 1–10. https://doi.org/10.1177/20552076261435733

    doi: 10.1177/20552076261435733
    [14]

    W. Liu, I. W. Tsang, Making decision trees feasible in ultrahigh feature and label dimensions, J. Mach. Learn. Res., 18 (2017), 1–36. https://doi.org/10.5555/3122009.3176825

    doi: 10.5555/3122009.3176825
    [15]

    H. He, E. A. Garcia, Learning from imbalanced data, IEEE Trans. Knowl. Data Eng., 21 (2009), 1263–1284. https://doi.org/10.1109/TKDE.2008.239

    doi: 10.1109/TKDE.2008.239
    [16]

    G. Lemaître, F. Nogueira, C. K. Aridas, Imbalanced learn: A Python toolbox to tackle the curse of imbalanced datasets in machine learning, J. Mach. Learn. Res., 18 (2017), 1–5. https://doi.org/10.48550/arXiv.1609.06570

    doi: 10.48550/arXiv.1609.06570
    [17]

    A. B. Hassanat, A. S. Tarawneh, G. A. Altarawneh, A. Almuhaimeed, Stop oversampling for class imbalance learning: A critical review, IEEE Access, 10 (2022), 47643–47660. https://doi.org/10.1109/ACCESS.2022.3169512

    doi: 10.1109/ACCESS.2022.3169512
    [18]

    S. Hido, H. Kashima, Y. Takahashi, Roughly balanced bagging for imbalanced data, Stat. Anal. Data Min., 2 (2009), 412–426. https://doi.org/10.1002/sam.10061

    doi: 10.1002/sam.10061
    [19]

    P. Probst, A. L. Boulesteix, B. Bischl, Tunability: Importance of hyperparameters of machine learning algorithms, J. Mach. Learn. Res., 20 (2019), 1–32.

    [20]

    S. E. Roshan, S. Asadi, Improvement of bagging performance for classification of imbalanced datasets using evolutionary multi objective optimization, Eng. Appl. Artif. Intell., 87 (2020), 103319. https://doi.org/10.1016/j.engappai.2019.103319

    doi: 10.1016/j.engappai.2019.103319
    [21]

    S. Mirjalili, S. M. Mirjalili, A. Lewis, Grey wolf optimizer, Adv. Eng. Softw., 69 (2014), 46–61. https://doi.org/10.1016/j.advengsoft.2013.12.007

    doi: 10.1016/j.advengsoft.2013.12.007
    [22]

    J. Kong, W. Kowalczyk, D. A. Nguyen, T. Bäck, S. Menzel, Hyperparameter optimization for improving classification under class imbalance, in Proceedings of the 2019 IEEE Symposium Series on Computational Intelligence, IEEE, (2019), 3072–3078. https://doi.org/10.1109/SSCI44817.2019.9002679

    [23]

    R. Ahmed, G. P. Rangaiah, S. Mahadzir, S. Mirjalili, M. H. Hassan, S. Kamel, Memory, evolutionary operator, and local search based improved grey wolf optimizer with linear population size reduction technique, Knowl. -Based Syst., 264 (2023), 110297. https://doi.org/10.1016/j.knosys.2023.110297

    doi: 10.1016/j.knosys.2023.110297
    [24]

    M. Sam'an, Farikhin, M. Munsarif, An improved decision tree model through hyperparameter optimization using a modified gray wolf optimization for diabetes classification, Comput. Methods Biomech. Biomed. Eng., 29 (2026), 1843–1859. https://doi.org/10.1080/10255842.2025.2460178

    doi: 10.1080/10255842.2025.2460178
    [25]

    M. Tayebi, S. El Kafhali, Performance analysis of metaheuristics based hyperparameters optimization for fraud transactions detection, Evol. Intell., 17 (2024), 921–939. https://doi.org/10.1007/s12065-022-00764-5

    doi: 10.1007/s12065-022-00764-5
    [26]

    S. R. Dip, H. K. Meena, Enhancing brain tumor detection in MRI with feature fusion and SMOTE optimization techniques, in Proceedings of the 2025 7th International Conference on Signal Processing, Computing and Control, IEEE, (2025), 574–579. https://doi.org/10.1109/ISPCC66872.2025.11039387

    [27]

    A. A. Aouragh, M. Bahaj, F. Toufik, Balancing and metaheuristic techniques for improving machine learning models in brain stroke prediction, IAES Int. J. Artif. Intell., 14 (2025), 473–481. https://doi.org/10.11591/ijai.v14.i1.pp473-481

    doi: 10.11591/ijai.v14.i1.pp473-481
    [28]

    X. Zheng, A. Batool, S. Kumar, N. M. Shahani, Grey wolf optimization optimized ensemble models for predicting the uniaxial compressive strength of rocks, Appl. Sci., 16 (2026), 1130. https://doi.org/10.3390/app16021130

    doi: 10.3390/app16021130
    [29]

    M. Sarhani, S. Voß, R. Jovanovic, Initialization of metaheuristics: Comprehensive review, critical analysis, and research directions, Int. Trans. Oper. Res., 30 (2023), 3361–3397. https://doi.org/10.1111/itor.13237

    doi: 10.1111/itor.13237
    [30]

    B. Tu, F. Wang, Y. Huo, X. Wang, A hybrid algorithm of grey wolf optimizer and Harris hawks optimization for solving global optimization problems with improved convergence performance, Sci. Rep., 13 (2023), 22909. https://doi.org/10.1038/s41598-023-49754-2

    doi: 10.1038/s41598-023-49754-2
    [31]

    C. Zhu, J. Zhang, J. Yang, Grain condition inspection: One improved grey wolf algorithm for nodes deployment optimization combining with path planning of multi inspection robots, Soft Comput., 28 (2024), 11971–11986. https://doi.org/10.1007/s00500-024-09935-1

    doi: 10.1007/s00500-024-09935-1
    [32]

    M. D. Shields, J. Zhang, The generalization of Latin hypercube sampling, Reliab. Eng. Syst. Saf., 148 (2016), 96–108. https://doi.org/10.1016/j.ress.2015.12.002

    doi: 10.1016/j.ress.2015.12.002
  • Reader Comments
  • © 2026 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)

Metrics

Article views(160) PDF downloads(13) Cited by(0)

Article outline

Figures and Tables

Figures(7)  /  Tables(6)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog