A Reproducible Workflow for AIS-Based ETA Forecasting: Evaluating the Influence of Data Preprocessing and Machine Learning Model Selection
João Marreiros, Ana de Jesus Mendes, Marcela Castro, Maria da Graça Costa, Tiago PinhoAccurate Estimated Time of Arrival (ETA) forecasting is essential for improving operational planning and decision-making in modern ports. While machine learning has significantly enhanced ETA prediction using Automatic Identification System data, the impact of data preprocessing on forecasting performance remains underexplored. This study investigates how AIS data preprocessing and machine learning model selection jointly affect ETA forecasting for short-sea shipping, using the Port of Sines as an empirical case study. A reproducible forecasting workflow was developed, integrating dataset construction, voyage selection, feature engineering, predictive modelling and performance evaluation. Three supervised machine learning algorithms, K-Nearest Neighbors, Random Forest Regression, and Multilayer Perceptron, were trained and compared under identical experimental conditions. The results show that forecasting performance depends not only on model selection but also on the quality of the modelling dataset. In particular, Random Forest Regression achieved the strongest and most consistent performance. It was found to be invariant to feature scaling, whereas scaling had a small negative effect on K-Nearest Neighbors and increased training variance for the Multilayer Perceptron. Although all three models achieved accurate ETA predictions, they exhibited different strengths regarding predictive performance, computational efficiency, and operational applicability. The proposed workflow contributes to the development of transparent and reproducible ETA forecasting methodologies and provides practical guidance for implementing AIS-based decision-support systems in short-sea port operations.