Skip to content

Machine Learning Heart Disease Detection model performed using Decision Tree Algorithm

Notifications You must be signed in to change notification settings

naPOME/Heart-Disease-Detection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Heart Disease Detection Model

Machine Learning Classification Model based on Decision Tree Algorithm using UCI heart Disease Dataset.

Objective:

One of the major tasks on this dataset is to predict based on the given attributes of a patient whether that particular person has heart disease or not and the other is the experimental task to diagnose and find out various insights from this dataset which could help in understanding the problem more.

About Dataset:

This is a multivariate type of dataset which means providing or involving a variety of separate mathematical or statistical variables, multivariate numerical data analysis. There are total 606 rows and 16 columns.

Column Descriptions:

  1. age: (Age of the patient in years)
  2. sex: (Male/Female)
  3. cp: chest pain type ([typical angina, atypical angina, non-anginal, asymptomatic])
  4. trestbps: resting blood pressure (resting blood pressure (in mm Hg on admission to the hospital))
  5. chol: (serum cholesterol in mg/dl)
  6. fbs: (if fasting blood sugar > 120 mg/dl)
  7. restecg: resting electrocardiographic results ([normal, stt abnormality, lv hypertrophy])
  8. thalach: maximum heart rate achieved
  9. exang: exercise-induced angina (True/ False)
  10. oldpeak: ST depression induced by exercise relative to rest
  11. slope: the slope of the peak exercise ST segment
  12. ca: number of major vessels (0-3) colored by fluoroscopy
  13. thal: [normal; fixed defect; reversible defect]
  14. target the predicted attribute

Algorithm: Decision Tree

A decision tree is a supervised learning algorithm that uses a tree-like structure to make decisions based on input data. It divides data into branches and assigns outcomes to leaf nodes.

Decision trees are used for classification and regression tasks, providing efficient, accurate and easy-to-understand models.

Language and library

Language: Python 3.11.4

Library: sklearn

About

Machine Learning Heart Disease Detection model performed using Decision Tree Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%