To pull the latest version of the Docker image from DockerHub, use:
docker pull agam007/group04:latest
Next, start a container and map port 8888 for Jupyter Notebook access. The command is:
docker run \
-it \
--rm \
-p 8888:8888 \
-v .:/home/jovyan \
agam007/group04:latest \
start-notebook.sh \
--NotebookApp.token='' \
--NotebookApp.password=''
Go to http://localhost:8888/ to access the Jupyter Notebook.
If any changes are made to the environment files or Docker configuration files in this repository, the image on DockerHub will be automatically updated through the Github Actions Workflow.
Another simpler way to launch and manage containers is to use Docker Compose.
To start the services defined in the docker-compose.yml
file, use:
docker-compose up
Similar to the above, go to http://localhost:8888/ to access the Jupyter Notebook.
To stop the services, press Ctrl+C
in the terminal where docker-compose up
is running, or use:
docker-compose down
Toronto TTC Bus Delay Report
This project aims to analyze the delay time (in minutes) for various bus routes in Toronto and build a model to predict future delays based on explanatory variables, including:
We build a predictive model using historical bus data in 2024 to determine the likelihood and extent of delays for future bus operations.