This repo is all about using Machine Learning Classifier to detect if a person has heart disease or not based on 13 given parameters
- Random Forest Classifier (80.46 % Accuracy)
- K-Nearest Neighbour (80.46 % Accuracy)
- age
- sex
- chest pain type (4 values)
- resting blood pressure
- serum cholestoral in mg/dl
- fasting blood sugar > 120 mg/dl
- resting electrocardiographic results (values 0,1,2)
- maximum heart rate achieved
- exercise induced angina
- oldpeak = ST depression induced by exercise relative to rest
- the slope of the peak exercise ST segment
- number of major vessels (0-3) colored by flourosopy
- thal: 3 = normal; 6 = fixed defect; 7 = reversable defect
https://www.kaggle.com/ronitf/heart-disease-uci
Make sure that the CSV file name on local system and inside pd.read_csv() is same. Else it will throw an error