Table 4.
Comparison of the best decision tree using the weight of foods (previous study, Giabbanelli and Adams, 2016 [8]) or simplified foods (this study), without being limited by the number of foods.
| 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 | 60 | 78.2 | 73.6 | 82.9 | 31 |
| Previous | Fat | 70 | 72.4 | 66.3 | 78.4 | 33 |
| Current | Fat | 70 | 79.9 | 72.3 | 87.7 | 43 |
| Previous | Fruits and vegetables | 50 | 83.1 | 82.5 | 83.8 | 11 |
| Current | Fruits and vegetables | 50 | 83.5 | 84.9 | 82.2 | 16 |
| Previous | Saturated fat | 20 | 79.7 | 75.8 | 83.6 | 28 |
| Current | Saturated fat | 20 | 84.7 | 79.3 | 90.1 | 42 |
| Previous | Salt | 15 | 75.8 | 81.9 | 69.8 | 28 |
| Current | Salt | 50 | 76.6 | 79.9 | 73.2 | 25 |