Skip to content

arpitaapatel/Heart-Attack-Prediction-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Heart-Attack-Prediction-Model

Machine learning model to predict heart attack risk β€” a reproducible project that trains a classifier on the included heart.csv dataset and achieves ~91% accuracy

πŸ” Project overview

This repo contains a Jupyter notebook (HeartAttack_prediction_Project_Epics.ipynb) and the dataset (heart.csv). The notebook demonstrates an end-to-end workflow:

  • Data loading & exploration
  • Cleaning and preprocessing
  • Feature selection / engineering
  • Training several classifiers (e.g., Logistic Regression, Random Forest, etc.)
  • Model evaluation (accuracy, confusion matrix, ROC/AUC)
  • Saving/training best model and (optionally) using it for single predictions

πŸ“ˆ Model & Results

The notebook reports ~91% accuracy for the selected model on the chosen test split (see the notebook for detailed confusion matrix, ROC/AUC, and class-wise metrics).

For production use or research: perform more robust validation (k-fold CV, repeated splits), hyperparameter tuning, class imbalance handling, and consider model calibration.

About

The heart attack detection model is a machine learning algorithm that predicts heart attack risk with 91% accuracy. By analyzing patient medical histories, vital signs, and other health indicators, it identifies critical patterns and risk factors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors