Comparing ARIMA, Linear Regression, Random Forest, and LSTM for Time Series Forecasting: A Study on Item Stock Predictions

Bommireddi Nagendra,Ghanapriya Singh
DOI: https://doi.org/10.1109/GCAT59970.2023.10353372
2023-10-06
Abstract:The present work discusses about prediction of item inventory stock using four prominent time series forecasting models. These models offer distinct strategies for predicting future values from historical data. The investigation begins by outlining each paradigm’s core concepts. The work discusses in detail about the working of ARIMA model. ARIMA effectively captures autoregressive and moving average components. Another model discussed is Linear Regression (LR). Linear Regression assumes linear relationships between inputs and the target variable. We have also used Random Forest (RF) for predicting the inventory. Random Forest employs ensemble techniques with decision trees for intricate relationships. Finally, LSTM model is also implemented for stock prediction. It is found that LSTM model excels in detecting temporal connections in sequential data. The assessment encompasses a range of real-world time series datasets characterized by their distinct attributes. To gauge performance, various metrics such as MSE, MAE, RMSE and R-squared are utilized. Findings highlight each model’s strengths and weaknesses. ARIMA excels in addressing linear patterns and seasonality, Linear Regression suits clear linear relationships and Random Forest effectively captures both linear and nonlinear correlations. LSTM thrives in sequences with complex patterns. To conclude, this study’s comprehensive comparison of ARIMA, Linear Regression, RF and LSTM in time series forecasting offers valuable insights for scholars and practitioners alike.
Computer Science,Business
What problem does this paper attempt to address?