Forecasting cashew production in India using a hybrid machine learning framework with STL decomposition, ensemble methods, and global trade network analysis

This study presents a comprehensive analytical framework to examine and forecast the dynamics of India's cashew production and cashew nut shell liquid (CNSL) exports. The analysis comprises two integrated components: a machine learning-based production forecasting system and a network topology analysis of India's global CNSL trade relationships. For production forecasting, we develop a hybrid pipeline that integrates rolling Seasonal-Trend Decomposition using Loess (STL) with ensemble machine learning methods, specifically Random Forest and Gradient Boosting Machines, benchmarked against regularized linear models (Ridge and ElasticNet). To prevent data leakage, we implement a novel rolling STL decomposition approach that performs signal decomposition iteratively using only historical data available at each forecast origin. The methodology incorporates robust data preprocessing steps such as missing value imputation and normalization, along with temporal feature engineering involving lagged values, moving averages, rolling statistics, and year-on-year growth rates. To ensure reliable performance evaluation, we adopt an expanding window cross-validation strategy tailored for time series data across three temporal folds spanning 1999-2020. Among the models evaluated, Gradient Boosting demonstrates superior performance with an [Formula: see text] of 0.988 ([Formula: see text]), MAPE of 3.6% ([Formula: see text]), and RMSE of 45.8 MT ([Formula: see text]), achieving 72% lower MAE compared to Ridge regression and outperforming Random Forest by 72% in mean absolute error. In the second component, we construct India's global CNSL trade network spanning 1999-2020 and apply five centrality measures Degree, Closeness, Betweenness, Eigenvector, and PageRank to characterize its structure and identify key trading nodes. To further assess concentration and dependency, we introduce a novel Source-Importer Ratio metric, revealing pronounced disparities in trade influence, with differences of over 50-fold in degree centrality and 43-fold in PageRank across countries. The network analysis identifies India as the dominant hub with maximal degree centrality (1.0) and PageRank (0.461), while all importer countries exhibit uniformly low centrality scores (0.0196), confirming a star-like network topology with 52 nodes and 51 edges. By combining high-accuracy forecasting with network-driven diagnostics, this integrated approach provides a decision-support framework tailored to the needs of policymakers, exporters, and agri-business strategists. The study concludes with policy suggestions aimed at strengthening supply chain resilience, mitigating trade risks, and promoting export diversification. All code, data, and trained models are made publicly available to support reproducibility and adaptation to other perennial crop systems. Future work will extend the framework by integrating exogenous drivers such as climatic indicators and global price trends, and by updating the network analysis with post-2020 data to capture pandemic-induced structural changes in global trade patterns.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-12-17
DOI
https://doi.org/10.1038/s41598-025-29254-1
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Forecasting cashew production in India using a hybrid machine learning framework with STL decomposition, ensemble methods, and global trade network analysis

Parthiban Angamuthu, C Shinyclimensa
Scientific Reports
Stock Market Forecasting Methods
article

Forecasting cashew production in India using a hybrid machine learning framework with STL decomposition, ensemble methods, and global trade network analysis

Parthiban Angamuthu, C Shinyclimensa
article en

Abstract

This study presents a comprehensive analytical framework to examine and forecast the dynamics of India's cashew production and cashew nut shell liquid (CNSL) exports. The analysis comprises two integrated components: a machine learning-based production forecasting system and a network topology analysis of India's global CNSL trade relationships. For production forecasting, we develop a hybrid pipeline that integrates rolling Seasonal-Trend Decomposition using Loess (STL) with ensemble machine learning methods, specifically Random Forest and Gradient Boosting Machines, benchmarked against regularized linear models (Ridge and ElasticNet). To prevent data leakage, we implement a novel rolling STL decomposition approach that performs signal decomposition iteratively using only historical data available at each forecast origin. The methodology incorporates robust data preprocessing steps such as missing value imputation and normalization, along with temporal feature engineering involving lagged values, moving averages, rolling statistics, and year-on-year growth rates. To ensure reliable performance evaluation, we adopt an expanding window cross-validation strategy tailored for time series data across three temporal folds spanning 1999-2020. Among the models evaluated, Gradient Boosting demonstrates superior performance with an [Formula: see text] of 0.988 ([Formula: see text]), MAPE of 3.6% ([Formula: see text]), and RMSE of 45.8 MT ([Formula: see text]), achieving 72% lower MAE compared to Ridge regression and outperforming Random Forest by 72% in mean absolute error. In the second component, we construct India's global CNSL trade network spanning 1999-2020 and apply five centrality measures Degree, Closeness, Betweenness, Eigenvector, and PageRank to characterize its structure and identify key trading nodes. To further assess concentration and dependency, we introduce a novel Source-Importer Ratio metric, revealing pronounced disparities in trade influence, with differences of over 50-fold in degree centrality and 43-fold in PageRank across countries. The network analysis identifies India as the dominant hub with maximal degree centrality (1.0) and PageRank (0.461), while all importer countries exhibit uniformly low centrality scores (0.0196), confirming a star-like network topology with 52 nodes and 51 edges. By combining high-accuracy forecasting with network-driven diagnostics, this integrated approach provides a decision-support framework tailored to the needs of policymakers, exporters, and agri-business strategists. The study concludes with policy suggestions aimed at strengthening supply chain resilience, mitigating trade risks, and promoting export diversification. All code, data, and trained models are made publicly available to support reproducibility and adaptation to other perennial crop systems. Future work will extend the framework by integrating exogenous drivers such as climatic indicators and global price trends, and by updating the network analysis with post-2020 data to capture pandemic-induced structural changes in global trade patterns.

Scientific ReportsVol. 16(1)
Vellore Institute of Technology University (IN)
Openalex Percentile: Top 54%
Stock Market Forecasting Methods
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.