Skip to content

About

A machine learning project that predicts the risk of heart attacks using medical and health-related data analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Heart Attack Prediction using Machine Learning

Project Overview

This project predicts the possibility of a heart attack using machine learning techniques based on medical and health-related parameters.

The model is trained using a dataset containing patient information such as age, cholesterol level, blood pressure, heart rate, and other medical attributes.

This project was developed as part of my internship learning program.


Objective

The main objective of this project is to analyze patient health data and predict the risk of heart attack using machine learning algorithms.


Technologies Used

  • Python
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • Scikit-learn
  • Jupyter Notebook

Dataset Features

Some of the features used in the dataset include:

  • Age
  • Gender
  • Cholesterol
  • Blood Pressure
  • Heart Rate
  • Chest Pain Type
  • Fasting Blood Sugar
  • Exercise Induced Angina
  • ECG Results

Machine Learning Algorithm

The project uses:

  • Logistic Regression / Random Forest / Decision Tree (Add the algorithm you actually used)

Project Workflow

  1. Data Collection
  2. Data Preprocessing
  3. Exploratory Data Analysis
  4. Feature Selection
  5. Model Training
  6. Model Testing
  7. Prediction
  8. Accuracy Evaluation

Results

The machine learning model predicts whether a person is at risk of a heart attack based on medical attributes.

Model Accuracy: XX% (Add your actual accuracy score)


Output Visualizations

The project includes:

  • Correlation Heatmap
  • Data Distribution Graphs
  • Prediction Results
  • Accuracy Metrics

Future Improvements

  • Improve model accuracy
  • Deploy using Flask or Streamlit
  • Add real-time prediction interface
  • Use advanced ML algorithms

Conclusion

This project demonstrates how machine learning can help in early prediction of heart attack risk and support healthcare decision-making.


Author

Jhansi B.Tech Student | Aspiring Data Analyst

About

A machine learning project that predicts the risk of heart attacks using medical and health-related data analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages