Research Article
Score and Correlation Coefficient-Based Feature Selection for Predicting Heart Failure Diagnosis by Using Machine Learning Algorithms
Table 6
Converting categorical data to dummy.
| Age | trestbps | chol | thalach | Oldpeak | Target | Sex_0 | Sex_1 | cp_0 | cp_1 | ... | Slope_2 | ca_0 | ca_1 | ca_2 | ca_3 |
| 0 | 63 | 145 | 233 | 150 | 2.3 | 1 | 0 | 1 | 0 | 0 | ... | 0 | 1 | 0 | 0 | 1 | 37 | 130 | 250 | 187 | 3.5 | 1 | 0 | 1 | 0 | 0 | ... | 0 | 1 | 0 | 0 | 2 | 41 | 130 | 204 | 172 | 1.4 | 1 | 1 | 0 | 0 | 1 | ... | 1 | 1 | 0 | 0 | 3 | 56 | 120 | 236 | 178 | 0.8 | 1 | 0 | 1 | 0 | 1 | ... | 1 | 1 | 0 | 0 | 4 | 57 | 120 | 354 | 163 | 0.6 | 1 | 1 | 0 | 1 | 0 | ... | 1 | 1 | 0 | 0 |
|
|