Bus Prediction API

Home

Welcome to the Bus Prediction API. Use the tabs above to explore documentation, view a real-time map, or check the data dashboard.

Try fetching predictions at /get_predictions or vehicle positions at /fetch_vehicle_positions.

API Documentation

Explore the API documentation using the following tools:

Real-Time Map

This map uses a Decision Tree Classifier to predict the on-time status of a bus.

The number inside each circle represents the bus's route ID.

Data Dashboard

Below is the Decision Tree model used for predictions:

Decision Tree model

Decision Tree Visualization

Coming soon! Use vehicle positions and trip updates for analytics.