Research Article
Influences of Daily Life Habits on Risk Factors of Stroke Based on Decision Tree and Correlation Matrix
Table 5
Confusion matrix achieved by the random forest algorithm.
| | Risk level analyzed by random forest algorithm | Recall | | H | M | Y | T | N | L |
| | Risk level analyzed by physicians | | | | | | | | | H | 1300 | 115 | 0 | 0 | 0 | 0 | 0.919 | | M | 72 | 1473 | 0 | 0 | 1 | 0 | 0.953 | | Y | 6 | 0 | 158 | 0 | 0 | 1 | 0.958 | | T | 24 | 6 | 0 | 11 | 3 | 9 | 0.208 | | N | 0 | 0 | 0 | 0 | 699 | 235 | 0.748 | | L | 0 | 0 | 0 | 0 | 239 | 539 | 0.693 | | Precision | 0.927 | 0.924 | 1.000 | 1.000 | 0.742 | 0.688 | | | Accuracy | 85.46% | | Kappa | 0.8063 |
|
|