Research Article
Score and Correlation Coefficient-Based Feature Selection for Predicting Heart Failure Diagnosis by Using Machine Learning Algorithms
Table 13
Result prediction of heart failure as the category using five machine learning algorithms.
| SN | Classifiers | Division of data | Class | Precision (%) | Recall (%) | F1 score (%) | Number of patients |
| 1 | SVM | Training (80%) | 0 | 92 | 95 | 95 | 79 | 2 | 1 | 93 | 96 | 97 | 160 | 3 | Testing (20%) | 0 | 92 | 91 | 92 | 17 | 4 | 1 | 94 | 94 | 94 | 43 | 5 | KNN | Training (80%) | 0 | 89 | 97 | 96 | 79 | 6 | 1 | 91 | 99 | 98 | 160 | 7 | Testing (20%) | 0 | 92 | 97 | 94 | 17 | 8 | 1 | 94 | 98 | 96 | 43 | 9 | Decision Tree | Training (80%) | 0 | 97 | 100 | 98 | 79 | 10 | 1 | 98 | 100 | 99 | 160 | 11 | Testing (20%) | 0 | 92 | 100 | 95 | 17 | 12 | 1 | 94 | 100 | 97 | 43 | 13 | Random Forest | Training (80%) | 0 | 100 | 100 | 100 | 79 | 14 | 1 | 100 | 100 | 100 | 160 | 15 | Testing (20%) | 0 | 98 | 96 | 97 | 17 | 16 | 1 | 97 | 95 | 96 | 43 | 17 | Logistic Regression | Training (80%) | 0 | 94 | 93 | 94 | 79 | 18 | 1 | 96 | 91 | 93 | 160 | 19 | Testing (20%) | 0 | 93 | 90 | 91 | 17 | 20 | 1 | 93 | 92 | 93 | 43 |
|
|