!Unfortunately, Sound Transit's GPS tracking service is offline. The predictions here will be based on scheduled times until the service returns. Please take them with a grain of salt until we can reconnect.

See Sound Transit tracking status

Open on Ko-fi instead

Link or Swim

An experiment in predicting train arrival times with machine learning trained on vehicle GPS data.

Link or Swim is free, has no ads, and is made by one person in Portland.

If it is useful to you, consider buying me a coffee ☕

How it works

Link or Swim delivers down-to-the-second information about when your train will pull into your station, to allow for effortlessly perfect transit timing.

While Sound Transit provides accurate GPS data for vehicles in its fleet, it only updates every 15 seconds, so presenting accurate information is a challenge. Given a GPS position, a direction, and a color (red, blue, green, yellow, or orange), we need to figure out the probability of where it will be 15 seconds in the future.

We can produce this range of probabilities by looking at past GPS data. The more data we have, the more accurate we can be. We can begin to correlate this with weather conditions, time of day, and overall system performance. The goal of Link or Swim is to make the best predictions possible, so that you can make your train with a minimum amount of waiting.

Beta features
Walking speed

Privacy · Clear all local data