All projects
#04 · 2026

Food Demand Forecasting

A machine learning application that predicts food order demand for specific meals and fulfillment centers, helping businesses plan inventory, manage resources, and make better supply chain decisions.

overview

Meal delivery businesses need to estimate how many orders each fulfillment center will receive to plan inventory and avoid overstocking or shortages. This project uses historical order data, meal information, pricing, promotions, and weekly trends to predict future food demand. I developed a feature engineering pipeline that captures historical demand patterns through lag features, rolling statistics, seasonal information, and pricing and promotional effects. Multiple regression models were trained and evaluated, with XGBoost selected as the final model based on its prediction performance. The trained model was integrated into an interactive Streamlit application where users can select a week, meal, and fulfillment center to get an estimated order count. The application is deployed on Hugging Face Spaces.

highlights

  • Built an end-to-end machine learning pipeline to forecast weekly food orders for different meals and fulfillment centers.
  • Engineered historical demand features using previous-week demand, rolling averages, and rolling standard deviations.
  • Incorporated seasonal patterns, meal popularity, center-specific demand, pricing differences, and promotional effects into model training.
  • Trained and compared XGBoost Regressor and Random Forest models, achieving an R² score of approximately 0.87.
  • Selected XGBoost as the final model based on lower RMSE and integrated it into the prediction application.
  • Developed an interactive Streamlit application where users can select meal, fulfillment center, and week details to generate demand predictions.
  • Deployed the application on Hugging Face Spaces for interactive access.
next projectPotato Disease Classification