Abstract
Accurate prediction of container throughput is essential for optimizing maritime transport operations, port infrastructure planning, and supply chain resilience. Recent geopolitical disruptions, environmental regulations, trade imbalances, and rising fuel costs have made container flows increasingly nonlinear and volatile. This study compares nine machine learning (ML) and deep learning (DL) models (RF, MLR, SVR, XGBoost, ANN, RNN, LSTM, CNN-LSTM and SVR-ANN) for estimating monthly container throughput in Türkiye under two feature scenarios, using 72 monthly observations from 2019 to 2024 (53 for training, 13 for testing and 6 unseen) and forward-chaining validation. Because the historical evaluation uses predictor values observed in the same month as the target, the test and unseen results measure ex-post conditional prediction (conditional estimation) accuracy rather than multi-month-ahead forecasting accuracy; they are therefore not interpreted as ex-ante forecasts based only on information available at a forecast origin. On the test set, no model dominates all criteria: LSTM attains the lowest RMSE (26,230 TEU) and the highest R2 (0.905), and XGBoost attains the lowest MAE (20,898 TEU) and the lowest MAPE (2.00%). With the reduced feature set, XGBoost leads on all measures, although its MAE and MAPE rise slightly. The leading models clearly outperform seasonal naïve, ARIMA, SARIMA, ARIMAX and SARIMAX benchmarks on the test set. On six unseen months, LSTM remains the most accurate, while XGBoost is close to SARIMA and ANN trails several benchmarks. Forecasts for 2025 are produced by feeding Holt–Winters projections of the predictor variables into the selected models, so these forecasts are conditional on the projected inputs, were not evaluated against observed data, and should be read as illustrative scenarios rather than point forecasts. The findings show how ML-based estimation can support port authorities and logistics stakeholders, while the short series and the uncertainty of future predictor values limit the generalizability of the results. Future studies may add external factors such as port congestion and global trade indicators.
Keywords:
container throughput prediction; deep learning; machine learning; maritime logistics; time series data MSC:
90B06; 68T05; 68T07; 62M10; 62M20
1. Introduction
Container throughput is central to global trade performance, as it directly shapes supply chain efficiency, port competitiveness, and broader economic growth. However, recent geopolitical and environmental disruptions have significantly affected container shipping costs and logistics.
Despite its importance for global trade, maritime network analysis has long received less attention in transport studies than air and land transport networks [1]. This gap motivates the use of advanced modelling techniques, such as machine learning, to uncover hidden patterns in container throughput dynamics. According to the Review of Maritime Transport 2024 of UN Trade and Development (UNCTAD), the China Containerized Freight Index rose from 2130 points in January 2024 to 2644 points in May 2024, a cumulative increase of 24%, driven by factors such as the European Union Emissions Trading System, Panama Canal tolls, and Red Sea disruptions. In addition, port congestion left 2.5 million Twenty-Foot Equivalent Units (TEU) of ship capacity, equal to 8.4% of the global container fleet, tied up at anchor. These disruptions have raised freight rates, and more accurate prediction of container throughput is therefore needed to mitigate risks and improve logistics planning [2].
Classical statistical models often struggle to capture the nonlinear and dynamic variation in container throughput that results from economic, environmental, and geopolitical factors, and univariate models cannot easily incorporate exogenous trade, cost, and policy variables. ML-based models can accommodate such complexity, but their added value relative to standard time-series benchmarks must be demonstrated rather than assumed, particularly for short monthly series. This study, therefore, compares ML and DL models with conventional benchmarks on the same test period.
Responding to recent calls for more empirical, data-driven maritime research [1], this study develops and evaluates ML and DL models for estimating monthly container throughput in Türkiye, using monthly maritime and macroeconomic data to support national logistics planning. Within the literature section, no prior study has applied machine and deep learning to Türkiye’s national container throughput while jointly controlling for the currency, inflation, and fuel-price dynamics that dominated the 2021–2024 period, and no prior study has evaluated such models against conventional benchmarks across both a held-out test set and a separately reserved six-month unseen window. The primary objectives are (i) to assess the influence of key economic and trade factors on container throughput; (ii) to compare the predictive performance of nine models, namely Random Forest (RF), Multiple Linear Regression (MLR), Support Vector Regression (SVR), XGBoost, Artificial Neural Networks (ANN), Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), and the hybrid Convolutional Neural Network-LSTM (CNN-LSTM) and SVR-ANN models, under two feature scenarios; (iii) to test whether these models improve on seasonal naïve, ARIMA and SARIMA benchmarks and on ARIMAX and SARIMAX benchmarks that use the same predictors.
The study uses monthly container throughput data from the General Directorate for Maritime Affairs and economic indicators from the Turkish Statistical Institute, covering January 2019 to December 2024 (72 monthly observations: 53 for training, 13 for testing, and 6 for an unseen set). The dataset includes macroeconomic and operational variables that influence container transportation. Given Türkiye’s “Maritime Nation” vision, which emphasizes the development of maritime trade, the study examines how economic and operational factors relate to container throughput and which variables contribute most to fluctuations in throughput. It also evaluates how different feature selections influence model performance.
The study aims to improve container throughput estimation for Türkiye by applying and carefully validating ML techniques. Its results may help ports, logistics firms, and freight forwarders plan operations and allocate resources, and may inform policymakers in maritime strategy and infrastructure planning.
The contribution of this study is empirical and methodological rather than algorithmic. The nine models evaluated here are established methods, and the novelty does not lie in the algorithms themselves. It lies in three elements: (i) a systematic evaluation of these models for Türkiye’s national container throughput, a setting absent from the eighteen prior studies; (ii) a quantitative, reproducible feature-selection rule based on grey relational analysis and Pearson correlation (Section 3.3), with two feature scenarios that isolate the effect of redundancy; and (iii) a time-ordered evaluation protocol—forward-chaining validation, a 13-month test set, and a separately reserved 6-month unseen window—that shows not only which models are most accurate, but also whether the ranking is stable under feature removal and across two disjoint evaluation windows. Because the historical evaluation uses predictor values observed in the same month as the target, it measures conditional estimation accuracy; the 2025 forecasts instead use projected predictor values (Section 4.5).
2. Literature Review
ML methods are widely used in the supply chain and logistics fields for various purposes. One crucial application is predicting maritime demand, which plays a key role in logistics optimization, fleet management, and port operations.
ML models are widely used in the maritime sector. Shin and Yang [3] developed and evaluated ML models to predict maritime accidents using environmental and Vessel Traffic Service (VTS) features. Su et al. [4] compared ML models for forecasting ship fuel consumption costs, and Shin et al. [5] used deep learning and other ML methods to predict truck turnaround times at container terminals.
Forecasting container throughput, cargo volume, and shipping demand from historical data and advanced analytical techniques can improve decision-making and supply chain efficiency. Because global trade is complex and dynamic, forecasting models often combine ML, statistical methods, expert forecasting, and economic indicators to achieve higher accuracy.
Several studies illustrate the effectiveness of ML in maritime demand forecasting. Cuong et al. [6] proposed a forecasting method that combines the wavelet transform and deep learning to predict cargo throughput at the Port of Busan. Jin et al. [7] forecast gate-in and gate-out container quantities in a case study of the Ningbo Zhoushan Port Beilun Second Container Terminal. Nieto et al. [8] compared three time-series models (autoregressive integrated moving average (ARIMA) combined with generalized autoregressive conditional heteroskedasticity (GARCH) and bootstrap, a multiplicative Holt–Winters (HW) model, and a time-series model with explanatory variables (ARIMAX)) and one ML model (SVR) to forecast cargo volumes at the port of San Pedro. Ubaid et al. [9] evaluated seasonal ARIMA (SARIMA), the Holt–Winters seasonal method, and Facebook Prophet for short- and long-term import demand forecasting in the Australian shipping sector.
Despite these advances, maritime demand forecasting remains challenging because container throughput series are multifaceted and dynamic, often containing both linear and nonlinear components. Recent studies have therefore introduced nonlinear forecasting methods, including ML and deep learning approaches, to improve accuracy and adaptability. Table 1 summarizes recent studies on container throughput forecasting. Notably, in several of these studies, conventional models such as ARIMA and SARIMAX performed best, which shows that conventional benchmarks should be included in any comparison of complex models.
Previous studies have used different input features. Liu et al. [10] used economic variables such as GDP (Gross Domestic Product), GDP per capita, total imports and exports, total resident population, and employment. In Ubaid et al. [9], the dataset contains imports and exports, the numbers of inbound, outbound, and empty containers, and the starting date. Zeng and Xu [11] used port variables, such as container throughput at different ports and foreign trade cargo throughput, together with total GDP, per capita GDP, the consumer price index, total investment in fixed assets, and other economic factors.
Table 1.
Literature of container throughput forecasting.
Container throughput forecasting models often disregard economic factors such as fuel prices and currency exchange rates. This study builds a prediction framework that integrates several economic and maritime trade features for Türkiye’s maritime sector. In addition, few studies explore alternative scenarios to identify the most influential features. Here, a range of models, including hybrid deep learning models, is compared under two scenarios defined by different feature sets, and against conventional time-series benchmarks.
Table 1 shows that the existing container throughput forecasting literature is concentrated on Asian ports (China, Singapore, Taiwan, Vietnam and India), a small number of European ports (Antwerp), and a handful of national studies in Australia and Cameroon. Türkiye does not appear in any of the eighteen studies reviewed, even though it ranks 18th worldwide in container handling and is the largest container market in the Eastern Mediterranean [27]. This indicates a geographical gap within the reviewed set of studies; it does not by itself establish that no related Turkish study exists. The contribution of this study is therefore context-specific comparative evidence rather than novelty arising solely from the choice of country.
Table 2 summarizes the rationale for the nine ML/DL models compared in this study, together with the container throughput studies that justify each model’s inclusion. Three models serve as baselines for interpretation (MLR, ANN, RNN); four performed best in at least one study in Table 1 (RF, SVR, LSTM, CNN-LSTM) and one is a gradient-boosting method included in recent container throughput benchmarks (XGBoost); one is a sequential hybrid whose prior analogues are identified (SVR-ANN); the univariate benchmarks (seasonal naïve, ARIMA, SARIMA) are retrained because several studies in Table 1 found conventional models to be the best-performing ones; and ARIMAX and SARIMAX are added so that the effect of the algorithm can be separated from that of the predictors. Together, Table 1 and Table 2 make the comparison set traceable: no model was included without a justification grounded in prior work. Section 3.6 describes each model in detail.
Table 2.
Rationale for the nine ML/DL models and the benchmark models, and their evidence base in container throughput forecasting.
3. Research Design/Methodology
The research design employs a systematic methodology to develop, train, and evaluate predictive models. It details the data sourcing, preprocessing techniques, train–test splitting, and evaluation metrics to ensure accurate and reliable predictions. Structuring the study in this way makes the analysis transparent and reproducible. Figure 1 shows a flowchart outlining this study’s methodology.
Figure 1.
Methodology flowchart.
3.1. Data Sourcing
This section describes the data collection strategy. Because no existing dataset captures Türkiye’s container throughput demand together with its main influencing factors, we assembled one from variables commonly used in the literature.
The analysis is based on monthly container throughput records, expressed in TEUs, retrieved from the website of Türkiye’s General Directorate for Maritime Affairs. Figure 2 shows the fluctuation in demand. Container throughput (CT) is the response variable. Total Imports (TI) and Total Exports (TE) are maritime trade features. The economic features are Monthly Current-Price Gross Domestic Product (MCP-GDP), expressed in thousands of Turkish liras and sourced from the Turkish Statistical Institute; Monthly Vessel Fuel Prices (MVFP); the Turkish lira-to-US dollar rate (TRY_USD); and the Turkish lira-to-euro rate (TRY_EUR). All variables cover January 2019 to December 2024 at a monthly frequency, giving 72 observations per variable.
Figure 2.
Total container handling (TEU) in Türkiye.
The Turkish Chamber of Shipping reports that Türkiye’s seaborne container volume rose from 8.3 million TEU in 2014 to 12.5 million TEU in 2023. Over the same period, import containers grew from 3.4 million to 4.9 million TEU, while export containers grew from 3.5 million to 4.8 million TEU, underscoring the sustained expansion of the country’s maritime trade. In 2023, Türkiye ranked 18th worldwide in container handling, with an annual increase of 2.1% in TEU [27].
Table 3 presents the descriptive statistics of the variables used in the analysis. All variables have 66 monthly observations, covering the development sample from January 2019 to June 2024 (the training and test sets; see Section 3.4); the six unseen months (July–December 2024) are excluded by design, and their actual CT values are reported separately in Section 4.3. The response variable, CT, averages 1,022,943 TEU with a standard deviation of 80,421 TEU, which indicates moderate fluctuations in demand. Observed values range from 839,568 to 1,170,670 TEU, a difference of more than 330,000 TEU, which highlights the variability in shipping activity. Across all 72 observations, including the six unseen months, CT has a mean of about 1,031,400 TEU and a standard deviation of about 82,600 TEU, and ranges from 839,568 TEU (May 2020) to 1,179,563 TEU (August 2024).
Table 3.
Statistical description of the dataset features.
The exchange rates are volatile: TRY_USD ranges from 0.0305 to 0.1936 and TRY_EUR from 0.0284 to 0.1691 (units of foreign currency per Turkish lira). Such fluctuations can influence trade costs and shipping demand. MCP-GDP has a mean of 1.15 × 109 and a maximum above 3.3 × 109 thousand liras; because this series is measured in current prices, its growth also reflects inflation.
MVFP increases from 3.23 to 32.04 over the period, which indicates substantial changes in fuel prices that may affect shipping costs.
Aggregate import demand is the sum of the container volumes (empty and full) carried under the Turkish flag and under foreign flags, as expressed in Equation (1):
Total export demand is obtained in the same way, as expressed in Equation (2):
The target variable in this study is total container throughput. The split by flag is not modelled separately, because the flag is an administrative attribute of the carrying vessel rather than an economic attribute of the cargo: the physical volume handled at ports is determined by trade flows, freight rates and port capacity, and does not depend on the flag under which a vessel is registered. For the planning applications considered here, such as berth and yard capacity, crane allocation and hinterland logistics, the relevant quantity is total throughput.
3.2. Data Preprocessing
The variables were recorded at different frequencies (daily, monthly, and quarterly). Because the response variable, CT, is recorded monthly, all variables were converted to a monthly basis. For example, daily fuel prices were converted to monthly values by averaging over each month. Quarterly GDP at current prices was converted to monthly values by interpolation. No values were missing. Monthly aggregation is also why the framework is described as a monthly planning tool rather than a real-time system.
3.3. Correlation Test and Feature Selection
Two complementary measures were used. Pearson correlation captures the strength and direction of a linear relationship; grey correlation analysis (GCA) captures the strength of an association in small samples and with an unspecified functional form, which is the more appropriate assumption for exchange-rate effects on container volumes. Both were computed only on the training set (January 2019–May 2023; n = 53), so that feature selection uses the same chronological partition as hyperparameter tuning and does not leak future information into Scenario 2.
Normalization. GCA requires all series to be on the same scale, because the absolute differences Δi(k) would otherwise be dominated by the series with the largest numerical magnitude. This is essential here because the predictors span five to six orders of magnitude (TRY_USD ≈ 0.03–0.19; MCP-GDP ≈ 108–109; volumes ≈ 105). With CT as the reference x0 and a predictor as the comparison xi, the grey relational coefficient is ξi(k) = (Δ_min + ρΔ_max)/(Δi(k) + ρΔ_max) with ρ = 0.5, and the grade is the mean ψi = (1/n)Σk ξi(k). Grades ≥ 0.80 are strong, 0.60–0.80 moderate, and <0.60 weak.
Table 4 reports, for each predictor, the GCA grade, the Pearson r with CT, its p-value, and the maximum |r| with any other predictor; Figure 3a plots the grades as a bar chart with the 0.60 and 0.80 thresholds, and Figure 3b plots the Pearson matrix as a heatmap. TI and TE show the strongest associations with CT (TI: GCA 0.835, r = +0.854, p < 0.001; TE: GCA 0.786, r = +0.756, p < 0.001). TRY_USD, TRY_EUR, and MCP-GDP are strongly correlated with each other (pairwise |r| of 0.995, 0.86, and 0.85) but weakly correlated with CT (GCA 0.563–0.599; |r| = 0.30–0.41). MVFP is intermediate (GCA 0.604, r = +0.310, p = 0.024).
Table 4.
Grey relational grades and Pearson correlations of the predictors (training set, January 2019–May 2023, n = 53).
Figure 3.
(a) Grey correlation analysis (GCA), (b) Pearson Correlation.
A predictor was removed in Scenario 2 if both thresholds were met: (i) maximum |r| with any other predictor > 0.90 (severe multicollinearity), and (ii) GCA grade below the median of the six predictors (0.6015). Three variables satisfy both—TRY_USD (|r| = 0.995 with TRY_EUR; GCA 0.566), TRY_EUR (|r| = 0.995 with TRY_USD; GCA 0.563) and MCP-GDP (|r| = 0.942 with MVFP; GCA 0.599)—and were removed. The three retained predictors either have pairwise |r| below 0.90 (TI, TE) or a GCA grade above the median that outweighs their redundancy with another predictor (MVFP: 0.604 > 0.6015). The rule is quantitative, reproducible, and visible in Table 4. It is an operational feature-reduction rule, not a proof that the removed variables carry no predictive information; Section 4.2 shows that their removal does not improve all models or all error measures.
3.4. Data Partitioning
The output (target) variable is the monthly container throughput (CT), in TEU. The inputs are the predictors of the selected scenario: six predictors in Scenario 1 (TRY_USD, TRY_EUR, MCP-GDP, TI, TE, and MVFP) and three in Scenario 2 (TI, TE, and MVFP). Past values of CT are not used as inputs. Each month is one observation (one row of the dataset), so the dataset has 72 rows in total.
The dataset contains 72 monthly observations (January 2019 to December 2024), as reported in Table 3. The 72 observations are partitioned into three non-overlapping, consecutive blocks: 53 for training, 13 for testing, and 6 as an unseen set, which represent 73.6%, 18.1%, and 8.3% of the full series, respectively. The data were split chronologically, without shuffling, in two stages. First, the last six months (July to December 2024) were set aside as an unseen dataset and were not used for training, tuning, or model selection. Second, the remaining 66 observations (January 2019 to June 2024) were divided in an 80–20% ratio (53/66 = 80.3% and 13/66 = 19.7% of the development sample) into a training set of 53 observations (January 2019 to May 2023) and a test set of 13 observations (June 2023 to June 2024). The training set was used to estimate model parameters and tune hyperparameters; the test set was used for the out-of-sample comparison in Section 4.2, and the unseen set was used for the final check in Section 4.3 and Section 4.4.
The 13 test observations are therefore an evaluation set, not the data used to train a model, and the models are not applied over a rolling planning horizon.
In the test-set and unseen-window evaluations, each container-throughput value is predicted using predictor values observed in the same month. These evaluations therefore measure ex-post conditional prediction (conditional estimation) accuracy. They are not ex-ante forecasts because the predictor values would not have been available at a forecast origin prior to the target month. The term “nowcasting” is deliberately not used for these evaluations, because it has not been established that the same-month predictor values (in particular TI and TE) were actually available before the corresponding container-throughput value became available; the historical results are therefore described as ex-post conditional predictions (conditional estimation), not as forecasts or nowcasts. The six-month unseen window is “unseen” only in the sense that it was withheld from model fitting and model selection; its predictor values are observed contemporaneously. The 2025 exercise in Section 4.5 is a prospective forecasting exercise: predictor values are first projected, then supplied to the models, and the resulting values are conditional forecasts based on the projected inputs.
Each model is estimated once on the 53 training observations, and its hyperparameters are selected by forward-chaining validation inside the training set (Section 3.5). The fixed model is then used to generate ex-post conditional predictions for the 13 test months without re-estimation. For the unseen evaluation, each model is refitted once on the 66 development observations (the training and test sets) using the hyperparameters selected on the training set and then used to generate ex-post conditional predictions for the six unseen months, again without re-estimation.
Features were normalized to facilitate model learning. Models that are smooth functions of the inputs, such as linear regression and neural networks, are sensitive to the scale of the inputs, whereas tree-based models are not; this sensitivity is also called feature scaling or feature normalization [28]. The same normalized inputs were used for all models. Normalization parameters were estimated on the training set only (within each training window during validation) and then applied unchanged to the test and unseen sets, so that no information from later periods entered the training process.
3.5. Hyperparameter Tuning and Validation Design
Common approaches to hyperparameter tuning include grid search, random search, and Bayesian optimization, each with distinct strengths and limitations. Grid search is a reliable way to fine-tune hyperparameters, but it becomes impractical for large search spaces because it exhaustively evaluates all combinations [29]. Given the small sample and the modest size of the search spaces, grid search was applied to all models.
Because the observations are monthly and temporally ordered, standard random k-fold cross-validation was not used: it would allow models to be trained on later observations and evaluated on earlier ones, which leaks future information.
Instead, hyperparameters were selected using an expanding-window (forward-chaining) scheme, with five splits applied to the training set. The first split trains on the earliest 13 months and validates on the next 8 months; each following split adds the previous validation block to the training window and validates on the next 8 months, so the last split trains on 45 months. The validation block therefore always follows the training window in time, and no future observation was used to train a model that was evaluated on an earlier period. Although this scheme uses five splits, it differs from standard five-fold cross-validation: the splits are not random, the validation block is never placed before the training window, and the training window grows with every split. The configuration with the lowest mean validation RMSE was selected, refitted on the full training set, and then evaluated once on the test set and on the unseen set. These models have many parameters relative to the 53 training observations, so overfitting was limited by dropout, a small number of training epochs, and validation on later periods. The best-performing model hyperparameters are shown in Section 4.1.
The five splits (month 1 = January 2019) of forward-chaining validation are as follows. Split 1: training on months 1–13 (January 2019–January 2020) and validation on months 14–21 (February–September 2020). Split 2: training on months 1–21 and validation on months 22–29 (October 2020–May 2021). Split 3: training on months 1–29 and validation on months 30–37 (June 2021–January 2022). Split 4: training on months 1–37 and validation on months 38–45 (February–September 2022). Split 5: training on months 1–45 and validation on months 46–53 (October 2022–May 2023). The same five splits were used for all nine models and for both feature scenarios; the validation RMSE was averaged over the five splits, and the scaling parameters were estimated only on the training window of each split. The test set (months 54–66) and the unseen set (months 67–72) were not used at any stage of this procedure.
3.6. Prediction Models
Nine ML and DL models were implemented: RF, MLR, SVR, XGBoost, ANN, RNN, LSTM, and the hybrid models CNN-LSTM and SVR-ANN. All models were developed in the Jupyter Notebook environment (version 7.3.2) and managed via Anaconda Navigator (version 2.6.6).
3.6.1. Random Forests
RF is an ensemble of decision trees grown on bootstrap samples, in which a random subset of features is considered at each split. Predictions are averaged over the trees, so the error stabilizes as trees are added and the method is relatively robust to noise [30].
3.6.2. Multiple Linear Regression
MLR models the response as a linear combination of several predictors and is estimated by least squares. It serves as the linear reference model in this study. For the MLR model, see Equation (3),
for i = 1, . . ., N. Here, is the response variable, is a p × 1 vector of nontrivial predictors, is an unknown constant, is a p × 1 vector of unknown coefficients, and is a random variable called the error [31].
3.6.3. Support Vector Regression Model
SVR focuses on minimizing generalization errors rather than just training errors to enhance overall performance. It operates by computing a linear regression function in a high-dimensional feature space, where input data is mapped through a nonlinear function [32]. The optimization Equations (4)–(7) indicate that as the magnitude of the vector w increases, more become nonzero, leading to more complex solutions. C is a tunable regularization parameter that sets the relative weight of flatness and error minimization in this multi-objective optimization problem. For example, a larger C places greater weight on minimizing the error. Adopting a soft-margin approach, as in SVR, slack variables and can be added to guard against outliers. The value of ε determines the width of the tube; a smaller value indicates a lower tolerance for error and affects the number of support vectors and, consequently, the solution sparsity [33].
Subject to
where
: the weight vector.
: the regularization parameter that controls the trade-off between minimizing the error and the model complexity.
: slack variables that handle data points outside the -insensitive tube.
: determines the tube width, affecting solution sparsity.
the input data points.
: the target values.
: the total number of training samples.
In Equations (4)–(7), the inner product wᵀxi should be read as wᵀφ(xi), where φ(·) is the kernel-induced mapping and the intercept is absorbed into w by augmenting the feature vector with a constant; the slack variables ξi and ξi* denote the positive and negative ε-insensitive deviations (points above and below the ε-tube), as implemented in the Scikit-learn SVR routine.
SVR has been widely applied to time series prediction, financial prediction, and engineering approximation problems [32]. In this study, the kernel type, the regularization parameter C, and the tube width ε were tuned by grid search.
3.6.4. Extreme Gradient Boosting Model
XGBoost is a widely used and versatile ML algorithm, known for its ability to model complex systems with high prediction accuracy and interpretability. It is an optimized, scalable library for efficiency, flexibility, and portability. By leveraging enhanced scaling techniques, XGBoost integrates ML algorithms effectively. As a parallel tree-boosting method, it rapidly and accurately solves a range of data science problems [34].
3.6.5. Artificial Neural Networks Model
ANNs are nonlinear computational models designed to replicate how the human brain processes information, using basic elements called artificial neurons arranged in layers. These networks come in different forms, including recurrent and convolutional types. Each artificial neuron may be regarded as a mathematical function, see Equation (8), that results in an output, by chaining both the transfer function (linear) and the activation function (nonlinear) on the inputs , for i = 1, …, n. See Figure 4 for the single artificial neuron functioning [35], where b is called bias (bias b is an attempt to imitate the human filter that helps to fit the given data to the real needs). Weights denoted by , i = 1, …, n, producing a z, which finally results in the final output y through some function , .
Figure 4.
Single artificial neuron functioning [35].
3.6.6. Recurrent Neural Networks Model
RNNs are designed to learn sequential or time-varying patterns and differ from feedforward networks in having at least one feedback loop [36]. These recurrent connections between successive hidden states give the network nonlinear dynamic behaviour when nonlinear units are present [37]. Figure 5 shows the basic RNN architecture unrolled over time: at each step t, the hidden state ht is computed from the current input xt and the previous hidden state ht−1, and the output yt is produced from ht [38]. The network contains one recurrent layer with 64 units, a dropout rate of 0.1, and a learning rate of 0.01. Implementation details: each monthly observation is presented to the network as a sequence of length one, so the input tensor has the shape (samples, 1, number of predictors), i.e., (53, 1, 6) in Scenario 1 and (53, 1, 3) in Scenario 2 for the training set. No look-back window over earlier months is used; the hidden state is reset for each sample, and the output is the throughput for that month. With a sequence length of 1, the recurrent connections do not carry information across months, so the network acts as a nonlinear mapping of same-month predictors rather than a model of temporal dependence.
Figure 5.
Basic RNN architecture [38].
3.6.7. Long Short-Term Memory Model
LSTM networks extend RNNs with memory blocks that contain self-connected memory cells and three multiplicative gates (input, output, and forget) controlling the writing, reading, and resetting of the cell state. These gates allow the network to retain and retrieve information over long periods and mitigate the vanishing gradient problem [39]. The network stacks two LSTM layers of 64 units each, with a dropout of 0.1, a learning rate of 0.05, and an unrolled sequence length of one-time step.
3.6.8. Convolutional Neural Networks and Long Short-Term Memory Model
The CNN-LSTM model combines a convolutional front end, which extracts local patterns from the input sequence, with an LSTM layer, which captures temporal dependencies [40].
The CNN-LSTM model was implemented using the Keras Sequential API, with a Conv1D layer for feature extraction, a MaxPooling1D layer to reduce dimensionality, and an LSTM layer to capture temporal dependencies. The model produces the final output using fully connected Dense layers. Figure 6 shows the flowchart of this applied hybrid model. The convolutional front end uses a Conv1D layer (32 filters, kernel size 1) followed by MaxPooling1D (pool size 1); its output is passed to an LSTM layer of 64 units with a dropout of 0.1 and, through a fully connected Dense layer of 1 unit, produces the final prediction, with a learning rate of 0.01. Implementation details: the input tensor is (samples, 1, number of predictors), as for the RNN and LSTM. With a sequence length of one, a kernel size of 1, and a pool size of 1, the convolutional stage acts as a learned transformation of the predictors within each month rather than as an extractor of temporal patterns.
Figure 6.
CNN-LSTM hybrid model flowchart.
3.6.9. Support Vector Regression and Artificial Neural Network Model
The SVR-ANN hybrid combines SVR and ANN in two consecutive stages. In the first stage, an SVR model is trained on the scaled economic and trade-related indicators, and a grid search tunes the regularization parameter (C), the kernel type (linear, RBF, sigmoid, or polynomial), and the tube width (ε). In the second stage, the SVR predictions are added as an additional feature to the original scaled inputs, and the augmented vector is fed into an ANN with dense ReLU layers, trained with the Adam optimizer and mean squared error loss for 100 epochs. Figure 7 shows the flowchart of this hybrid model.
Figure 7.
SVR-ANN hybrid model flowchart.
The SVR predictions used as the ANN feature are out-of-fold, not in-sample. During training, the SVR is refitted once per split of the forward-chaining scheme in Section 3.5, and its predictions on the held-out validation block of each split are stacked to form the feature for those observations, so the ANN never sees an SVR prediction produced by a model that has already used the corresponding target. For the test set, the SVR is refitted on the full 53-month training set, and its predictions for the 13 test months form the feature for those months; for the unseen set, the SVR is refitted on the 66 development months, and its predictions for the 6 unseen months form the feature for those months. The ANN is trained once on the out-of-fold features and evaluated once on the test and unseen features.
3.7. Performance Evaluation Metrics
Table 5 presents the performance evaluation metrics employed and their expressions. Mean Absolute Error (MAE) is the average absolute difference between the observed and predicted values; Root Mean Squared Error (RMSE) is the square root of the average squared error; Mean Absolute Percentage Error (MAPE) measures the extent of error in percentage; and the coefficient of determination, R2 = 1 − SSE/SST, measures the share of the variance of the observed values explained by the predictions [41]. The coefficient of determination, R2, coincides with the squared Pearson correlation only in the in-sample ordinary least squares case and can be negative for out-of-sample prediction.
Table 5.
Performance assessment measures.
4. Experimental Results and Discussion
In this section, we evaluate the prediction models, including the hybrid models. Our analysis covers nine ML and DL models: RF, XGBoost, SVR, MLR, RNN, LSTM, ANN, CNN-LSTM, and SVR-ANN, applied to two distinct scenarios. In Scenario 1, all available features are used without reduction, while in Scenario 2, redundant features, namely TRY_USD, TRY_EUR, and MCP-GDP, are removed to assess the impact of feature selection on model performance.
4.1. Hyperparameters and Training Behaviour
Hyperparameters were tuned by grid search with forward-chaining validation (Section 3.5) to identify the best-performing configurations. Table 6 lists the selected values for XGBoost, LSTM, and ANN. For example, XGBoost performed best with colsample_bytree = 0.8, a learning rate of 0.09, max_depth = 6, 150 estimators, subsample = 0.8, and L1 and L2 regularization values of 1, which balance feature sampling and overfitting control. The LSTM model used two layers with 64 neurons, a learning rate of 0.05, a dropout rate of 0.1, a batch size of 32, and 50 epochs. The ANN used three layers with 64 neurons, a learning rate of 0.07, a dropout rate of 0.3, a batch size of 32, and 50 epochs.
Table 6.
Best-performing models’ hyperparameters.
Figure 8 reports the training-set performance of the nine models under both scenarios. These values describe how closely each model fits the 53 training months and are not indicators of out-of-sample accuracy. XGBoost fits the training data most closely (R2 close to 1 in both scenarios; in Scenario 2, MAE ≈ 3500 TEU and MAPE ≈ 0.4%), followed in Scenario 1 by RF and ANN (MAE ≈ 9500 TEU, MAPE ≈ 0.9%) and then by RNN, LSTM and CNN-LSTM (MAE ≈ 17,000–18,000 TEU). SVR, MLR and SVR-ANN have the highest training errors (MAE ≈ 24,000–28,000 TEU, MAPE ≈ 2.3–2.7%). Removing the three redundant predictors in Scenario 2 increases the training errors of all models except RNN, which changes only slightly. The training ranking differs markedly from the test ranking in Section 4.2: RF and CNN-LSTM fit the training months well but are the least accurate models on the test months, whereas SVR and MLR, which have relatively high training errors, are among the more accurate models on the test months. This contrast indicates that the close training fit of the more flexible models partly reflects overfitting to the short training series.
Figure 8.
Training-set performance of the nine models under Scenarios 1 and 2.
The learning curves in Figure 9 describe behaviour inside the training set and cannot be equated with out-of-sample accuracy. Panels (b) LSTM, (c) ANN, (e) RNN and (i) SVR-ANN plot training and validation loss against epochs; panels (d) SVR and (h) CNN-LSTM plot training and validation MSE against the training fraction; and panels (a) RF, (f) XGBoost and (g) MLR plot training and validation MSE against the number of training samples. The validation errors are computed over an 8-month block within the 53-month training set, which is too short to fully capture overfitting. For LSTM, ANN, and RNN, the two curves converge with a small gap, whereas for RF and CNN-LSTM, the validation error remains well above the training error. The CNN-LSTM curve is also unstable, with a validation MSE between about 0.4 and 0.85 against a training MSE of about 0.05. This is consistent with the weak test performance of CNN-LSTM (MAPE 4.65% and 5.65% in Table 7 and Table 8). Similarly, the R2 of XGBoost falls from nearly 1 on the training set (Figure 8) to 0.90 on the test set (Table 7), which shows that part of its close training fit does not carry over to new months.
Figure 9.
Learning curves of the nine prediction models: training and validation loss against epochs in panels (b) LSTM, (c) ANN, (e) RNN, and (i) SVR-ANN; training and validation MSE against the training fraction in panels (d) SVR and (h) CNN-LSTM; and against the number of training samples in panels (a) RF, (f) XGBoost, and (g) MLR.
4.2. Test-Set Performance
Table 7 and Table 8 report the out-of-sample results of the nine models on the 13 test months (June 2023 to June 2024) for Scenario 1 (six predictors) and Scenario 2 (three predictors). Each model was fitted once on the 53 training months and then used, without re-estimation, to generate ex-post conditional predictions for the test months (Section 3.4). MAE and RMSE are in TEU, MAPE is a percentage, and R2 is the proportion of the variance in observed throughput explained by the conditional predictions. A model is considered better when its MAE, RMSE, and MAPE are lower, and its R2 is higher. The four measures do not always rank the models in the same order, because RMSE and R2 penalize large errors more than MAE and MAPE do.
Table 7.
Ex-post conditional prediction performance of the candidate models on the 13-month test set under Scenario 1 (six predictors; same-month observed predictors).
Table 8.
Ex-post conditional prediction performance of the candidate models on the 13-month test set under Scenario 2 (three predictors; same-month observed predictors).
Scenario 1 (Table 7): No single model is best on all four metrics, and the ranking therefore depends on the criterion. The four leading models are LSTM, XGBoost, ANN and RNN, and they are best described as a group rather than ranked: LSTM has the lowest RMSE (26,230 TEU) and the highest R2 (0.9046), indicating favourable performance in minimizing larger errors; XGBoost has the lowest MAE (20,898 TEU) and MAPE (2.00%), indicating the most accurate performance on average across all months; ANN is between the two in RMSE (26,780 TEU) and R2 (0.9005) with an MAPE of 2.10%, and RNN is close behind (RMSE 27,465 TEU, R2 0.8954, MAPE 2.23%). The gaps inside this group are small—1236 TEU in RMSE and 0.23 percentage points in MAPE—and with only 13 test months, one training run per model and no formal test of predictive-accuracy differences, these gaps cannot be regarded as stable, so we do not claim that any one of these four models is superior to the others; we can only say that they form the most accurate group.
The second group contains SVR, MLR and SVR-ANN, with MAPE between 2.27% and 2.46%, RMSE between 28,931 and 30,533 TEU, and R2 between 0.8707 and 0.8839. Notably, the linear MLR (MAPE 2.44%, R2 0.8838) is almost as accurate as SVR and only about 0.4 percentage points behind XGBoost in MAPE, showing that a large share of the variation in the test window is explained by a linear combination of the predictors and that the non-linear models add only a limited gain over a linear benchmark on this sample.
The remaining two models are clearly weaker: RF (MAPE 3.21%, R2 0.7686) and CNN-LSTM (MAE 46,674 TEU, RMSE 54,927 TEU, MAPE 4.65%, R2 0.5820) are both less accurate than the linear MLR. For RF, a plausible reason is that tree-based models cannot extrapolate beyond the range of the training targets; for CNN-LSTM, the parameter count is large relative to 53 training observations, and the unstable validation curves in Figure 9 point to overfitting, an interpretation that we did not test separately.
Scenario 2 (Table 8): With three predictors, XGBoost is the best model on all four measures (MAE 21,260 TEU, RMSE 27,267 TEU, R2 0.8969, MAPE 2.13%). The RNN (MAPE 2.40%, RMSE 29,446 TEU) and LSTM (MAPE 2.44%, RMSE 29,722 TEU, R2 0.8774) follow, and then SVR, ANN, MLR, and SVR-ANN, whose MAPE lies between 2.53% and 2.74%. RF (MAPE 3.13%, R2 0.7977) and CNN-LSTM (MAPE 5.65%, R2 0.483) are again the least accurate. In contrast to Scenario 1, the best model is therefore clearly separated from the others: its RMSE is about 2200 TEU lower than that of the next model, the RNN, and its MAPE is about 0.27 percentage points lower.
Feature reduction does not uniformly improve accuracy; it is best described as a trade-off between predictive performance and model simplicity, not a uniform gain in accuracy. For XGBoost, removing the three correlated predictors slightly improves RMSE (27,455 → 27,267 TEU) and R2 (0.8954 → 0.8969) but slightly worsens MAE (20,898 → 21,260 TEU) and MAPE (2.00% → 2.13%); the gain is therefore one of lower error variance and a simpler model, not of lower average error. RF improves on MAPE (3.21% → 3.13%) and R2 (0.7686 → 0.7977). All other models become less accurate: the MAPE of ANN rises from 2.10% to 2.58%, LSTM from 2.12% to 2.44%, and RNN from 2.23% to 2.40%; SVR, MLR, and SVR-ANN lose 0.20 to 0.28 percentage points, and CNN-LSTM loses 1.01 percentage points. The tree-based models are therefore the least sensitive to the removal of the correlated predictors, whereas the neural models benefit from the exchange-rate and GDP information that the reduction discards. The practical implication is that Scenario 2 offers a simpler, more interpretable model with essentially unchanged aggregate accuracy for XGBoost, but not a consistent accuracy improvement across all metrics or models.
An MAPE of about 2.0% to 2.5% corresponds to an average error of roughly 21,000 to 26,000 TEU per month for the leading models, for a monthly throughput of about one million TEU (Table 3). This level of error may be adequate for medium-term capacity planning, but it is not negligible compared with the month-to-month changes in the series. First, the results come from one test window of 13 months and from one fitted model per method, so the ranking of close models could change in another window; the unseen months (Section 4.3) and the benchmark and stability checks (Section 4.4) are used to test this.
Second, the import and export volumes (TI and TE) are measured in the same month as the throughput and are container volumes that make up most of it, so the results of Table 7 and Table 8 describe the ex-post conditional prediction accuracy of the models when the same-month predictors are available, and not the accuracy of ex-ante forecasts made at a forecast origin or several months ahead; this point is discussed together with the benchmarks that use the same predictors in Section 4.4. Third, the high R2 values are partly due to strong relationships with TI and TE and should not be taken as evidence that the models would forecast future throughput equally well.
4.3. Evaluation on Unseen Data
The unseen dataset (July to December 2024) provides a final check. Table 9 compares the Scenario 1 predictions of XGBoost, LSTM, and ANN with the observed values. LSTM gave the closest prediction in two months (July and November), XGBoost in two months (October and December), and ANN in two months (August and September). Within this window, LSTM gave the lowest aggregate error, with XGBoost a viable alternative. Because the unseen predictions also use the observed same-month predictor values, they measure conditional estimation accuracy, and the conclusion rests on only six months and should be treated with caution. Figure 10 visually summarizes the prediction performance.
Table 9.
Observed values and Scenario 1 predictions of the best-performing models on the unseen data (July–December 2024; conditional estimates based on observed same-month predictors).
Figure 10.
Comparison of model predictions with observed values for the unseen data (July–December 2024).
4.4. Comparison with Time-Series Benchmarks
The conventional benchmarks assess whether ML and DL models add value over established statistical time-series methods. Because the ML and DL models use exogenous predictors (TRY_USD, TRY_EUR, MCP-GDP, TI, TE, and MVFP in Scenario 1), comparing them with univariate models alone would confound the effect of the algorithm with that of additional information. The benchmark set therefore contains two groups: (i) univariate models, namely seasonal naïve, ARIMA, and SARIMA, and (ii) models that use the same Scenario 1 predictors as the ML and DL models, namely ARIMAX and SARIMAX (Table 10).
The seasonal naïve benchmark repeats the value observed twelve months earlier. For ARIMA and SARIMA, the Augmented Dickey–Fuller test indicated one regular difference (d = 1), and the seasonal strength from an STL decomposition was weak (0.21), so no seasonal difference was applied (D = 0). The remaining orders were chosen by the minimum Akaike information criterion on the training set only, giving ARIMA(1,1,1) and SARIMA(1,1,1)(1,0,1) [12]. ARIMAX and SARIMAX extend these models by including a regression of on the exogenous predictors, = β′ + , where is the vector of the six Scenario 1 predictors and the error follows the ARIMA or SARIMA process described above. The predictors were scaled, with parameters estimated only on the training data, as for the ML and DL models (Section 3.4).
Table 10.
Comparison of the ML and DL models with benchmark models on the test set (June 2023–June 2024) and the unseen set (July–December 2024).
All models were treated identically with respect to historical information. For the test window, each benchmark and each ML or DL model was fitted on the 53 training months (January 2019 to May 2023) and used to generate ex-post conditional predictions for the 13 test months (June 2023 to June 2024) without re-estimation. For the unseen window, every model was refitted once on the 66 development months (January 2019 to June 2024), keeping the structure and hyperparameters selected on the training set, and used to generate ex-post conditional predictions for the six unseen months (July to December 2024) without re-estimation. No observations from the test or unseen months were included in any model’s estimation or selection.
Across the 13 test months, all three ML and DL models are markedly more accurate than all benchmarks. The best conventional model, SARIMAX, has a test MAPE of 5.07% and an RMSE of 69,585 TEU, whereas the ML and DL models reach MAPE values of 2.00% to 2.12% and RMSE values of 26,230 to 27,455 TEU. The reductions relative to SARIMAX are about 62% in RMSE, 63% in MAE, and 58–61% in MAPE. This gap remains when the benchmark receives the same predictors, and adding the predictors to the statistical models brings little improvement: SARIMAX is only slightly better than SARIMA (RMSE lower by 3.9%, MAE by 0.9%), and ARIMAX is worse than ARIMA (RMSE of 93,740 versus 85,516 TEU). Therefore, the advantage of the ML and DL models on the test set cannot be explained by access to the predictors alone. It is consistent with their ability to represent a nonlinear relation between the predictors and CT, whereas ARIMAX and SARIMAX impose a linear one.
The picture on the six unseen months is less clear-cut. LSTM remains the most accurate model, with an MAE of 25,756 TEU, an RMSE of 28,483 TEU, and an MAPE of 2.29%, all lower than those of SARIMA, the best benchmark, by 13%, 17%, and 14%, respectively. XGBoost, however, is close to SARIMA (MAPE of 2.72% versus 2.67%, and MAE of 30,327 versus 29,701 TEU, although its RMSE is lower, 32,709 versus 34,479 TEU), and ANN is less accurate than ARIMA, SARIMA, and ARIMAX on all three measures (RMSE of 49,733 TEU versus 34,479 to 39,922 TEU). Among the benchmarks, the exogenous variants are not consistently better: SARIMAX is clearly worse than SARIMA (MAPE of 4.10% versus 2.67%), and ARIMAX is worse than ARIMA (MAPE of 3.33% versus 3.10%). The ranking of the ML and DL models therefore changes between the two windows (ANN is close to LSTM and XGBoost on the test set but not on the unseen months), which indicates that the ranking is sensitive to the evaluation period. The monthly errors in Table 9 also show that LSTM overestimated the observed throughput on average over the six months (mean error of about −14,800 TEU, where the error is observed minus the predicted value), so its lower unseen error does not rule out systematic bias. Computed from Table 9, the unseen R2 values are 0.30 for LSTM, 0.07 for XGBoost, and −1.15 for ANN. Because they are based on six observations and a narrow target range, they are provided only for completeness and should not be used to rank the models.
The six unseen months are too few to establish consistent superiority, and the ranking in this window should not be generalized. Month-wise errors vary substantially (0.6–3.5% for LSTM, 1.3–4.4% for XGBoost and 0.5–7.4% for ANN, with the largest ANN errors at the end of the period), so the aggregate MAPE conceals this variability. The unseen R2 values (0.30, 0.07 and −1.15) are reported for completeness only and, with six observations and a narrow target range, should not be used to rank the models. These results therefore support a cautious, indicative reading rather than a claim of consistent generalization.
4.5. Forecasts for 2025 and Input Uncertainty
Future values of the predictor variables (GDP, exchange rates, fuel prices, imports, and exports) are unknown at the forecasting date. The 2025 forecasts were therefore produced in two stages. In the first stage, a Holt–Winters exponential smoothing model [42] was fitted to each Scenario 1 predictor separately, using data from January 2019 to December 2024, and used to project the predictors for January to December 2025. In the second stage, these projected values were passed to the best-performing models (XGBoost, LSTM, and ANN), which were trained on the data from January 2019 to December 2024. The forecasts in Figure 11 are therefore conditional on the projected inputs, and errors in the first stage propagate to the second stage. Unlike the historical evaluation in Section 4.2, Section 4.3 and Section 4.4, which uses observed same-month predictor values, this two-stage procedure reflects the information constraints of genuine ex-ante forecasting.
Figure 11.
Conditional 2025 forecasts of the best-performing models, based on Holt–Winters projections of the predictors.
Figure 11 shows that the three models predict throughput well below the levels observed in 2024 for most of 2025. From January to September, LSTM predicts about 0.72–0.81 million TEU per month, ANN about 0.67–0.73 million TEU per month, and XGBoost about 0.88–1.06 million TEU per month, compared with 1.08–1.18 million TEU per month in July–December 2024 (Table 9). All three forecasts rise in the last quarter, reaching about 1.06–1.11 million TEU in December. The models also differ from one another by more than 300,000 TEU in some months. A fall of this size is not suggested by the 2019–2024 series, so these forecasts should be read as illustrative conditional scenarios rather than as point forecasts for planning.
Exchange rate fluctuations, especially between the Turkish lira (TRY) and the US dollar or euro, affect trade competitiveness. A weaker lira makes Turkish exports cheaper for foreign buyers, which can increase export volumes, but it raises import costs, which can reduce incoming shipments.
If the depreciation of the Turkish lira continues, the number of export containers may increase while imports decrease, creating an imbalance in container throughput.
Total exports and imports show seasonality and growth in trade volumes. Sustained increases indicate higher demand for container shipping and a need for more logistics capacity, whereas a downturn in trade activity, for example, caused by currency fluctuation or financial uncertainty, would reduce container throughput and call for flexible planning in maritime contexts.
In general, higher fuel costs increase shipping expenses, which may suppress trade or lead to changes in transport practices.
Monthly GDP is a macroeconomic variable that affects overall trade volumes: economic growth tends to raise the demand for container port throughput, whereas slower growth weakens consumer demand and trade flows. Because MCP-GDP is measured in current prices, it also reflects inflation.
The 2025 forecasts are conditional on the projected predictors. An error in any projected predictor is transmitted to the throughput forecast through the fitted input–output relationship of each model, which for the nonlinear models is not proportional, and because several predictors are strongly correlated with one another (Table 4 and Figure 3), their projection errors are not independent and need not cancel. The low predicted values for January–September 2025 may reflect the Holt–Winters trajectories of the inputs, but they may equally reflect model limitations, such as projected inputs moving outside the range observed in training, where tree-based models cannot extrapolate, and neural networks extrapolate unreliably. These sources cannot be separated without a sensitivity analysis of alternative input scenarios, which was not carried out (Section 4.6).
These considerations suggest that ML-based models can support capacity planning, provided that the uncertainty in the projected predictors is accounted for. Using data sources of higher frequency is a topic for future research.
4.6. Limitations
This study has several limitations. First, the sample contains only 72 monthly observations, and the test and unseen sets contain 13 and 6 observations, which restricts the reliability of complex deep learning models and of statistical comparisons. Second, the 2025 forecasts depend on projected predictor values, and errors in these projections propagate to the throughput forecasts. Third, the data are monthly, so the framework is a monthly planning tool and does not support real-time or intra-month forecasting. Fourth, the data are monthly, so the framework is a monthly planning tool and does not support real-time or intra-month forecasting. Fifth, sustainability and environmental outcomes were not evaluated. Sixth, the results refer to aggregate national throughput and may not transfer to individual ports. Finally, the sample includes the COVID-19 period and the depreciation of the Turkish lira after 2021, neither of which was modelled explicitly. In addition, each neural model was trained once with a fixed random seed, so the sensitivity of the deep models to weight initialization was not quantified; a repeated-seed analysis reporting the mean and standard deviation of the prediction errors would strengthen the stability assessment but was not carried out here. Because the unseen set contains only six-monthly observations, the corresponding comparison across models is indicative rather than conclusive, and the aggregate metrics conceal substantial month-to-month variability in the prediction errors.
5. Conclusions
The study’s contribution is the systematic empirical evaluation of established ML and DL models for container throughput prediction in Türkiye, with emphasis on the effects of feature selection, temporal validation, and comparison with conventional benchmarks. It is not a new algorithm; it is evidence on which established models are competitive for this specific forecasting problem, and under what conditions.
This study compared nine ML and DL models (RF, MLR, SVR, XGBoost, ANN, RNN, LSTM, CNN-LSTM and SVR-ANN) for monthly container throughput in Türkiye under two feature scenarios. On the 13-month test set of Scenario 1, no single model was best on all four metrics: LSTM attained the lowest RMSE and highest R2, XGBoost the lowest MAE and MAPE, and the two differed by about 0.12 percentage points in MAPE, so LSTM, XGBoost, ANN, and RNN are best described as a leading group. In Scenario 2 (TI, TE and MVFP), XGBoost led on all four measures, but its MAE and MAPE were slightly higher than in Scenario 1; feature reduction therefore offered a simpler model rather than a uniform accuracy gain, and most other models lost accuracy. The three leading models were clearly more accurate than the seasonal naïve, ARIMA, SARIMA, ARIMAX, and SARIMAX benchmarks on the test set, including the benchmarks that use the same predictors. On the six unseen months, LSTM remained the most accurate model, XGBoost was close to SARIMA, and ANN was less accurate than several benchmarks, so the ranking was sensitive to the evaluation window (Section 4.4). Because TI and TE are measured in the same month as CT, these results reflect conditional estimation accuracy rather than multi-month-ahead forecasting accuracy. The 2025 forecasts are conditional on projected predictor values and should be regarded as illustrative scenarios.
Unlike many previous studies, which focus on single-port case studies or specific economic indicators, this research integrates several economic and maritime trade features for Türkiye. In the literature reviewed in Table 1, no study addresses Türkiye’s national container throughput. The study also compares a diverse set of models, including hybrid deep learning approaches such as CNN-LSTM and SVR-ANN, under two feature scenarios, against conventional benchmarks and with time-ordered validation. The results may be useful for port and logistics companies and freight forwarders in capacity, fleet, and resource planning, and for policymakers in maritime, trade, and infrastructure planning, provided that forecast uncertainty is considered.
Shi et al. [43] revealed that the global hierarchy of maritime clusters remains stable mainly due to entrenched competitive advantages and policy-based game effects, suggesting that reliable container throughput forecasts can support emerging clusters seeking to improve their position.
In addition, policymakers and the government can use the results to inform maritime and trade policies, as well as infrastructure investment. This article also contributes to AI-based prediction methods in maritime logistics by showing under which conditions ML models improved on classical techniques in this setting. Finally, the outcomes may support a competitive, data-based maritime industry in Türkiye.
Overall, the results indicate that model choice should be matched to the characteristics of the data and that complex models should be justified against simple benchmarks. Future research should refine hybrid architectures, explore more advanced feature selection methods, develop ensemble models, and extend the sample, for example, to port-level or higher-frequency data. Future studies may also integrate external factors such as port congestion indices, vessel schedules, and global trade indicators, and may evaluate sustainability-related outcomes, which were not assessed here. A consistent historical evaluation with lagged or projected predictors, formal predictive-accuracy tests, repeated-seed training, prediction intervals for the 2025 forecasts, and real-price macroeconomic variables would strengthen the evidence.
Author Contributions
Conceptualization, L.J.M.N. and S.E.Y.; methodology, L.J.M.N. and S.E.Y.; software, L.J.M.N.; validation, L.J.M.N. and S.E.Y.; formal analysis, L.J.M.N.; investigation, L.J.M.N.; resources, L.J.M.N.; data curation, L.J.M.N.; writing—original draft preparation, L.J.M.N.; writing—review and editing, L.J.M.N. and S.E.Y.; visualization, L.J.M.N.; supervision, S.E.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The raw data supporting the conclusions of this article will be made available by the authors on request.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AI | Artificial Intelligence |
| ANN | Artificial Neural Network |
| AR | Autoregressive |
| ARIMA | Autoregressive Integrated Moving Average |
| ARIMAX | Autoregressive Integrated Moving Average with Exogenous Variables |
| BPNN | Backpropagation Neural Network |
| BiLSTM | Bidirectional Long Short-Term Memory |
| CD | Correntropy Discriminative |
| CNN | Convolutional Neural Network |
| CNN-LSTM | Convolutional Neural Network–Long Short-Term Memory |
| CSAPSO | Chaos Synchronization Algorithm–Particle Swarm Optimization |
| CT | Container Throughput |
| DL | Deep Learning |
| DT | Decision Tree |
| DWT | Discrete Wavelet Transform |
| DWT-LSTM | Discrete Wavelet Transform–Long Short-Term Memory |
| ECM | Error Correction Model |
| EEMD | Ensemble Empirical Mode Decomposition |
| ELM | Extreme Learning Machine |
| ETS | Exponential Smoothing State Space Model |
| GARCH | Generalized Autoregressive Conditional Heteroskedasticity |
| GM | Grey Model |
| GCA | Grey Correlation Analysis |
| GDP | Gross Domestic Product |
| GRA | Grey Relational Analysis |
| GRU | Gated Recurrent Unit |
| HW | Holt–Winters |
| LASSO-R | Least Absolute Shrinkage and Selection Operator Regression |
| LightGBM | Light Gradient Boosting Machine |
| LR | Linear Regression |
| LSSVR | Least Squares Support Vector Regression |
| MA | Moving Average |
| MAE | Mean Absolute Error |
| MAPE | Mean Absolute Percentage Error |
| MARS | Multivariate Adaptive Regression Splines |
| MBPNN | Modified Backpropagation Neural Network |
| MCP-GDP | Monthly Current-Price Gross Domestic Product |
| ML | Machine Learning |
| MLP | Multilayer Perceptron |
| MLR | Multiple Linear Regression |
| MRSVR-CSAPSO | Modified Recurrent Support Vector Regression–Chaos Synchronization Algorithm–Particle Swarm Optimization |
| MSE | Mean Squared Error |
| MVFP | Monthly Vessel Fuel Prices |
| NN | Neural Network |
| PSO | Particle Swarm Optimization |
| RF | Random Forest |
| RFR | Random Forest Regression |
| RMSE | Root Mean Squared Error |
| RNN | Recurrent Neural Network |
| RR | Ridge Regression |
| RSVR | Recurrent Support Vector Regression |
| SARIMA | Seasonal Autoregressive Integrated Moving Average |
| SARIMAX | Seasonal Autoregressive Integrated Moving Average with Exogenous Variables |
| SARIMA-LSSVR | Seasonal Autoregressive Integrated Moving Average–Least Squares Support Vector Regression |
| SD-LSSVR | Singular Value Decomposition–Least Squares Support Vector Regression |
| SES | Simple Exponential Smoothing |
| SSE | Sum of Squared Errors |
| SST | Sum of Squares Total |
| SVM | Support Vector Machine |
| SVR | Support Vector Regression |
| STL | Seasonal-Trend Decomposition Using Loess |
| TBATS | Trigonometric, Box–Cox Transformation, ARMA Errors, Trend and Seasonal Components |
| TE | Total Exports |
| TEU | Twenty-Foot Equivalent Unit |
| TI | Total Imports |
| TRY | Turkish Lira |
| TRY_EUR | Turkish Lira–Euro Exchange Rate |
| TRY_USD | Turkish Lira–United States Dollar Exchange Rate |
| u-CNN | Univariate Convolutional Neural Network |
| u-GRU | Univariate Gated Recurrent Unit |
| u-LSTM | Univariate Long Short-Term Memory |
| u-Transformer | Univariate Transformer |
| VMD | Variational Mode Decomposition |
| VMD-BELM | Variational Mode Decomposition–Bidirectional Extreme Learning Machine |
| VTS | Vessel Traffic Services |
| XGBoost | Extreme Gradient Boosting |
References
- Ducruet, C. The Geography of Maritime Networks: A Critical Review. J. Transp. Geogr. 2020, 88, 102824. [Google Scholar] [CrossRef] [Scilit]
- United Nations Conference on Trade and Development. Review of Maritime Transport 2024; United Nations: Geneva, Switzerland, 2024. [Google Scholar] [CrossRef] [Scilit]
- Shin, G.H.; Yang, H. Maritime Accident Prediction in Busan Port Using Machine Learning: An Integrated Approach with Maritime Accident Reports and VTS Data. Ocean Eng. 2025, 316, 119968. [Google Scholar] [CrossRef] [Scilit]
- Su, M.; Lee, H.J.; Wang, X.; Bae, S.H. Fuel Consumption Cost Prediction Model for Ro-Ro Carriers: A Machine Learning-Based Application. Marit. Policy Manag. 2025, 52, 229–249. [Google Scholar] [CrossRef] [Scilit]
- Shin, B.; Min, Y.; Lee, G.; Yang, H.; Cho, B. Deep Learning-Based Estimation of Truck Turn Around Time at Container Port. Marit. Policy Manag. 2026, 53, 183–199. [Google Scholar] [CrossRef] [Scilit]
- Cuong, T.N.; Long, L.N.B.; Kim, H.S.; You, S.S. Data Analytics and Throughput Forecasting in Port Management Systems Against Disruptions: A Case Study of Busan Port. Marit. Econ. Logist. 2023, 25, 61–89. [Google Scholar] [CrossRef] [Scilit]
- Jin, J.; Ma, M.; Jin, H.; Cui, T.; Bai, R. Container Terminal Daily Gate in and Gate out Forecasting Using Machine Learning Methods. Transp. Policy 2023, 132, 163–174. [Google Scholar] [CrossRef] [Scilit]
- Nieto, M.R.; Carmona-Benitez, R.B.; Martinez, J.N. Comparing Models to Forecast Cargo Volume at Port Terminals. J. Appl. Res. Technol. 2017, 15, 311–319. [Google Scholar] [CrossRef] [Scilit]
- Ubaid, A.; Hussain, F.; Saqib, M. Container Shipment Demand Forecasting in the Australian Shipping Industry: A Case Study of Asia–Oceania Trade Lane. J. Mar. Sci. Eng. 2021, 9, 968. [Google Scholar] [CrossRef] [Scilit]
- Liu, B.; Wang, X.; Liang, X. Neural Network-Based Prediction System for Port Throughput: A Case Study of Ningbo-Zhoushan Port. Res. Transp. Bus. Manag. 2023, 51, 101067. [Google Scholar] [CrossRef] [Scilit]
- Zeng, F.; Xu, S. A Hybrid Container Throughput Forecasting Approach Using Bi-Directional Hinterland Data of Port. Sci. Rep. 2024, 14, 25502. [Google Scholar] [CrossRef] [Scilit]
- Lee, G.-C.; Bang, J.Y. Forecasting Container Throughput of Singapore Port Considering Various Exogenous Variables Based on SARIMAX Models. Forecasting 2024, 6, 748–760. [Google Scholar] [CrossRef] [Scilit]
- Zhang, D.; Li, X.; Wan, C.; Man, J. A Novel Hybrid Deep-Learning Framework for Medium-Term Container Throughput Forecasting: An Application to China’s Guangzhou, Qingdao and Shanghai Hub Ports. Marit. Econ. Logist. 2024, 26, 44–73. [Google Scholar] [CrossRef] [Scilit]
- Xu, S.; Zou, S.; Huang, J.; Yang, W.; Zeng, F. Comparison of Different Approaches of Machine Learning Methods with Conventional Approaches on Container Throughput Forecasting. Appl. Sci. 2022, 12, 9730. [Google Scholar] [CrossRef] [Scilit]
- Cuong, T.N.; Kim, H.S.; You, S.S.; Nguyen, D.A. Seaport Throughput Forecasting and Post COVID-19 Recovery Policy by Using Effective Decision-Making Strategy: A Case Study of Vietnam Ports. Comput. Ind. Eng. 2022, 168, 108102. [Google Scholar] [CrossRef] [Scilit]
- Awah, P.C.; Nam, H.; Kim, S. Short Term Forecast of Container Throughput: New Variables Application for the Port of Douala. J. Mar. Sci. Eng. 2021, 9, 720. [Google Scholar] [CrossRef] [Scilit]
- Tan, N.D.; Yu, H.C.; Long, L.N.B.; You, S.S. Time Series Forecasting for Port Throughput Using Recurrent Neural Network Algorithm. J. Int. Marit. Saf. Environ. Aff. Shipp. 2021, 5, 175–183. [Google Scholar] [CrossRef] [Scilit]
- Yao, W. Prediction of Container Throughput of Dalian Port Based on Factor Analysis and ARIMA Model. IOP Conf. Ser. Earth Environ. Sci. 2021, 831, 012046. [Google Scholar] [CrossRef] [Scilit]
- Yang, C.H.; Chang, P.Y. Forecasting the Demand for Container Throughput Using a Mixed-Precision Neural Architecture Based on CNN–LSTM. Mathematics 2020, 8, 1784. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Fu, Y.; Li, G. Research on Container Throughput Forecast Based on ARIMA-BP Neural Network. J. Phys. Conf. Ser. 2020, 1634, 012024. [Google Scholar] [CrossRef] [Scilit]
- Shankar, S.; Ilavarasan, P.V.; Punia, S.; Singh, S.P. Forecasting Container Throughput with Long Short-Term Memory Networks. Ind. Manag. Data Syst. 2020, 120, 425–441. [Google Scholar] [CrossRef] [Scilit]
- Du, P.; Wang, J.; Yang, W.; Niu, T. Container Throughput Forecasting Using a Novel Hybrid Learning Method with Error Correction Strategy. Knowl.-Based Syst. 2019, 182, 104853. [Google Scholar] [CrossRef] [Scilit]
- Chan, H.K.; Xu, S.; Qi, X. A Comparison of Time Series Methods for Forecasting Container Throughput. Int. J. Logist. Res. Appl. 2019, 22, 294–303. [Google Scholar] [CrossRef] [Scilit]
- Rashed, Y.; Meersman, H.; Van De Voorde, E.; Vanelslander, T. Short-Term Forecast of Container Throughput: An ARIMA-Intervention Model for the Port of Antwerp. Marit. Econ. Logist. 2017, 19, 749–764. [Google Scholar] [CrossRef] [Scilit]
- Geng, J.; Li, M.W.; Dong, Z.H.; Liao, Y.S. Port Throughput Forecasting by MARS-RSVR with Chaotic Simulated Annealing Particle Swarm Optimization Algorithm. Neurocomputing 2015, 147, 239–250. [Google Scholar] [CrossRef] [Scilit]
- Xie, G.; Wang, S.; Zhao, Y.; Lai, K.K. Hybrid Approaches Based on LSSVR Model for Container Throughput Forecasting: A Comparative Study. Appl. Soft Comput. 2013, 13, 2232–2241. [Google Scholar] [CrossRef] [Scilit]
- Turkish Chamber of Shipping. Maritime Sector Report; Turkish Chamber of Shipping: Istanbul, Türkiye, 2024. [Google Scholar]
- Zheng, A.; Casari, A. Feature Engineering for Machine Learning; O’Reilly Media: Sebastopol, CA, USA, 2018. [Google Scholar] [CrossRef]
- Hossain, R.; Timmer, D. Machine Learning Model Optimization with Hyper Parameter Tuning Approach. In Proceedings of the International Conference on Advanced Engineering, Technology and Applications (ICAETA), Online, 9–11 July 2021. [Google Scholar]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Shen, J. Linear Regression. In Encyclopedia of Database Systems; Springer: Boston, MA, USA, 2009. [Google Scholar] [CrossRef] [Scilit]
- Zhang, F.; O’Donnell, L.J. Support Vector Regression. In Machine Learning: Methods and Applications to Brain Disorders; Elsevier: Amsterdam, The Netherlands, 2019; pp. 123–140. [Google Scholar] [CrossRef] [Scilit]
- Awad, M.; Khanna, R. Support Vector Regression. In Efficient Learning Machines; Apress: Berkeley, CA, USA, 2015; pp. 67–80. [Google Scholar] [CrossRef] [Scilit]
- Ali, Z.A.; Abduljabbar, Z.H.; Tahir, H.A.; Sallow, A.B.; Almufti, S.M. eXtreme Gradient Boosting Algorithm with Machine Learning: A Review. Acad. J. Nawroz Univ. 2023, 12, 320–334. [Google Scholar] [CrossRef] [Scilit]
- Cabello, J.G. Mathematical Neural Networks. Axioms 2022, 11, 80. [Google Scholar] [CrossRef] [Scilit]
- Medsker, L.R.; Jain, L.C. Recurrent Neural Networks: Design and Applications; CRC Press: Boca Raton, FL, USA, 1999. [Google Scholar]
- Kussul, E.; Baidyk, T.; Wunsch, D.C. Neural Networks and Micromechanics; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar] [CrossRef] [Scilit]
- Mienye, I.D.; Swart, T.G.; Obaido, G. Recurrent Neural Networks: A Comprehensive Review of Architectures, Variants, and Applications. Information 2024, 15, 517. [Google Scholar] [CrossRef] [Scilit]
- Graves, A. Long Short-Term Memory. In Supervised Sequence Labelling with Recurrent Neural Networks; Studies in Computational Intelligence; Springer: Berlin/Heidelberg, Germany, 2012; Volume 385, pp. 37–45. [Google Scholar] [CrossRef] [Scilit]
- Lu, W.; Li, J.; Li, Y.; Sun, A.; Wang, J. A CNN-LSTM-Based Model to Forecast Stock Prices. Complexity 2020, 2020, 662927. [Google Scholar] [CrossRef] [Scilit]
- Naser, M.Z.; Alavi, A.H. Error Metrics and Performance Fitness Indicators for Artificial Intelligence and Machine Learning in Engineering and Sciences. Archit. Struct. Constr. 2023, 3, 499–517. [Google Scholar] [CrossRef] [Scilit]
- Winters, P.R. Forecasting Sales by Exponentially Weighted Moving Averages. Manag. Sci. 1960, 6, 324–342. [Google Scholar] [CrossRef] [Scilit]
- Shi, X.; Wang, Y.; Zhuang, H.; Li, H.; Jiang, H.; Xu, D. Global Hierarchy of Maritime Clusters: Stability and Reconstruction. J. Transp. Geogr. 2021, 96, 103205. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










