EKSAKTA: Berkala Ilmiah Bidang MIPA
Open Access

Hypertension Prediction by Comparing AMFormer, XGBoost, and Logistic Regression

1 Department of Mathematics, Faculty of Mathematics and Natural Science, Universitas Negeri Surabaya, Surabaya, Indonesia
2 Department of Actuarial Science, Faculty of Mathematics and Natural Sciences, Universitas Negeri Surabaya, Surabaya, Indonesia
Download PDF

Abstract

Early identification of individuals with hypertension using routinely available characteristics may support population-level screening, particularly where direct clinical assessment is limited. However, hypertension remains a substantial health concern, and the predictive benefit of increasingly complex models over conventional approaches remains uncertain. This study compared Logistic Regression, XGBoost, AMFormer Full, and AMFormer Ablation for hypertension classification using the fifth wave of the Indonesian Family Life Survey (IFLS5). The analytical dataset comprised 32,413 respondents,  whom 28.85% were classified as hypertensive. Hypertension status was defined using a composite of measured blood pressure, self-reported physician diagnosis, and antihypertensive medication use. Fourteen demographic, anthropometric, socioeconomic, behavioral, physical-activity, and metabolic predictors were used. Model performance was evaluated  independent test set and through repeated stratified cross-validation, while Shapley Additive exPlanations (SHAP) was applied to interpret AMFormer Full. AMFormer Ablation achieved the highest test ROC-AUC (0.7992) and average precision (0.6242), exceeding the positive-class prevalence baseline (0.2886). However, performance differences among the four models were small. Cross-validation also showed nearly identical performance between AMFormer variants. SHAP identified age, BMI, weight, sex, and education level as the five most influential predictors. Overall, AMFormer was competitive but showed no substantial predictive advantage over conventional models, and further external validation is required.

References

1
[1] World Health Organization. (2023). Global report on hypertension: The race against a silent killer. Geneva: World Health Organization. https://www.who.int/publications/i/item/9789240081062
2
[2] Chowdhury, M. Z. I., Naeem, I., Quan, H., Leung, A. A., Sikdar, K. C., O’Beirne, M., & Turin, T. C. (2022). Prediction of hypertension using traditional regression and machine learning models: A systematic review and meta-analysis. PLOS ONE, 17(4), e0266334.
3
[3] Silva, G. F. S., Fagundes, T. P., Teixeira, B. C., & Chiavegatto Filho, A. D. P. (2022). Machine learning for hypertension prediction: A systematic review. Current Hypertension Reports, 24(11), 523–533.
4
[4] Estiko, R. I., Widyantoro, B., Juzar, D. A., Yusup, R. M., Rakhmat, I. F., & Rijanto, E. (2025). Screening hypertension using non-laboratory risk factors with machine learning: A retrospective cross-sectional study in Indonesia. BMJ Open, 15(8), e092364.
5
[5] Septian, E., Khaefi, M. R., Athoillah, A., Aisyah, D. N., Hardhantyo, M., Rahman, F. M., & Manikam, L. (2025). Prediction of personalised hypertension using machine learning in Indonesian population. Journal of Medical Systems, 49, 137
Downloads
Download data is not yet available.

How to Cite

1.
Hypertension Prediction by Comparing AMFormer, XGBoost, and Logistic Regression. EKSAKTA [Internet]. 2026 Nov. 28 [cited 2026 Nov. 29];27(06):1162-77. Available from: https://eksakta.ppj.unp.ac.id/index.php/eksakta/article/view/774

Most read articles by the same author(s)