Google gets real-time data on bus locations from some transit agencies today. Real-time bus forecasts, which started in India earlier this month, can power forecasts in places where transit agencies do not provide real-time bus location data today.

Using a combination of time, distance traveled, and individual events as data sets, the AI makes it possible for Google to provide predictions without a need to rely on bus schedules provided by public transportation agencies.

Details of how Google Maps uses machine learning to forecast how many minutes away your bus is more accurately than bus schedules was spelled out today by Google research scientist Alex Fabrikant.

Related: Is the travel industry heading for a new world order?