Chart of forecast and actual bike-share rides an hour over one week, with rainy hours shaded

Forecasting bike-share demand

Client
Directed studies, UBC Computer Science
Headline result
−34% forecast error against last week’s numbers
Location
Vancouver
Year
2026
Scope
Research report and forecasting model
Timeline
4 months
My role
Sole author, supervised by Dr. Elena Ruiz
Tools or medium
Python, pandas, LightGBM, Jupyter
Status
Completed
Project type
Research

The question

Bike-share stations downtown run empty on sunny Saturdays and full on rainy Mondays. Could a simple model warn the operator a few hours ahead?

What I did

I joined 2.3 million trips from the city’s open data with hourly weather and a list of big events, then compared three models. Gradient boosting won. I wrote it up as my directed studies report, supervised by Dr. Elena Ruiz.

What I found

The model cut the forecast error by 34% compared with last week’s numbers. Rain matters most, then the hour, then events. The report has the method, the charts and what didn’t work.

Back to top