Adaptive Weights Based Ensemble Forecast for Bike Sharing Request Using XGBoost and Prophet
Abstract
In intelligent urban transportation and enterprise market analysis, accurate lightweight bicycle demand forecasting is critical for frontline dispatchers. Complex real-world climatic conditions hinder workers from quick prediction and response. This significantly prolongs the time required for real-time bicycle dispatch. It leads to urban traffic congestion and revenue losses for enterprises. In this case, the research propose a Dynamic Weighted Stacked Ensemble (DWSE), which is composed of the XGBoost method and the Prophet algorithm. Study the use of sliding windows to record the most recent prediction error of each basic predictor. Automatically calculate their respective weights based on the size of the error. The smaller the error of the predictor, the higher the weight it receives. Experiments are conducted over the day-level trip data of Washington Bikeshare service. DWSE achieves better prediction accuracy than conventional methods such as LSTMs and random forests. The model is lightweight with substantially lower parameter complexity than most neural network ensemble schemes, offering an effective and reliable prediction tool for real-time bike-sharing dispatch tasks.
References
- Eren, E. E., & Uz, V. E. (2020). A review on bike-sharing: The factors affecting bike-sharing demand. Sustainable Cities and Society, 54, 101882.
- Sathishkumar, V. E., & Cho, Y. H. (2020). Predicting bike-sharing demand using machine learning techniques. Sensors, 20(11), 3114.
- Kim, K., Lee, S., & Koo, J. (2018). The effects of weather conditions on bike-sharing demand: Evidence from Tashu in Daejeon, South Korea. Sustainability, 10(10), 3614.
- Peláez-Rodríguez, C., Rincón-García, E. A., & Maldonado-Molina, S. (2024). Bike sharing and cable car demand forecasting using machine learning and deep learning. Expert Systems with Applications, 235, 121167.
- Lu, H., et al. (2024). Building trust for traffic flow forecasting components in intelligent transportation systems via interpretable ensemble learning. Digital Transportation and Safety, 3(1), 1-15.
- Zhou, Z., Yang, L., & Chen, H. (2023). A novel stacked ensemble learning approach for short-term metro passenger flow prediction. Transportation Research Part C: Emerging Technologies, 145, 103985.
- Li, Y., Wang, X., & Zhang, H. (2025). Time series forecasting model based on dynamic weighted ensemble. Journal of Computer Applications, 45(6), 1789-1798.
- Fanaee-T, H., & Gama, J. (2014). Event labeling combining ensemble detectors and background knowledge. Progress in Artificial Intelligence, 2(2-3), 113-127.
- Wang, S., Wu, H., Shi, X., Hu, T., Luo, H., Ma, H., et al. (2024). TimeMixer: Decomposable multiscale mixing for time series forecasting. In Proceedings of the International Conference on Learning Representations (ICLR). Vienna, Austria, 1-20.
- Gao, H., Xu, Q., Li, Y., & Wang, S. (2025). Ensemble learning for operations research and business analytics: A comprehensive review and future directions. Annals of Operations Research, 342(1), 45-78.