Skip to content

AI in public transport

We build models using your check-in and check-out data, journey data and passenger counts, and keep them up to date in production, as with GVB’s passenger travel behaviour model.

Insights into travel behaviour: we set up a consistent, robust MLOps lifecycle for GVB

A segmentation model based on travel behaviour gives GVB more insight into how passengers travel, for example so it can offer suitable travel products. To keep the model up to date over the years, we set up an MLOps workflow in Databricks using reusable templates.

Read the case study

What do our check-ins and check-outs tell us about where the timetable falls short?

Each month, the transport planner receives figures on passengers boarding and alighting and reads complaints about crowded services. But they still adjust service frequencies based on experience and isolated counts. A model that combines these sources shows where and when demand exceeds capacity. The planner makes the decision.

Book a meeting
Moderne tram rijdt door een straat met oude gevels, met wachtende reizigers op de stoep
# langs de halte.

Travel behaviour, occupancy and maintenance: models that stay accurate as the network changes

Discuss your challenge

Segmenting travel behaviour

For GVB, we keep a travel behaviour segmentation model up to date with an MLOps workflow in Databricks, so it reflects how passengers move.

Counting passengers with video

For GVB, we built software that uses computer vision to count passengers in existing camera footage from vehicles. Only the model analyses the footage.

Anomalies in maintenance hours

For GVB’s Rail Materiaal department, we developed anomaly detection for logged hours to improve the planning of tram and metro maintenance.

Sensor data along the railway

With ProRail’s data lab, we investigated how machine learning can detect trains, railway components and wheel defects using fibre-optic cables.

A forecast for one line or hub first, then the entire network

  1. Planning decisions and data sources

    Which decision about frequency, vehicles or ticket products needs to improve, and which checks, KV6 trip data and passenger counts are needed?

  2. Pilot model using previous years’ data

    We train on earlier timetable years and test against a later period, accounting for works, diversions and holidays.

  3. Forecasts in the planning process

    The forecast becomes part of the planning process, with drift monitoring. The transport planner still makes the decisions.

How good does our passenger data need to be for a forecast by route or stop?

Let's assess it in a conversation

A good fit if

You have check-in and check-out records, journey data or counts spanning several timetable years, and a recurring decision to make, such as how frequently to run a busy route or whether to add more vehicles.

Not a good fit if

Routes and stops have been renumbered without a mapping table, counts were collected only once, or you mainly need insight into the figures. In that case, you start with the data or a dashboard, and we'll tell you so.

What determines the scope

The number of routes and sources, such as check-in and check-out records, KV6, NeTEx and camera footage; whether you forecast by hour or by timetable; whether it remains a pilot model; and who will manage the model afterwards.

Can we use travel data?

Check-in and check-out records remain personal data as long as they can be traced back to individuals, even when pseudonymised. We work with aggregated or pseudonymised data; your privacy officer or legal adviser assesses the legal basis.

Passenger demand forecasts, crowding or the timetable itself: where will a model deliver value first?

Passenger demand forecasts

Choose this if you want to predict demand by route and hour. We recommend starting here: this is where the richest historical data lies, and the forecast can then inform crowding predictions and timetables; see forecasting.

Crowding by service

Choose this if passengers need to see in advance how busy a service will be. DOVA’s concession annex specifies an interface for expected occupancy, with forecasts supplied daily.

Timetables and vehicle deployment

Choose this if you want to optimise frequencies, vehicle rotations or fleet deployment. This requires a forecast as input and an optimisation model; read more about optimising planning.

We worked with GVB from data strategy through to models in production

Data Science Lab has worked with data and AI from Amsterdam since 2016, as a Databricks and Microsoft partner. For GVB, we selected data use cases and built models for travel behaviour, passenger counts and maintenance; with ProRail, we worked on sensor data.

Book an introductory meeting

One route, transport hub or scheduling decision is enough for an initial conversation

Stef Stoelwinder

Stef Stoelwinder

Business Development

Stef is your first point of contact. In our first conversation, we’ll discuss one decision about your timetable and the passenger data you already have.

Which timetable decision are you looking to support with data?

Describe the route or decision and the data you already have. We’ll reply by email or arrange an initial conversation.

Enter a valid email address.

Let us know how we can help you.

Frequently asked questions

AI in public transport means training a model on data an operator already has: check-ins and check-outs, journey data, passenger counts and timetables. You can use it to predict how many passengers will use a route, see where a service becomes crowded, or plan maintenance and staffing more effectively. These are among the AI applications we build.

For GVB, we first helped select the data use cases with the greatest impact. You can find more of our work in the sector under mobility and logistics.

With a model that combines historical check-ins and check-outs by route, stop and hour with calendar information: school holidays, events, weather and planned works. This helps you predict demand for a new timetable or a busy period.

The challenge is that the past is not always a reliable guide. A new route, a diversion or a change in working-from-home patterns affects demand, and the model needs to learn from that. Read more about forecasting.

More than you might think. Operators submit their timetables in NeTEx and current vehicle positions and punctuality data in KV6 to the NDOV data portals. They report changes, such as cancelled services, in KV17. These source data are open data under a CC-0 licence.

Operators also provide monitoring information to public transport authorities under MIPOV, including boarding and alighting figures, transfers and occupancy. To see how these sources can be brought together with your own check-in and check-out data, read about our data and AI platform.

Check-in data misses passengers who do not check in, while manual counts take considerable effort and only capture a snapshot. For GVB, we built software that uses computer vision to count passengers in footage from existing security cameras on vehicles. The footage is neither viewed nor shared; only the model analyses it.

This gives you insight over a longer period, for example into which routes have more passengers travelling without a valid ticket. Read more about computer vision.

By monitoring and retraining it. A new timetable, a closed stop or changes in travel behaviour alter the input data, making the results less accurate. This is called drift. For GVB, we therefore set up an MLOps workflow in Databricks with reusable templates, so its travel behaviour segmentation model stays up to date over the years.

Read about how this works under MLOps. Your team can manage the model, or we can do it through management and continuous improvement.

Check-in and check-out records are personal data as long as they can be traced back to a passenger. According to the EDPB, pseudonymised data remains personal data under the GDPR. The OVpay privacy notice from Transdev and Translink states that technical card data is processed only in pseudonymised form.

Annex III of the AI Act lists AI used as a safety component in critical digital infrastructure and road traffic as high-risk. Whether your application falls into this category is for your legal counsel or compliance team to assess; we can help identify the relevant applications. See AI Act and Responsible AI.

Yes, provided maintenance data is recorded properly. For the Rail Materiaal department at GVB, we developed an anomaly detection model that identifies unusual logged hours. It provides insight into productivity, the completeness of time records, overtime and absenteeism for each project, helping teams plan projects more effectively.

If you want to anticipate faults in rolling stock and vehicles, predictive maintenance is the next step. With ProRail, we investigated the detection of wheel defects using fibre-optic cables alongside the track.

When the main question is how many passengers travelled, rather than how many will travel. In that case, a Power BI dashboard based on your check-in and check-out data and MIPOV figures is more useful than a model. A fixed scheduling rule may also be enough if a route follows the same pattern every year.

If you cannot link stops and routes across your data sources, start with the data foundation. If a simpler solution fits, we will tell you.

If you work with vehicles under contract rather than timetabled services, read about AI for leasing companies.