Читать книгу Machine Learning for Healthcare Applications - Группа авторов - Страница 61
2.5.1.4 F1-Score
ОглавлениеThe F1-score is the harmonic mean of precision and recall. Below equation used to calculate the F1-score.
Figure 2.6 shows the F1-score comparison between the two models which are proposed in this chapter and it is observed the model-II gives more accuracy than the model-I. Table 2.5 shows the F1-Score comparison between the model-1 and model-2.
Table 2.5 F1-score of the model.
Health status | Model 1 | Model 2 | ||
---|---|---|---|---|
F1-score:Phase-I | F1-score:Phase-II | F1-score:Phase-I | F1-score:Phase-II | |
Sleep | 94.50549 | 96.25668 | 95.08197 | 96.84211 |
Smoke | 95.69892 | 96.84211 | 96.84211 | 97.89474 |
Drink | 94.50549 | 97.3545 | 97.89474 | 98.94737 |
Screen | 96.17486 | 96.80851 | 96.77419 | 97.3545 |
Calories | 96.80851 | 98.4456 | 97.3262 | 98.96907 |
Figure 2.6 Recall: Model-I vs Model-II.