Aug 7, 2024, 9:36 PM
Framingham_Kaggle_Imputed.csv
Missing file
TenYearCHD | male | age | education | currentSmoker | cigsPerDay | BPMeds | prevalentStroke | prevalentHyp | diabetes | totChol | sysBP | diaBP | BMI | heartRate | glucose |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 39 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 195 | 106 | 70 | 26.97 | 80 | 77 |
0 | 0 | 46 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 250 | 121 | 81 | 28.73 | 95 | 76 |
0 | 1 | 48 | 1 | 1 | 20 | 0 | 0 | 0 | 0 | 245 | 127.5 | 80 | 25.34 | 75 | 70 |
1 | 0 | 61 | 3 | 1 | 30 | 0 | 0 | 1 | 0 | 225 | 150 | 95 | 28.58 | 65 | 103 |
0 | 0 | 46 | 3 | 1 | 23 | 0 | 0 | 0 | 0 | 285 | 130 | 84 | 23.10 | 85 | 85 |
Model | AUC | Precision | Recall | F1 Score |
---|---|---|---|---|
Logistic Regression | 0.710 | 0.533 | 0.065 | 0.116 |
Decision Tree | 0.545 | 0.215 | 0.236 | 0.225 |
Random Forest | 0.679 | 0.429 | 0.049 | 0.088 |
SVM | 0.531 | 0.220 | 0.106 | 0.143 |
Neural Network | 0.514 | 0.200 | 0.130 | 0.158 |
precision recall f1-score support
0 0.87 0.85 0.86 725
1 0.21 0.24 0.22 123
accuracy 0.76 848
macro avg 0.54 0.54 0.54 848
weighted avg 0.77 0.76 0.77 848