A subscription to JoVE is required to view this content. Sign in or start your free trial.

Research Article

Enhancing Heart Disease Prediction Through Cluster-Visualized Distributed Machine Learning Paradigms for Secure Healthcare

98 views

DOI:

10.3791/69857

July 7th, 2026

In This Article

Summary

This study develops a scalable framework for heart disease prediction using Hadoop MapReduce and K-Means clustering. Adjusting classification cut-offs affects detection sensitivity. CViHDKNN improves true positive detection while controlling false positives, whereas CViHDDT reduces false positives but may miss some heart disease cases.

Abstract

Heart disease remains one of the leading causes of mortality worldwide, creating an urgent need for accurate and scalable predictive systems that enable early diagnosis and timely clinical intervention. Traditional machine learning approaches often struggle to efficiently process large-scale medical datasets and lack interpretability, limiting their usefulness for supporting clinical decision-making. To address these challenges, this study proposes a Cluster Visualized Distributed Machine Learning framework for heart disease prediction. The framework incorporates two distributed algorithms: Cluster Visualized Hadoop Distributed Decision Tree (CViHDDT) and Cluster Visualized Hadoop Distributed K-Nearest Neighbor (CViHDKNN). The proposed models leverage Hadoop’s MapReduce framework for distributed computation across large datasets, while integrating K-Means clustering for improved data organization and visualization. This cluster-based visualization enhances interpretability by allowing clinicians to better understand relationships among patient risk factors and prediction outcomes. Experimental evaluation was conducted using the UCI Heart Disease dataset in a Hadoop-based distributed environment. The results show that CViHDKNN achieved superior predictive performance, achieving 85.25% accuracy and 88% recall, outperforming the CViHDDT model, which achieved 80.33% accuracy. Adjusting classification cut-off values also influenced sensitivity and detection rates: lower cut-offs improved true-positive detection while maintaining acceptable false-positive levels. These findings demonstrate that clustering-enhanced distributed learning improves scalability, predictive accuracy, and clinical interpretability for heart disease prediction.

Introduction

Heart disease is one of the leading causes of death worldwide and represents a major public health challenge. The rising prevalence of cardiovascular diseases highlights the urgent need for advanced diagnostic models that support early detection and treatment. Traditional diagnostic approaches rely heavily on manual evaluation and clinical judgment, which often struggle to manage large volumes of medical data efficiently. Recently, artificial intelligence (AI) and machine learning (ML) techniques have played an important role in predictive healthcare analytics, enabling data-driven disease prediction and improving risk assessment accuracy in medical systems

Access restricted. Please log in or start a trial to view this content.

Protocol

Dataset acquisition

The UCI Heart Disease dataset is a widely used dataset in medical and machine learning research for predicting heart disease. It contains various clinical and diagnostic characteristics of patients, enabling healthcare professionals and researchers to develop data-driven prediction models. The dataset classifies individuals as either likely or unlikely to have heart disease based on several patient attributes, including age, gender, chest pain type, blood pressure, cholesterol levels, and electrocardiogram results (https://archive.ics.uci.edu/dataset/45/heart+disease)29. The overa....

Access restricted. Please log in or start a trial to view this content.

Results

The experimental evaluation demonstrates that the CViHDKNN model achieves higher predictive performance than the CViHDDT model in heart disease classification. The CViHDKNN model achieved a test accuracy of 85.25%, whereas the CViHDDT model achieved 80.33%, indicating improved predictive capability for the distributed K-nearest neighbor approach. These comparative performance results are summarized in Table 1.

The classification performance of.......

Access restricted. Please log in or start a trial to view this content.

Discussion

An effective heart disease prediction method based on the clustering technique CViHDDT was developed and evaluated using a Hadoop-based distributed decision tree framework. The model achieved a training accuracy of approximately 75.62% and a testing accuracy of 80.33%, demonstrating its ability to generalize to unseen data. The slightly higher test accuracy suggests that Hadoop’s parallel processing efficiently handles large datasets while minimizing overfitting. Previous studies have similarly reported that Hadoop.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors have no conflicts of interest to declare.

Acknowledgements

The authors would like to express their sincere gratitude to SR University, Warangal, India, Department of Computer Science and Engineering, for granting permission and providing continuous support and encouragement throughout this research work. The authors also thank the University Research and Development (R&D) Team, R&D laboratories, senior faculty members, and mentors for their valuable guidance, technical support, and motivation, which greatly contributed to the successful completion of this research paper.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Apache SparkApache Software Foundation3.xDistributed data processing
HDFSApache Software FoundationIncluded in Hadoop 3.xDistributed file storage
YARNApache Software FoundationIncluded in Hadoop 3.xResource management and job scheduling
MatplotlibMatplotlib Development TeamData visualization
SeabornSeaborn DevelopersStatistical plotting
Ubuntu OSCanonical Ltd.20.04 LTSOperating system
RobustScalerScikit-learnFeature normalization
UCI Heart Disease DatasetUCI Machine Learning RepositoryDataset ID 45Experimental dataset

Reprints and Permissions

Tags

Cluster VisualizationHadoop MapReduceK Means ClusteringClinical Decision SupportPredictive AccuracyMedical Data AnalysisK Nearest NeighborDecision Tree

This article has been published

Video Coming Soon