A Smart Cardiac Risk Prediction Application

Cardiovascular disease remains one of the leading causes of death worldwide, and much of this burden arises from late detection of risk rather than from a lack of effective treatment. Primary-care settings, particularly in semi-urban and rural India, often lack a cardiologist to interpret borderline findings, so a patient with mildly elevated cholesterol, an unusual ST-segment depression, or an ambiguous description of chest pain may wait until symptoms worsen before being referred. This paper presents a lightweight, web-deployable cardiac risk prediction system that accepts thirteen routinely collected clinical attributes, obtained mainly from a basic physical examination, a blood test, and a resting electrocardiogram, and returns an immediate low-risk or high-risk classification. The system is built on the UCI Cleveland Heart Disease dataset (303 patient records). After missing values in the ca and thal attributes were imputed and the original five-level severity label was collapsed into a binary indicator, three classifiers were trained and compared: Logistic Regression, Random Forest, and a Support Vector Machine (SVM) with a radial basis function kernel, with all features standardized by z-score scaling prior to training. On an 80/20 train-test split, Random Forest (200 estimators, maximum depth 8) and the SVM each reached a test accuracy of 90.16%, ahead of the 88.52% obtained by Logistic Regression, and both achieved a precision of 93.3% and a recall of 87.5% for the positive class. Random Forest was selected for deployment because tree ensembles also expose feature importances, which identified chest pain type, the number of vessels coloured by fluoroscopy, and thalassemia status as the three strongest predictors. The model and scaler were serialized with joblib and wrapped in a Flask application with a thirteen-field HTML form, so that a health worker can enter a patient’s values and obtain a prediction in under a second without installing anything locally. Accuracy, precision, recall, F1-score, and ROC curves are reported for all three models. The limitations of a 303-record dataset, including the risk of overfitting and narrow demographic representation, are discussed, together with extensions based on a larger, more diverse cohort and additional signals such as family history and body mass index.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24630509
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Smart Cardiac Risk Prediction Application

Santosh Kalisetty Bhavya, Vasavi Renuka Kolaparthi Venkata Naga, Deepak Kotari Durga, Praveena Yadla et al.
Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare
article

A Smart Cardiac Risk Prediction Application

Santosh Kalisetty Bhavya, Vasavi Renuka Kolaparthi Venkata Naga, Deepak Kotari Durga, Praveena Yadla, Sireesha Ulliboyina, J. Rajendra, Prasad
article en

Abstract

Cardiovascular disease remains one of the leading causes of death worldwide, and much of this burden arises from late detection of risk rather than from a lack of effective treatment. Primary-care settings, particularly in semi-urban and rural India, often lack a cardiologist to interpret borderline findings, so a patient with mildly elevated cholesterol, an unusual ST-segment depression, or an ambiguous description of chest pain may wait until symptoms worsen before being referred. This paper presents a lightweight, web-deployable cardiac risk prediction system that accepts thirteen routinely collected clinical attributes, obtained mainly from a basic physical examination, a blood test, and a resting electrocardiogram, and returns an immediate low-risk or high-risk classification. The system is built on the UCI Cleveland Heart Disease dataset (303 patient records). After missing values in the ca and thal attributes were imputed and the original five-level severity label was collapsed into a binary indicator, three classifiers were trained and compared: Logistic Regression, Random Forest, and a Support Vector Machine (SVM) with a radial basis function kernel, with all features standardized by z-score scaling prior to training. On an 80/20 train-test split, Random Forest (200 estimators, maximum depth 8) and the SVM each reached a test accuracy of 90.16%, ahead of the 88.52% obtained by Logistic Regression, and both achieved a precision of 93.3% and a recall of 87.5% for the positive class. Random Forest was selected for deployment because tree ensembles also expose feature importances, which identified chest pain type, the number of vessels coloured by fluoroscopy, and thalassemia status as the three strongest predictors. The model and scaler were serialized with joblib and wrapped in a Flask application with a thirteen-field HTML form, so that a health worker can enter a patient’s values and obtain a prediction in under a second without installing anything locally. Accuracy, precision, recall, F1-score, and ROC curves are reported for all three models. The limitations of a 303-record dataset, including the risk of overfitting and narrow demographic representation, are discussed, together with extensions based on a larger, more diverse cohort and additional signals such as family history and body mass index.

Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon