Skip to content

An Intelligent Web-Based Heart Disease Prediction System Using Random Forest Classifier with Machine Learning Analysis

Jun 2026 · International Scientific Journal of Engineering and Management · Vol 05, pp. 1-6 · 0 citations

TL;DR

An intelligent machine learning-based web application that predicts the presence or absence of heart disease in patients based on 13 key medical parameters such as age, cholesterol, blood pressure, chest pain type, and maximum heart rate is presented.

Abstract

Disease is one of the leading causes of death worldwide, making early and accurate diagnosis critically important for saving millions of lives each year. This project presents an intelligent machine learning-based web application that predicts the presence or absence of heart disease in patients based on 13 key medical parameters such as age, cholesterol level, blood pressure, chest pain type, and maximum heart rate. The system employs a Random Forest Classifier trained on the Cleveland Heart Disease dataset sourced from the UCI Machine Learning Repository. Six machine learning algorithms were implemented and rigorously compared including Logistic Regression, Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Gradient Boosting, XGBoost, and Random Forest Classifier. The Random Forest algorithm achieved the best performance with a test accuracy of 87.80% and an outstanding AUC score of 0.9550. The trained model is deployed as an interactive web application using the Streamlit framework, allowing healthcare professionals to input patient data and receive instant predictions along with risk percentages and treatment recommendations. This system serves as a reliable and cost-effective decision-support tool to assist doctors in early detection and timely intervention for heart disease. Keywords: Random Forest Classifier, Logistic Regression, Support Vector Machine, K-Nearest Neighbors, XGBoost, Gradient Boosting, StandardScaler, Streamlit, Python, Heart Disease Prediction, Machine Learning, AUC Score, Confusion Matrix

View source

Similar papers

Open access Jul 2026

Diabetes Prediction System Using Machine Learning

Experimental results demonstrate that Machine Learning techniques can effectively predict disease occurrence with high accuracy, thereby assisting healthcare professionals in early diagnosis and treatment planning.

Sunidhi, Rahul, Parmod Kumar et al. · 0 citations
Open access Aug 2026

PREDICTING HEART DISEASE RISK FROM CLINICAL VARIABLES: A GENDER-SPECIFIC MACHINE LEARNING ANALYSIS AMONG HIGH-CHOLESTEROL PATIENTS

Male sex was a statistically significant independent predictor of heart disease after controlling for other clinical variables and the findings support sex-specific screening and preventive strategies for high-cholesterol male patients and demonstrate the value of interpretable machine learning models for clinical deci...

T. Adeyemo · 0 citations
Open access Jul 2026

Heart Disease Prediction Using Logistic Regression and K-Nearest Neighbor: A Comparative Study of Classification Algorithm Performance

The findings suggest that Logistic Regression is more suitable as a decision-support model for early heart disease screening due to its higher sensitivity, accuracy, and specificity.

Yan Risa, Aspi Sururi, M. Asadullah et al. · 0 citations
Preprint Aug 2026

Transforming Heart Disease Prediction with Advanced Machine Learning Techniques

The research work concludes that ML models, when properly tuned and validated, can significantly assist in the early diagnosis of heart disease, offering critical support for clinical decision-making.

Sami Ullah, Muhammad Mohsin Khan · 0 citations
Open access Jul 2026

Machine Learning-Based Early Prediction of Hospital Readmission Risk Among Chronic Disease Patients Using Electronic Health Records: A Comparative Study of Ensemble Learning Models

Findings indicate that XGBoost effectively identifies patients at high risk of early hospital readmission and can serve as a reliable predictive tool for clinical decision support.

Md Yassir Mottalib, Eklachur Rahman Bhuiyan, Anwar Hossain et al. · 0 citations
Open access Jul 2026

Stroke prediction using Ensemble Learning

The proposed model employs Ensemble Learning techniques, which combine multiple machine learning algorithms to improve prediction accuracy and robustness, and is capable of identifying complex patterns in medical data and classifying patients into stroke-risk categories with high efficiency.

Bhagyashri Patil, Priyadarshini C. Patil, M. A. Soumya et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.