Home
World Journal of Advanced Research and Reviews
International Journal with High Impact Factor for fast publication of Research and Review articles

Main navigation

  • Home
    • Journal Information
    • Editorial Board Members
    • Reviewer Panel
    • Abstracting and Indexing
    • Journal Policies
    • Our CrossMark Policy
    • Publication Ethics
    • Issue in Progress
    • Current Issue
    • Past Issues
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Join Editorial Board
    • Join Reviewer Panel
  • Contact us
  • Downloads

eISSN: 2581-9615 || CODEN: WJARAI || Impact Factor 8.2 ||  CrossRef DOI

Research and review articles are invited for publication in March 2026 (Volume 29, Issue 3) Submit manuscript

Heart disease prediction model using random forest classifier

Breadcrumb

  • Home
  • Heart disease prediction model using random forest classifier

Edwin Elisha Omondi *

School of Computing and Engineering Sciences, Strathmore University, Nairobi, Kenya.

Research Article

World Journal of Advanced Research and Reviews, 2025, 26(02), 3468-3490

Article DOI: 10.30574/wjarr.2025.26.2.3447

DOI url: https://doi.org/10.30574/wjarr.2025.26.2.3447

Received on 11 October 2024; revised on 23 May 2025; accepted on 26 May 2025

To forecast the risk of heart disease, I have created a random forest classifier model in this work. I trained the algorithm to identify people into two groups: those at low risk (0) and those at high risk (1) of acquiring heart disease. I did this by utilizing a dataset made up of anonymized patient information. The model's remarkable 88.04% accuracy rate shows how well it can differentiate between the two classes. By thoroughly analyzing the model's performance, I produced an extensive classification report that included information on accuracy overall, precision, recall, and F1-score for every class. The precision and recall metrics demonstrate how well the algorithm can identify individuals who are at high risk of heart disease while reducing the number of false positives. Additionally, the F1-score illustrates the harmony

To further visualize the model's categorization results, I created a confusion matrix. The matrix provides further verification of the model's performance by showing the number of true negatives, false positives, false negatives, and true positives. To be more precise, the matrix indicates that the model accurately identified 95 people as high risk and 67 people as low risk, with just 10 and 12 misclassifications, respectively. The accuracy and dependability of the random forest classifier in identifying people at risk of heart disease are demonstrated by this comprehensive investigation.

Furthermore, an important advancement in customized medicine is the use of machine learning techniques in the healthcare industry. This model supports ongoing initiatives in preventive medicine and healthcare management by utilizing extensive datasets and advanced algorithms. Since the model is capable of accurately predicting the risk of heart disease, early intervention strategies may be put into effect, which will ultimately improve patient outcomes and lessen the pressure on healthcare systems.

To sum up, this random forest classification algorithm shows great promise in precisely identifying people who are at risk of heart disease. This approach supports ongoing initiatives in preventative medicine and personalized healthcare management by fusing sophisticated analytics with clinical insights. The present study's results open new avenues for investigation and progress in the field of cardiovascular health, ultimately leading to improved treatment of patients and public health outcomes.

Heart Disease; Prediction Model; Machine Learning; Performance; Algorithm; Patient

https://wjarr.com/sites/default/files/fulltext_pdf/WJARR-2024-3447.pdf

Preview Article PDF

Edwin Elisha Omondi. Heart disease prediction model using random forest classifier. World Journal of Advanced Research and Reviews, 2025, 26(2), 3468-3490. Article DOI: https://doi.org/10.30574/wjarr.2025.26.2.3447

Copyright © Author(s). All rights reserved. This article is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, sharing, adaptation, distribution, and reproduction in any medium or format, as long as appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.


All statements, opinions, and data contained in this publication are solely those of the individual author(s) and contributor(s). The journal, editors, reviewers, and publisher disclaim any responsibility or liability for the content, including accuracy, completeness, or any consequences arising from its use.

Get Certificates

Get Publication Certificate

Download LoA

Check Corssref DOI details

Issue details

Issue Cover Page

Editorial Board

Table of content

Copyright © 2026 World Journal of Advanced Research and Reviews - All rights reserved

Developed & Designed by VS Infosolution