Skip to content

Our advanced heart health assessment tool, built using machine learning techniques, aims to provide a comprehensive analysis of an individual's cardiovascular health. The tool employs the KNN (K-Nearest Neighbors) algorithm, a powerful and versatile machine learning technique, to accurately predict an individual's risk of developing heart diseases.

License

Notifications You must be signed in to change notification settings

joery0x3b800001/Advanced-Heart-Health-Assessment-through-Machine-Learning-Using-KNN-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heart Disease Prediction

This project uses machine learning algorithms to predict heart disease.

Our Research Paper

Data

The data used in this project is the Cleveland Heart Disease dataset, which is available from the UCI Machine Learning Repository. The dataset contains 303 observations and 14 features. The features are:

  • Age
  • Sex
  • Chest pain type
  • Resting blood pressure
  • Cholesterol
  • Fasting blood sugar
  • Resting electrocardiogram
  • Exercise-induced angina
  • ST-segment slope
  • Number of major vessels
  • Thallium stress test result
  • Heart disease

Algorithms

The following algorithms are used to predict heart disease:

  • Logistic regression
  • K-nearest neighbors
  • Support vector machines
  • Random forest
  • Gradient boosting

Results

The results of the experiments are shown in the following table:

Algorithm Accuracy
Logistic regression 0.85
K-nearest neighbors 0.89
Support vector machines 0.875
Random forest 0.875
Gradient boosting 0.875

The best-performing algorithm is KNN (k-nearest neighbor).

Conclusion

This project has shown that machine learning algorithms can be used to predict heart disease with a high degree of accuracy. This information can be used to help doctors diagnose and treat heart disease.

Installation

Steps:
1. Clone the repository: `git clone https://github.com/g39team/Advanced-Heart-Health-Assessment-through-Machine-Learning-Using-KNN-Algorithm.git`
2. Navigate to the project directory: `cd Advanced-Heart-Health-Assessment-through-Machine-Learning-Using-KNN-Algorithm`
3. Install the required packages: `pip install -r requirements.txt`

References

About

Our advanced heart health assessment tool, built using machine learning techniques, aims to provide a comprehensive analysis of an individual's cardiovascular health. The tool employs the KNN (K-Nearest Neighbors) algorithm, a powerful and versatile machine learning technique, to accurately predict an individual's risk of developing heart diseases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published