BayesianBahn APK
Empirical arrival-time distributions for Deutsche Bahn trains
Download APK v0.4.0 · 5.0 MB- Version0.4.0
- Size5.0 MB
- RequiresAndroid 8.0
- Updated9/12/2026
- LicenceMIT
- PriceFree





About BayesianBahn
Early release: predictions are experimental — always cross-check times and connections with DB's official apps.
BayesianBahn predicts when you will actually arrive — as a full probability distribution, not a single number.
Enter where you start, where you want to go and when (also future trips): the app searches direct trains and journeys with one change — routes needing two or more changes are not covered yet, so it will sometimes find fewer connections than DB's own apps. For each option it shows:
- the median predicted arrival time at your destination,
- an 80% credible interval,
- the full delay distribution as a chart,
- the probability of catching each connecting train,
- a Deutschland-Ticket filter that keeps you on regional trains.
Transfers are propagated with Bayes' theorem: you board the first connecting train that has not left yet — so a delayed earlier train counts as catchable, and a missed connection honestly shifts the whole distribution. Live station boards and per-train predictions (including cancellation rates) are also available.
Predictions are empirical: they come from months of real historical runs of that exact train at that station (collected from Deutsche Bahn's public IRIS API, CC BY 4.0), reweighted for recency and weekday. When DB reports an actual delay the forecast is anchored on it; when it reports nothing — which it does for most trains until shortly before departure — the history is left to speak for itself, which measurably beats treating the timetable as a forecast. Delay history updates in-app — a small daily data release keeps predictions fresh to within a day. Trains without history get an honest Bayesian prior estimate.
The app talks only to the keyless public IRIS timetable endpoint and the project's own data releases, needs no account, no API key, no Google services, and collects no data.
What's new in version 0.4.0
- DB's live delay is now the middle of a range, not a fixed number — widened by how wrong such reports turn out to be that far ahead. Your connecting train's departure is treated the same way, so a change weighs two honest ranges. Measured against DB over 16 days: better arrival times, and clearly better at flagging the connections you miss.
- Trains with a brand-new run number now borrow their line's history.
Fixed: connection searches froze the screen instead of showing progress (#2).
APK file information
| Package name | io.github.derweh.bayesianbahn |
|---|---|
| Version | 0.4.0 (code 8) |
| Minimum Android | Android 8.0 · targets Android 15 |
| Architectures | arm64-v8a, armeabi-v7a, x86, x86_64 |
| SHA-256 | 60fd9dfc577670401e40b260647779a31e96fd975b075ec5a02ed957f5490134 |
| Signature | 20856bfc1b57dcf49655572f132387b860bf93571a8111605c7d53bf84120fca |
| Licence | MIT — permissive free licence: the source code is public and reusable |
| Source code | github.com/DerWeh/BayesianBahn |
Permissions
- Internet access
Older versions
- BayesianBahn 0.4.0September 12, 2026 · 5.0 MB
- BayesianBahn 0.3.0September 1, 2026 · 5.0 MB
- BayesianBahn 0.2.0August 27, 2026 · 5.0 MB
How to install BayesianBahn APK
- Tap Download APK above, then open the file once the download has finished.
- If Android asks, allow your browser to install unknown apps.
- Tap Install. BayesianBahn then appears with your other apps.
Having trouble? Read our guides how to install an APK on Android and "App not installed": how to fix it.
Frequently asked questions
Is BayesianBahn free?
Yes. BayesianBahn is distributed under the MIT licence: free, no subscription, and its source code is public.
Is this APK file safe?
The file is the one built and published by the F-Droid repository from the public source code. Its SHA-256 fingerprint is shown above, so you can compare it after downloading. How to check an APK.
Will BayesianBahn work on my phone?
You need at least Android 8.0. The app also works without Google services, so it runs on recent Huawei phones too.





