Predictive analytics
Short-Term Traffic Forecasting with Explainable AI
Transportation agencies need to see how AI forecasts are made to exercise meaningful oversight. When a model predicts that traffic speeds will recover in 30 minutes, analysts should be able to trace the result to the observations, assumptions, and calculations behind it. That transparency helps them investigate unexpected results, refine inputs or training periods, and detect declines in accuracy over time so the model continues to serve the agency’s operational goals.
Replay a short-term traffic forecast and see how TrafficCube arrived at each prediction.
TrafficCube uses earlier days in your project to estimate a baseline for the target time, then adjusts it using conditions at the start of the forecast. When other data layers are usable, the Forecast tab shows how much each one changed the prediction in the original units, such as miles per hour.
Compare predictions with observed values in the 2-D slice or 3-D cube. Backtesting by lead time shows how accuracy changes as you look further ahead. You can also copy the calculation and export the training data and settings for review.
The synthetic Utah I–80 demonstration (inspired by Azin and Yang 2021) extends short-term forecasting to crash occurrence, expected crash count, and injury probability conditional on a crash. Its three-year history covers 2023–2025. The hourly Crash count layer records crashes in each segment-hour, while related traffic and weather layers provide potential predictors. The example illustrates how practitioners can inspect a forecast, compare it with recorded outcomes, and test whether its added inputs improve performance. For more information, refer to “TrafficCube-Crash-Prediction-Tutorial.pdf” under TrafficCube Documentation. Users can also download “Utah Crash Prediction Demo.zip” under TrafficCube Advanced Demo Datasets.