Skip to content

Instantly share code, notes, and snippets.

@manishanker
Created August 1, 2020 09:03
Show Gist options
  • Save manishanker/49b7baca1cdba3933b6a826242f8bbba to your computer and use it in GitHub Desktop.
Save manishanker/49b7baca1cdba3933b6a826242f8bbba to your computer and use it in GitHub Desktop.
Dataset url :
https://raw.githubusercontent.com/manishanker/stats_ml_jun2020/master/datasets_737503_1278636_heart.csv
Attribute Information
1) age
2) sex
3) chest pain type (4 values)
4) resting blood pressure
5) serum cholestoral in mg/dl
6)fasting blood sugar > 120 mg/dl
7) resting electrocardiographic results (values 0,1,2)
8) maximum heart rate achieved
9) exercise induced angina
10) oldpeak = ST depression induced by exercise relative to rest
11)the slope of the peak exercise ST segment
12) number of major vessels (0-3) colored by flourosopy
13) thal: 0 = normal; 1 = fixed defect; 2 = reversable defect
14) target: 0= less chance of heart attack 1= more chance of heart attack
Assignment:
1) Import Packages
2) EDA - Histograms, Pairplot, Countplot, correlation
3) Preparing ML models
4) Models evaluation - see which model works well. Logistic or Decision (careful with overfitting using Decision Trees)
5) Conclusion - [Choose the model which has higher precision in finding people with Heart Disease]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment