Forecasting Morocco–Africa trade flows with hybrid predictive and generative machine learning models
摘要
Moroccan foreign direct investment (FDI) in Africa has expanded considerably over the past two decades, yet its effect on bilateral trade flows remains insufficiently understood. This study aims to quantify the impact of Moroccan FDI on trade with 27 African countries and identify the key economic and institutional determinants driving these flows. A hybrid modeling framework was employed, combining predictive models (MLP, LSTM, Random Forest, Gradient Boosting Regressor) with generative models (Variational Autoencoders and conditional GANs). Model performance was evaluated using MAE, MSE, RMSE,