Related Experiment Video
Updated: Aug 24, 2025

Hydra, a Computer-Based Platform for Aiding Clinicians in Cardiovascular Analysis and Diagnosis
Published on: September 26, 2018
Evaluating the risk of hypertension in residents in primary care in Shanghai, China with machine learning algorithms
Ning Chen1, Feng Fan2, Jinsong Geng3
1School of Public Health, Shanghai Jiao Tong University School of Medicine, Shanghai, China.
Objective:
The prevention of hypertension in primary care requires an effective and suitable hypertension risk assessment model. The aim of this study was to develop and compare the performances of three machine learning algorithms in predicting the risk of hypertension for residents in primary care in Shanghai, China.
Methods:
A dataset of 40,261 subjects over the age of 35 years was extracted from Electronic Healthcare Records of 47 community health centers from 2017 to 2019 in the Pudong district of Shanghai. Embedded methods were applied for feature selection. Machine learning algorithms, XGBoost, random forest, and logistic regression analyses were adopted in the process of model construction. The performance of models was evaluated by calculating the area under the receiver operating characteristic curve, sensitivity, specificity, positive predictive value, negative predictive value, accuracy and F1-score.
Results:
The XGBoost model outperformed the other two models and achieved an AUC of 0.765 in the testing set. Twenty features were selected to construct the model, including age, diabetes status, urinary protein level, BMI, elderly health self-assessment, creatinine level, systolic blood pressure measured on the upper right arm, waist circumference, smoking status, low-density lipoprotein cholesterol level, high-density lipoprotein cholesterol level, frequency of drinking, glucose level, urea nitrogen level, total cholesterol level, diastolic blood pressure measured on the upper right arm, exercise frequency, time spent engaged in exercise, high salt consumption, and triglyceride level.
Conclusions:
XGBoost outperformed random forest and logistic regression in predicting the risk of hypertension in primary care. The integration of this risk assessment model into primary care facilities may improve the prevention and management of hypertension in residents.
Related Concept Videos
Pre-Procedural Guidelines for Assessing Blood Pressure
Errors occurring during blood pressure monitoring
Several factors...
Hypertension III: Clinical Manifestations and Diagnostic Studies
Hypertension V: Nursing Management
Factors affecting Blood pressure
Physiological Factors:
Hypertension I: Introduction

