Key result
XGBoost predicts hypertension with ~93% accuracy, outperforming standard logistic regression.
Why the study?
Hypertension is a major modifiable cardiovascular risk factor, and machine learning techniques have potential to improve its prediction by analyzing complex interactions among demographic, clinical, and lifestyle variables. This study evaluated the performance of different machine learning algorithms for predicting hypertension using cross-sectional and two-year follow-up cohort data.
Do machine learning algorithms improve the prediction of hypertension using cross-sectional and two-year follow-up data in adults aged ≥18 years?
Cohort (n=2,000)
No
Do machine learning algorithms improve the prediction of hypertension using cross-sectional and two-year follow-up data in adults aged ≥18 years?
Ensemble machine learning models, particularly XGBoost, can accurately predict hypertension using combined cross-sectional and two-year longitudinal data (AUC 0.971), potentially aiding early risk identification and preventive care.
Background: Hypertension is a major public health problem and an important modifiable risk factor for cardiovascular disease, stroke, chronic kidney disease, and premature mortality.Machine learning techniques have shown considerable potential for improving hypertension prediction by analyzing complex interactions among multiple demographic, clinical, and lifestyle variables.Aim: To evaluate the performance of different machine learning algorithms for predicting hypertension using crosssectional and two-year follow-up data from a health and demographic cohort.Methods: A prospective observational cohort study was conducted among 2,000 adults aged ≥18 years using baseline cross-sectional and two-year follow-up data.Demographic, anthropometric, clinical, and lifestyle variables were collected using standardized methods.Data preprocessing included missing value handling, normalization, categorical encoding, and feature selection.The dataset was divided into training and testing sets for model development.Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, Extreme Gradient Boosting (XGBoost), and Artificial Neural Network models were developed and evaluated.Model performance was assessed using accuracy, sensitivity, specificity, precision, F1-score, receiver operating characteristic (ROC) curve, and area under the curve (AUC).Results: Among the 2,000 participants, 720 (36.0%) had hypertension and 1,280 (64.0%) were non-hypertensive.Hypertension was significantly associated with age ≥50 years, body mass index ≥25 kg/m², diabetes mellitus, family history of hypertension, smoking, and physical inactivity (p<0.05).XGBoost demonstrated the best predictive performance with an accuracy of 92.7%, sensitivity of 91.8%, specificity of 93.4%, precision of 91.1%, F1-score of 0.914, and AUC of 0.971.Random Forest showed the second-highest performance with an accuracy of 91.8% and AUC of 0.963.Feature importance analysis identified age, body mass index, systolic blood pressure, family history of hypertension, and diabetes mellitus as the strongest predictors of hypertension.Conclusion: Machine learning algorithms, particularly XGBoost, demonstrated excellent performance in predicting hypertension using combined cross-sectional and longitudinal cohort data.These models may facilitate early identification of high-risk individuals, support personalized preventive strategies, and improve clinical decisionmaking.Further external validation using multicenter population-based cohorts is recommended before routine clinical implementation.
No takes yet. Share an insight, caveat, or question.
A 2026 study conducted a cohort in Hypertension (n=2,000). XGBoost machine learning model vs. Logistic Regression and other supervised machine learning models (Random Forest, Decision Tree, Support Vector Machine, Artificial Neural Network) was evaluated on Predictive accuracy for hypertension (AUC 0.971). The XGBoost machine learning algorithm achieved the highest performance for predicting hypertension with 92.7% accuracy and an AUC of 0.971, outperforming logistic regression (84.2% accuracy, AUC 0.889).
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: