Publikace: Temporal fusion transformers for traffic flow prediction in smart cities
Diplomová práceopen access| dc.contributor.advisor | Hájek, Petr | |
| dc.contributor.author | Douglas, Godfred Enim | |
| dc.contributor.referee | Komárková, Jitka | |
| dc.date.accepted | 2025-08-26 | |
| dc.date.accessioned | 2025-09-08T08:54:23Z | |
| dc.date.issued | 2025 | |
| dc.date.submitted | 2025-06-27 | |
| dc.description.abstract | Accurate traffic flow prediction plays a critical role in the development of intelligent transportation systems and smart city planning. This thesis explores the application of Temporal Fusion Transformers (TFT), a deep learning architecture designed for interpretable multi-horizon time series forecasting, to model and predict traffic patterns in urban environments. Using real-world traffic datasets composed of spatial-temporal features such as time of day, day of week, road-specific data, and environmental variables, we construct a forecasting pipeline that captures complex dependencies across multiple locations and timeframes. The research includes extensive preprocessing of temporal data, feature engineering, and the implementation of TFT using PyTorch Forecasting. We conduct hyperparameter tuning to optimize model performance and evaluate the model using standard metrics such as Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE) on both validation and test datasets. The results demonstrate the model's ability to capture non-linear patterns and temporal correlations, offering interpretable and scalable predictions suitable for real-time traffic management systems. The thesis concludes with visual and statistical analyses of predicted versus actual traffic flows, emphasizing the effectiveness of TFT in smart city applications. | eng |
| dc.description.abstract-translated | Přesná predikce dopravního toku hraje klíčovou roli ve vývoji inteligentních dopravních systémů a plánování chytrých měst. Tato diplomová práce zkoumá využití Temporal Fusion Transformers (TFT), hluboké učící architektury navržené pro interpretovatelné predikce časových řad s vícečasovým horizontem, k modelování a predikci dopravních vzorců v městském prostředí. Pomocí reálných dopravních datových sad složených z prostorově-časových prvků, jako je denní doba, den v týdnu, údaje specifické pro dané silnice a environmentální proměnné, vytváříme predikční pipeline, která zachycuje složité závislosti napříč různými lokalitami a časovými rámci. Výzkum zahrnuje rozsáhlé předzpracování časových dat, návrh příznaků (feature engineering) a implementaci modelu TFT pomocí knihovny PyTorch Forecasting. Provádíme ladění hyperparametrů za účelem optimalizace výkonu modelu a hodnotíme model pomocí standardních metrik, jako je střední kvadratická chyba (RMSE) a střední absolutní chyba (MAE) na validačních a testovacích datových sadách. Výsledky ukazují schopnost modelu zachytit nelineární vzorce a časové korelace a nabízejí interpretovatelné a škálovatelné predikce vhodné pro systémy řízení dopravy v reálném čase.Práce končí vizuálními a statistickými analýzami predikovaných a skutečných dopravních toků, přičemž zdůrazňuje efektivitu modelu TFT v aplikacích pro chytrá města. | cze |
| dc.description.defence | The student defended Masters thesis named: Temporal Fusion Transformers for Traffic Flow Prediction in Smart Cities and Aim of the Thesis: To introduce Temporal Fusion Transformers, characterize existing approaches to traffic flow prediction in smart cities, propose a traffic flow prediction system leveraging Temporal Fusion Transformers, pre-process traffic flow datasets, validate the proposed system using those datasets, and discuss the broader implications for smart city development. Some of the questions asked were: How would you address the challenges of deploying the proposed TFT-based traffic prediction system in a real-time smart city environment (e.g., regarding data latency and system scalability)? Why didnt you use data for 1 more cities and why did you restrict data for only 1 city? Why the city name is not mentioned? What is the difference between AREMA and TFT? The student answered the questions with difficulty. | cze |
| dc.description.department | Fakulta ekonomicko-správní | cze |
| dc.description.grade | Dokončená práce s úspěšnou obhajobou | cze |
| dc.format | 114 s. | |
| dc.identifier.stag | 49486 | |
| dc.identifier.uri | https://hdl.handle.net/10195/85633 | |
| dc.language.iso | eng | |
| dc.publisher | Univerzita Pardubice | cze |
| dc.rights | Bez omezení | |
| dc.subject | Temporal Fusion Transformer (TFT) | cze |
| dc.subject | předpověď dopravního toku | cze |
| dc.subject | mobilita chytrých měst | cze |
| dc.subject | hluboké učení | cze |
| dc.subject | interpretovatelnost | cze |
| dc.subject | data z městských senzorů | cze |
| dc.subject | Temporal Fusion Transformer (TFT) | eng |
| dc.subject | traffic-flow forecasting | eng |
| dc.subject | smart-city mobility | eng |
| dc.subject | Intelligent Transportation Systems (ITS) | eng |
| dc.subject | multi-horizon time-series prediction | eng |
| dc.subject | deep-learning interpretability | eng |
| dc.subject | self-attention mechanism | eng |
| dc.subject | variable-selection networks (VSN) | eng |
| dc.subject | Gated Residual Network (GRN) | eng |
| dc.subject | hyperparameter tuning with Optuna | eng |
| dc.subject | PyTorch Forecasting framework | eng |
| dc.subject | Root Mean Squared Error (RMSE) | eng |
| dc.subject | Mean Absolute Error (MAE) | eng |
| dc.subject | persistence baseline comparison | eng |
| dc.subject | urban-traffic sensor data | eng |
| dc.subject | Internet of Things (IoT) traffic sensors | eng |
| dc.subject | adaptive signal control | eng |
| dc.subject | quantile loss and prediction intervals | eng |
| dc.subject | attention heat-map explainability | eng |
| dc.subject | edge-deployable inference | eng |
| dc.thesis.degree-discipline | Informatics in Public Administration | cze |
| dc.thesis.degree-grantor | Univerzita Pardubice. Fakulta ekonomicko-správní | cze |
| dc.thesis.degree-name | Ing. | |
| dc.thesis.degree-program | Informatics and System Engineering | cze |
| dc.title | Temporal fusion transformers for traffic flow prediction in smart cities | eng |
| dc.type | diplomová práce | cze |
| dspace.entity.type | Publication |
Soubory
Původní svazek
1 - 3 z 3
Načítá se...
- Název:
- DouglasGE_TemporalFusion_PH_2025.pdf
- Velikost:
- 5.38 MB
- Formát:
- Adobe Portable Document Format
- Popis:
- Plný text práce
Načítá se...
- Název:
- KomarkovaJ_TemporalFusion_GED_2025.pdf
- Velikost:
- 188.64 KB
- Formát:
- Adobe Portable Document Format
- Popis:
- Posudek oponenta práce
Načítá se...
- Název:
- HajekP_TemporalFusion_GED_2025.pdf
- Velikost:
- 1.2 MB
- Formát:
- Adobe Portable Document Format
- Popis:
- Posudek vedoucího práce