The objective of this project is to analyze TTC bus delay data to determine the relationship between number of delays, day of the week, and hour of the day throughout 2022. Data is sourced from the City of Toronto's Open Data page, with further data collected through webscraping on Wikipedia.
A simple polynomial regression model is also created to predict the number of delays throughout the day on a Friday in 2022. Further recommendations are made to increase complexity and accuracy of the model.
- Install the required dependencies: Python, NumPy, Pandas, Seaborn, Matplotlib, Beautiful Soup
- Clone the repository:
git clone https://github.com/koreenml/ttc-bus-delays - Navigate to the project directory:
cd bus-delay-prediction - Run the Jupyter notebook:
jupyter notebook ttc_delay_project_final.ipynb