ADS Capstone Chronicles Revised
33
Figure 21 Confusion Matrix for Individual Food Recommendations
5.5.1 Feature Importance XGBoost also provides valuable insights into the factors driving its predictions. The feature importance plots (Figures 22 and 23) reveal the most influential nutritional features in determining recommendations. For menu recommendations, BMI, General Score, and Sugars emerged as the most critical features,
while for individual foods, General Score, BMI, and Carbohydrates played dominant roles. These insights enhance the interpretability of the model, aligning with the project’s goal of providing actionable and transparent recommendations.
235
Made with FlippingBook - Online Brochure Maker