Sabaragamuwa University of Sri Lanka

Enhancing Sri Lankan textile export forecasting using social media sentiment with machine learning

Show simple item record

dc.contributor.author Pathiraja, Y.P.S.S.
dc.contributor.author Somaweera, W.T.S.
dc.contributor.author Kumara, B.T.G.S.
dc.contributor.author Sandaruwan, R.M.T.
dc.date.accessioned 2026-05-26T09:49:02Z
dc.date.available 2026-05-26T09:49:02Z
dc.date.issued 2026-01-28
dc.identifier.isbn 978-624-5727-44-5
dc.identifier.uri http://repo.lib.sab.ac.lk:8080/xmlui/handle/susl/5302
dc.description.abstract The apparel industry has continued to be the largest export economic activity in Sri Lanka. However recent shocks such as the COVID-19 pandemic and the 2022 financial crisis revealed large vulnerabilities in conventional forecasting mechanisms. Linear econometric models including ARIMA and SARIMA are slow to detect behavioural turning points that precede significant changes in trade flows. This study addresses this gap by combining a high-frequency Social Media Sentiment Index with traditional macroeconomic indicators to assess the importance of sentiment-based information in improving the predictability of the textile export performance. Three forecasting architectures were built through a comparative modelling framework, based on SARIMA, econometric framework as a benchmark, XGBoost as a nonlinear ensemble learning model, and (LSTM) networks as a deep learning framework. The monthly export statistics between 2012-2024 were matched with the sentiment ratings based on around 46000 scraped social media postings (tweets). Findings indicate that there is a clear model performance hierarchy. SARIMA generated consistent forecasts with an RMSE of 31.50, whereas the sentiment-enriched XGBoost was the most accurate overall with an RMSE of 28.93 demonstrating the strongest generalization. LSTM also had the lowest performance and had the highest RMSE of 48.26, indicating overfitting, since the macroeconomic time series is of low frequency and low sample. These findings affirm that sentiment predicts behavioural dynamics that other basic indicators do not capture and that ensemble learning is better than deep learning in this scenario. The results reveal that sentiment-enriched machine learning models provide a clear development in predicting exports in unstable economic conditions. This underlines the importance of combining behavioural information, which is not structured, with economic measures in a structured manner offers a methodological basis of the real-time now casting instruments in the export management and policy planning. en_US
dc.language.iso en en_US
dc.publisher Faculty of Computing. Sabaragamuwa University of Sri Lanka. en_US
dc.subject Textile exports en_US
dc.subject Sentiment analysis en_US
dc.subject Xgboost en_US
dc.subject Sarima en_US
dc.subject Economic forecasting en_US
dc.title Enhancing Sri Lankan textile export forecasting using social media sentiment with machine learning en_US
dc.type Article en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Advanced Search

Browse

My Account