用机器学习预测餐厅每日厨余量,助力可持续运营
A Machine Learning Framework for Predicting Restaurant Food Waste to Support Sustainable Food Management

- 基于运营、天气和时间事件数据构建预测模型
- 随机森林模型误差仅6.19公斤,解释力达81.7%
- 公开数据与代码,适合环保与餐饮管理研究者
餐饮业食物浪费严重威胁环境可持续性与经济效率。本文提出一种探索性机器学习框架,通过整合餐厅需求记录、气象数据与时间事件指标,构建包含77,980条记录、27个特征的结构化数据集。由于缺乏公开的真实厨余测量数据,目标变量基于可操作的假设推导得出,并公开完整构造公式与可控随机性设置以确保可复现性。在遵循时间顺序的70-30训练测试划分基础上,采用5折时间序列交叉验证,评估了线性回归、决策树、随机森林与梯度提升四种监督回归模型。所有指标均限定于对所构造目标变量的表现,不表示对真实厨余量的验证。集成方法持续优于线性基线,其中随机森林在系统剔除存在代数泄露风险变量后,在真实特征子集上达到MAE 6.19 kg、RMSE 8.36 kg、$R^2$ 0.817。特征重要性分析揭示菜单多样性、运营面积与时间活动模式为主要预测因素。全量数据集、目标构造公式、代码库与实验配置已公开,支持可复现性及未来对接实测数据。
原文摘要 · Abstract (English)
Food waste in the restaurant sector poses a substantial challenge to environmental sustainability and economic efficiency. This paper presents an exploratory machine learning framework for estimating daily restaurant food waste quantities from operational and contextual features. A structured dataset was constructed by integrating restaurant demand records, meteorological data and temporal event indicators, yielding 77,980 records across 27 features. Because large-scale ground-truth food waste measurements are not publicly available, the target variable was derived from operationally justified assumptions, with the complete construction formula and controlled stochastic variability disclosed for full reproducibility. Four supervised regression models, namely Linear Regression, Decision Tree, Random Forest and Gradient Boosting, were evaluated under a chronological 70-30 train-test split that respects the temporal ordering of restaurant operations, augmented by 5-fold time-series cross-validation. All reported metrics are explicitly scoped to performance against the constructed target and do not imply validation against measured food waste. Ensemble methods consistently outperformed linear baselines. Random Forest attained an MAE of 6.19 kg, RMSE of 8.36 kg and $R^2$ of 0.817 on the realistic feature subset following systematic exclusion of algebraically leakage-prone variables. Feature importance analysis identified menu diversity, operational area and temporal activity patterns as the primary predictive drivers. The full dataset, target construction formula, codebase and experimental configurations are publicly released to support reproducibility and future extension to empirically measured waste data.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。