Читать книгу Machine Learning for Healthcare Applications - Группа авторов - Страница 58
2.5.1.1 Accuracy
ОглавлениеThe accuracy of the model is calculated using the equation given below.
Table 2.2 shows the accuracy of the model for the decision tree proposed in this chapter.
Figure 2.3 shows the accuracy 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.
Figure 2.2 Screenshots of the web application.
Table 2.2 Accuracy of the model
Health status | Model 1 | Model 2 | ||
---|---|---|---|---|
Accuracy: Phase-I | Accuracy: Phase-II | Accuracy: Phase-I | Accuracy: Phase-II | |
Sleep | 90.54 | 93.64 | 91.54 | 94.64 |
Smoke | 92.21 | 94.01 | 94.21 | 96.01 |
Drink | 94.63 | 95.99 | 96.63 | 97.99 |
Screen | 93.11 | 94.76 | 94.11 | 95.76 |
Calories | 94.00 | 97.83 | 95.00 | 98.83 |
Figure 2.3 Accuracy: Model-I vs Model-II.