Research Article

Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions

Volume: 1 Number: 2 October 30, 2026
TR EN

Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions

Abstract

Bike-sharing systems generate fine-grained ridership records that make weather- and season-sensitive demand visible, yet many prediction studies emphasize predictive accuracy over the transparency that operators need for planning. This study develops and validates explainable machine learning models for day- and hour-level bike-sharing demand using the publicly available Capital Bikeshare dataset (Washington, D.C., 2011-2012). Following a data-quality screening stage —which retained 165 genuinely absent hourly records without synthetic imputation, corrected a single humidity-sensor anomaly, and excluded casual and registered ridership counts as predictors to prevent target leakage— day- and hour-level models were compared under a strictly chronological validation scheme, using five expanding calendar-based cross-validation folds and a final-quarter 2012 hold-out. A Ridge regression with a linear day-trend term was selected at day level (cross-validation RMSE = 979.4; hold-out R² = 0.458), while an XGBoost model with the same trend term was selected at hour level (cross-validation RMSE = 73.4; hold-out R² = 0.757). SHAP-based explanation identified the day trend, year, and temperature as the leading day-level demand drivers, and hour-of-day, the day trend, and working-day status as the leading hour-level drivers. A sensitivity analysis showed that a single extreme low-demand day (29 October 2012, coinciding with Capital Bikeshare’s service suspension ahead of Hurricane Sandy) accounted for 82% of total day-level absolute percentage error, while scale-robust error measures (sMAPE, WAPE) remained comparatively stable. Variance-inflation diagnostics required excluding apparent temperature from linear model specifications due to strong collinearity with temperature. These findings support weather- and season-aware, chronologically validated demand forecasting as a transparent decision-support tool for sustainable urban mobility planning, while identifying service-disruption events as an unmodeled source of error.

Keywords

References

  1. Baumanis, C., Hall, J., & Machemehl, R. (2023). A machine learning approach to predicting bicycle demand during the COVID-19 pandemic. Research in Transportation Economics, 100, 101276. https://doi.org/10.1016/j.retrec.2023.101276
  2. Bean, R., Pojani, D., & Corcoran, J. (2021). How does weather affect bikeshare use? A comparative analysis of forty cities across climate zones. Journal of Transport Geography, 95, 103155. https://doi.org/10.1016/j.jtrangeo.2021.103155
  3. Betkier, I., Oszczypała, M., & Dawid, W. (2025). Bike-sharing systems for sustainable cities: Demand prediction using graph neural networks and spatial aggregation. Sustainable Cities and Society, 128, 106479. https://doi.org/10.1016/j.scs.2025.106479
  4. Biswas, M. E., Hossain, M. D., Huh, E.-N., & Sultana, T. (2025). Spatiotemporal data-driven hourly bike-sharing demand prediction using ApexBoost regression. International Journal of Data Science and Analytics, 20(7), 6259–6282. https://doi.org/10.1007/s41060-025-00820-0
  5. Ermagun, A., & Pudleiner, K. (2026). Extreme weather effects on bikeshare ridership across climate regions. Journal of Transport Geography, 134, 104691. https://doi.org/10.1016/j.jtrangeo.2026.104691
  6. Fanaee-T, H. (2013). Bike Sharing [Data set]. UCI Machine Learning Repository. https://doi.org/10.24432/C5W894
  7. Fanaee-T, H., & Gama, J. (2014). Event labeling combining ensemble detectors and background knowledge. Progress in Artificial Intelligence, 2, 113–127. https://doi.org/10.1007/s13748-013-0040-3
  8. Gammelli, D., Wang, Y., Prak, D., Rodrigues, F., Minner, S., & Pereira, F. C. (2022). Predictive and prescriptive performance of bike-sharing demand forecasts for inventory management. Transportation Research Part C: Emerging Technologies, 138, 103571. https://doi.org/10.1016/j.trc.2022.103571

Details

Primary Language

English

Subjects

Information Systems (Other)

Journal Section

Research Article

Publication Date

October 30, 2026

Submission Date

September 5, 2026

Acceptance Date

October 22, 2026

Published in Issue

Year 2026 Volume: 1 Number: 2

APA
Saray, U. (2026). Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions. Disiplinler Arası Sürdürülebilirlik Çalışmaları Dergisi, 1(2), 217-236. https://izlik.org/JA53XP53XF
AMA
1.Saray U. Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions. IJSR. 2026;1(2):217-236. https://izlik.org/JA53XP53XF
Chicago
Saray, Umut. 2026. “Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions”. Disiplinler Arası Sürdürülebilirlik Çalışmaları Dergisi 1 (2): 217-36. https://izlik.org/JA53XP53XF.
EndNote
Saray U (October 1, 2026) Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions. Disiplinler Arası Sürdürülebilirlik Çalışmaları Dergisi 1 2 217–236.
IEEE
[1]U. Saray, “Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions”, IJSR, vol. 1, no. 2, pp. 217–236, Oct. 2026, [Online]. Available: https://izlik.org/JA53XP53XF
ISNAD
Saray, Umut. “Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions”. Disiplinler Arası Sürdürülebilirlik Çalışmaları Dergisi 1/2 (October 1, 2026): 217-236. https://izlik.org/JA53XP53XF.
JAMA
1.Saray U. Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions. IJSR. 2026;1:217–236.
MLA
Saray, Umut. “Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions”. Disiplinler Arası Sürdürülebilirlik Çalışmaları Dergisi, vol. 1, no. 2, Oct. 2026, pp. 217-36, https://izlik.org/JA53XP53XF.
Vancouver
1.Umut Saray. Explainable Machine Learning for Sustainable Urban Mobility: Capital Bikeshare Demand under Weather and Seasonal Conditions. IJSR [Internet]. 2026 Oct. 1;1(2):217-36. Available from: https://izlik.org/JA53XP53XF