[关键词]
[摘要]
面向多因素下地铁线路客运量预测需求,通过特征挖掘、相关性分析,从时间、天气、线网规模、城市发展、节假日及活动等因素选取12项影响特征指标,针对XGBoost模型超参数优化难题,提出基于斑马优化算法(ZOA)的超参数优化算法;构建XGBoost-ZOA组合预测模型,设计时序数据预测的交叉验证方案,并在西安地铁开展实例验证。经ZOA算法优化后的预测模型,在1号线测试集上的预测误差平均误差百分比MAPE为3.85%,与经典的智能优化算法相比其预测效果更佳,证实该算法的先进性。XGBoost-ZOA组合预测模型在9条线路的平均MAPE达到5.18%,最大误差不超过7%,预测值与真实值曲线吻合度较高,同比SARIMA模型及LSTM模型,MAPE分别减少了17.8%及21.9%,均方根误差RMSE分别减少了10.8%及13.6%。最后,基于模型特征重要度,将9条线路分为趋势客流导向、假日活动客流导向和多因素均衡导向3类,发现假日活动主导的线路客流预测误差较大,周期趋势主导的线路客流预测误差较小,证实了该模型的解释性及实用性较好。
[Key word]
[Abstract]
To address multi-factor subway line passenger volume forecasting needs, 12 influential features are selected (time, weather, network scale, urban development, holidays, and events) via feature mining and correlation analysis, and—targeting the difficulty of XGBoost hyperparameter tuning—a hyperparameter optimization approach based on the Zebra Optimization Algorithm (ZOA) is proposed. An XGBoost-ZOA integrated forecasting model is developed, a cross-validation scheme tailored for time-series prediction is designed, and a case study is conducted using Xi’an Metro data. The ZOA-optimized model achieves a MAPE of 3.85% on the Line 1 test set; compared with representative intelligent optimization algorithms, it yields the best performance, confirming the algorithm’s superiority. Across nine lines, the XGBoost-ZOA model attains an average MAPE of 5.18%, with the maximum error below 7%, and the predicted and actual curves show a high degree of agreement. Compared with SARIMA and LSTM, the MAPE decreases by 17.8% and 21.9%, and the RMSE decreases by 10.8% and 13.6%, respectively. Finally, using feature importance, the nine lines were grouped into three categories: trend-driven, holiday/ activity-driven, and multi-factor balanced passenger flows. Lines dominated by holidays/activities exhibit larger prediction errors, whereas those governed by periodic trends show smaller errors, confirming the model’s interpretability and practical utility.
[中图分类号]
U231
[基金项目]
北京市自然科学基金-丰台轨道交通前沿研究联合基金(L221006,L231003)