Table 3.
Comparison of the best decision tree using the weight of foods (previous study, Giabbanelli and Adams, 2016 [8]) or simplified foods (this study), while keeping the number of foods similar.
| Study | Guidelines | Number of instances | Accuracy (%) | Recall | Specificity | Number of factors |
| Previous | Free sugars | 60 | 76.5 | 76.1 | 76.9 | 28 |
| Current | Free sugars | 95 | 77.9 | 75.1 | 80.7 | 25 |
| Previous | Fat | 70 | 72.4 | 66.3 | 78.4 | 33 |
| Current | Fat | 90 | 79.4 | 70.4 | 88.5 | 33 |
| Previous | Fruits and vegetables | 50 | 83.1 | 82.5 | 83.8 | 11 |
| Current | Fruits and vegetables | 90 | 82.2 | 82.3 | 82.2 | 10 |
| Previous | Saturated fat | 20 | 79.7 | 75.8 | 83.6 | 28 |
| Current | Saturated fat | 90 | 84.6 | 77.4 | 91.8 | 27 |
| Previous | Salt | 15 | 75.8 | 81.9 | 69.8 | 28 |
| Current | Salt | 55 | 76.3 | 79.5 | 73.2 | 26 |