Calibrated Machine Learning with Temporal Leakage Controls for Rare-Event Forecasting of Port Activity Anomalies: Evidence from Selected African Countries and Indonesia

Port activity anomalies are rare but may signal operational constraints relevant to supply chains. The aim of the study was to develop and empirically evaluate a calibrated machine learning framework for forecasting rare, algorithmically defined port activity anomalies over horizons of 1, 3, 7 and 14 days, under explicit temporal leakage controls and while assessing spatial transferability, the incremental value of port co-movement proxies and the operational utility of warnings. A total of 303,140 port–day observations were used for 115 ports in six selected African countries and Indonesia for the period 2019–2026. A seasonal benchmark, logistic regression and two variants of the Light Gradient Boosting Machine (LightGBM)—including one with a port co-movement proxy—were compared. Separate training, calibration and final-holdout periods were applied, along with isotonic calibration, port bootstrapping, transferability tests and threshold sensitivity analysis. In the main specification, logistic regression demonstrated a bootstrap-supported advantage for 1- and 3-day horizons, whilst differences between the models for 7- and 14-day horizons were not conclusive. A conservative rerun excluding 15 anomaly-derived predictors preserved the bootstrap-supported 1-day advantage, whereas the 3-day margin over the seasonal benchmark became inconclusive. The inclusion of a port co-movement proxy did not yield a confirmed improvement in predictive quality, whilst higher sensitivity required a marked increase in false alarms. Because the target is algorithmically defined and was not validated against an independent event registry, the results concern predictive signals of activity anomalies rather than confirmed port disruptions. The framework provides a transparent research benchmark but is not yet ready for autonomous implementation.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-09-11
DOI
https://doi.org/10.3390/app16189017
Primary Topic
Maritime Ports and Logistics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Calibrated Machine Learning with Temporal Leakage Controls for Rare-Event Forecasting of Port Activity Anomalies: Evidence from Selected African Countries and Indonesia

Tomasz Rokicki, Bogdan Klepacki, Aneta Bełdycka-Bórawska, Piotr Bórawski
Applied Sciences
Maritime Ports and Logistics
article

Calibrated Machine Learning with Temporal Leakage Controls for Rare-Event Forecasting of Port Activity Anomalies: Evidence from Selected African Countries and Indonesia

Tomasz Rokicki, Bogdan Klepacki, Aneta Bełdycka-Bórawska, Piotr Bórawski
article en

Abstract

Port activity anomalies are rare but may signal operational constraints relevant to supply chains. The aim of the study was to develop and empirically evaluate a calibrated machine learning framework for forecasting rare, algorithmically defined port activity anomalies over horizons of 1, 3, 7 and 14 days, under explicit temporal leakage controls and while assessing spatial transferability, the incremental value of port co-movement proxies and the operational utility of warnings. A total of 303,140 port–day observations were used for 115 ports in six selected African countries and Indonesia for the period 2019–2026. A seasonal benchmark, logistic regression and two variants of the Light Gradient Boosting Machine (LightGBM)—including one with a port co-movement proxy—were compared. Separate training, calibration and final-holdout periods were applied, along with isotonic calibration, port bootstrapping, transferability tests and threshold sensitivity analysis. In the main specification, logistic regression demonstrated a bootstrap-supported advantage for 1- and 3-day horizons, whilst differences between the models for 7- and 14-day horizons were not conclusive. A conservative rerun excluding 15 anomaly-derived predictors preserved the bootstrap-supported 1-day advantage, whereas the 3-day margin over the seasonal benchmark became inconclusive. The inclusion of a port co-movement proxy did not yield a confirmed improvement in predictive quality, whilst higher sensitivity required a marked increase in false alarms. Because the target is algorithmically defined and was not validated against an independent event registry, the results concern predictive signals of activity anomalies rather than confirmed port disruptions. The framework provides a transparent research benchmark but is not yet ready for autonomous implementation.

Applied SciencesVol. 16(18)
Warsaw University of Life Sciences (PL), University of Agriculture in Krakow (PL), University of Warmia and Mazury in Olsztyn (PL)
Partnerships for the goals
Openalex Percentile: Top 11%
Maritime Ports and Logistics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.