Skip to content

winterowl08/Heart-Disease-Risk-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Heart Disease Risk Predictor

A machine learning-based Python project to predict the risk of heart disease using patient data. Built with a Random Forest Classifier, it provides a probability-based risk assessment and insights into important features influencing heart disease.


Features

  • Predicts heart disease risk based on patient health metrics.
  • Handles categorical and numerical features automatically.
  • Provides confidence score along with prediction.
  • Visualizes feature importance for better interpretability.

Dataset

This project uses the Heart Disease UCI dataset, with the following features:

  • age, sex, cp, trestbps, chol, fbs, restecg, thalch, exang, oldpeak, slope, ca, thal, num
  • num is the target column (0 = No Heart Disease, 1 = Heart Disease)

Note: Some categorical features (sex, cp, fbs, restecg, exang, slope, thal) are encoded during preprocessing.


Installation

Clone this repository:

git clone <your-repo-url>
cd heart-risk-predictor

About

Predicts heart disease risk based on patient health metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages