Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Recurrent neural network architecture for forecasting banana prices in Gujarat, India

Abstract

Objectives

The forecasting of horticulture commodity prices, such as bananas, has wide-ranging impacts on farmers, traders and end-users. The considerable volatility in horticultural commodities pricing estimates has allowed farmers to exploit various local marketplaces for profitable sales of their farm produce. Despite the demonstrated efficacy of machine learning models as a suitable substitute for conventional statistical approaches, their application for price forecasting in the context of Indian horticulture remains an area of contention. Past attempts to forecast agricultural commodity prices have relied on a wide variety of statistical models, each of which comes with its own set of limitations.

Methods

Although machine learning models have emerged as formidable alternatives to more conventional statistical methods, there is still reluctance to use them for the purpose of predicting prices in India. In the present investigation, we have analysed and compared the efficacy of a variety of statistical and machine learning models in order to get accurate price forecast. Autoregressive Integrated Moving Average (ARIMA), Seasonal Autoregressive Integrated Moving Average model (SARIMA), Autoregressive Conditional Heteroscedasticity model (ARCH), Generalized Autoregressive Conditional Heteroscedasticity model (GARCH), Artificial Neural Network (ANN) and Recurrent Neural Network (RNN) were fitted to generate reliable predictions of prices of banana in Gujarat, India from January 2009 to December 2019.

Results

Empirical comparisons have been made between the predictive accuracy of different machine learning (ML) models and the typical stochastic model and it is observed that ML approaches, especially RNN, surpassed all other models in the majority of situations. Mean Absolute Percent Error (MAPE), Root Mean Square Error (RMSE), symmetric mean absolute percentage error (SMAPE), mean absolute scaled error (MASE) and mean directional accuracy (MDA) are used to illustrate the superiority of the models and RNN resulted least in terms of all error accuracy measures.

Conclusions

RNN outperforms other models in this study for predicting accurate prices when compared to various statistical and machine learning techniques. The accuracy of other methodologies like ARIMA, SARIMA, ARCH GARCH, and ANN falls short of expectations.

Introduction

The Indian economy is heavily reliant on the agricultural sector. More than 70% of rural households are dependent on agriculture. Given that it accounts for 20% of the country’s GDP and employs more than 60% of the workforce, India’s agricultural industry plays a crucial role in the nation’s economy. Over the past few years, Indian agriculture has experienced significant growth [1]. Processing, floriculture, seed production, mushroom cultivation, nursery preparation, post-harvest production etc., all fall within the horticultural umbrella, making it an essential and crucial component of stabilising farmers’ income [2]. The scenario of horticultural crops in India has become very encouraging. During 2020, according to the National Horticulture Board (NHB) [3], the production of horticultural crops in India was 320.77 million tonnes from an area of 26.46 million hectares. It is further expected to grow at the rate of 1.8% in financial year 2021 with the area expected at 27.17 million hectares and production 326.58 million tonnes.

Bananas are widely grown in the tropics and subtropics. It is the world’s seventh most traded agricultural product, behind wheat, maize, soybeans, rice, barley, and sugar [4]. Annually, 14.2 million tonnes of banana are produced in India, which is more than any other country in the world. After the mango, the banana is India’s second most popular fruit. Tamil Nadu, Andhra Pradesh, Maharashtra, and Karnataka contribute to a significant percentage of banana production in India [5]. Bananas have long been revered for their many cultural, medical and dietary benefits. It is great source of carbohydrates (22.84 g/100 g), provides around 370 kJ of energy per 100 grams and also considered as one of the best sources of potassium (358 mg/100 g) that provides 8 percent of the recommended daily intake [6]. India is the world’s largest producer and exporter of bananas with an estimated 884 thousand hectares under cultivation and production of about 30 million tonnes (MT), contributing around 26% to the global banana basket. India holds a significant position among the top five banana-producing countries, accounting for approximately 50% of the total share (FAOSTAT 2019) [7]. Additionally, Gujarat, as the second-ranked state in banana production within India, contributes approximately 24% of the total share among the top five Indian states, as reported by the National Horticulture Board (NHB) [3].

In Gujarat, the area under production is 69.537 thousand hectares with production 4627.52 metric tonnes (Directorate of Horticulture, 2021) [8]. According to market arrival statistics, the Rajpipla market (Narmada) accounts for 78% of Gujarat’s overall arrival, making it the state’s primary market for determining banana prices(Agriculture marketing website 2020) [9].

Naturally, anticipating what will happen next, rather than why something happened in the past, is one of the primary purposes of time series analysis. One can use a forecasting model based on the experience and external information. Auto Regressive Integrated Moving Average (ARIMA) is most widely used time-series models amongst the base statistical models. Recently, the Artificial Neural Network (ANN) model has gained much of attention as a potential replacement of traditional models for estimation and forecasting in economics and finances [10].

Future price predictions are exceedingly difficult to make. There is a substantial body of literature on various techniques and predictors that can be added to those techniques in order to achieve higher accuracy [11]. Farmers will be able to utilise this information to determine the best time to sell their crops. As a result, the frequency and accessibility of time- and location-based arbitrage should reduce the volatility of prices [12].One of the biggest obstacles to making reliable banana price predictions is the seasonality of banana price series. Given the complexity of the price series, several models have been established for capturing price behaviour, but there is no consensus between researchers as to which model is best [13].

Numerous linear and nonlinear methods have been developed within the time series framework, including the Autoregressive Integrated Moving Average (ARIMA) model, the Seasonal ARIMA (SARIMA) model and the Generalized Autoregressive Conditional Heteroscedastic (GARCH) model. Multiple previous studies have attempted to predict agricultural commodity prices [1418]. The SARIMA model is supposedly superior to other price forecasting algorithms when it comes to predicting onion prices in Mumbai’s marketplaces [14]. Application of the ARIMA model for forecasting agricultural productivity in India can be found in [15]. Application of the SARIMA model for forecasting meat exports from India [16]. Price volatility for agricultural commodities in India has been extensively studied in [17]. Spot electricity price forecasting in Indian electricity market using autoregressive-GARCH models can be seen in [18].

Machine Learning (ML) methods that have recently emerged under the data science [19] has become dominant approach of modelling. Time series forecasting, in the fields of finance and economics, have greatly benefitted by its application [20, 21] and also has been applied to forecast the area, production and productivity of agricultural commodities like citrus [22], banana [23] and mango [24]. Several empirical studies have demonstrated that when forecasting various assets, ML algorithms outperform time series models [2527]. Comparison of efficacy of statistical models and machine learning techniques can be found in [28]. It is reported that ANNs works well over the classical statistical methods such as linear regression and Box- Jenkins approaches [29]. For both price and yield forecasting in agriculture, neural networks were shown to be more accurate than statistical techniques[30, 31]. Superiority of neural network in price forecasting [32], in percent losses of pods by pod borer and pod fly in pigeon pea [33], were discussed. While application of RNN model found in forecasting prices of arecanuts in Kerala [34] and in agricultural product prices prediction [35].

The primary goal of this study is to forecast the price of banana in Gujarat, India using ARIMA, SARIMA, ARCH, GARCH, ANN and RNN by using secondary data obtained from the Agricultural Marketing website, focusing on banana prices in the major market of Gujarat covering the period from January 2009 to December 2019. The research aims to identify the forecasting model that exhibits the highest level of prediction accuracy, assessed through performance metrics such as RMSE, MAPE, SMAPE, MASE and MAD.

Materials and methods

The sample consisted of 132 observations (i.e., monthly data for 11 years). The data represents the modal prices of banana. One important characteristic of the dataset used in this investigation is that it spans over 11 years, which is helpful in analysing long-term trends and patterns in the market. However, the dataset has its own limitations of having missing observations at long length apart from potential errors in the data collection.

Following analytical models were utilized in the present study:

Statistical models

ARIMA—Auto Regressive Integrated Moving Average model.

George Edward Pelham Box and Gwilym Meirion Jenkins proposed the ARIMA (p, d, q) model in the 1970s which is called Box-Jenkins model [36]. In the ARMA model, a variable’s projected future value is a linear mixture of its previous lag value and error: (1) where, yt is the actual value at t, {εt} is the white noise sequence, p and q are integers which are called autoregressive and moving average, respectively. When dealing with a non-stationary time series, difference can be made to make it stationary series.

SARIMA—Seasonal Auto Regressive Integrated Moving Average model.

Box-Jenkins generalized this model to deal with seasonality. This model uses seasonal differencing to remove non-stationarity.

SARIMA (p, d, q) * (P, D, Q)S is presented below in terms of Lag polynomial: (2)

Here L, LS are non-seasonal and seasonal differencing, φP (L) & θq (L) are parameters of “p” and “q” for non-seasonal lag value, ΦP(LS) and Θ(LS) are parameters of “P” and “Q” for seasonal lag while yt and εt are original time series and error at given time t [37].

ARCH—Autoregressive Conditional Heteroscedasticity model.

Autoregressive conditional heteroscedasticity (ARCH) models predict conditional variances. The ARCH model comprises two primary components: the mean equation and the variance equation. The mean equation specifies the conditional mean of the series and typically incorporates autoregressive or moving average terms. On the other hand, the variance equation models the conditional variance of the series. Engle (1982) [38] first suggested ARCH models, later generalised as GARCH [39].

Generalized Autoregressive Conditional Heteroscedasticity (GARH) models.

GARCH models offers enhanced capabilities in capturing the intricate dynamics of volatility. Then GARCH model (p, q) by Bera, A. K. & Higgins, M. L. (1993) [40] is: (3)

Where α° > 0, term is the constant in the model, which represents the long-run average of the conditional variance while are imposed to guarantee that the conditional variance is non-negative.

Exponential Generalized Autoregressive Conditional Heteroscedasticity (EGARCH) model.

The exponential GARCH can be written as follows: (4) (5)

Because of the log variance, this model differs from the GARCH structure which captures asymmetrical consequences of shocks. In the financial literature, the following specification has also been used (Ali 2013) [41].

(6)(7)

Where zt represents the standardized residual at time t, αi, λj, γt are coefficients of lagged squared residuals, lagged logarithms of the squared conditional standard deviations and standardized residuals.

Deep learning artificial intelligence

Artificial Neural Network (ANNs).

ANNs are the cutting-edge machine-learning algorithm. Features of ANN are its inherently non-linearity, data-driven and self-adaptive approach and universal approximate function [42].

The output of the ANN model is computed using the following mathematical expression: (8)

Here yt−i (i = 1, 2,…, p) are the p inputs and yt is the output. The integers p, q are the number of input and hidden nodes respectively. aj (j = 0,1,2,………q) and βij (i = 0,1,2,………q) are the connection weights and εt is the random shock. aj and β°j are the bias terms and g(x) is the nonlinear activation function [42]. The architecture of feed forward neural network is described in Fig 1.

thumbnail
Fig 1. Architecture of Artificial Neural Network (ANN).

The diagram was created using NN-SVG (Lenail, 2015) [43].

https://doi.org/10.1371/journal.pone.0275702.g001

Recurrent Neural Networks (RNNs).

The RNN’s goal is to process sequences of data. Unlike the traditional neural network architecture, which connects the input layer to the hidden layer to the output layer in a fully connected manner with no inter-layer connections, this ordinary neural network is inadequate for many problems. RNN, on the other hand, is referred to as a recurrent neural network since the current output of a sequence is influenced by the previous output as given in Fig 2. This implies that the hidden layer nodes are no longer isolated but rather interconnected and the input to the hidden layer includes not only the input layer’s output but also the previous hidden layer’s output.

thumbnail
Fig 2. Architecture of Recurrent Neural Network (RNN).

The diagram was created using PyTorch and graphviz library [4445].

https://doi.org/10.1371/journal.pone.0275702.g002

RNNs are a type of artificial neural network that is designed to work with time series data that contains sequences. It has the concept of "memory," which stores the information of previous inputs in order to get the next output [46]. A feedback loop is present in a basic RNN as illustrated in Fig 2. The equation of RNN can be expressed as: (9) (10)

Xt is input at time t, Ht−1 is state at time t-1, Wxh, Whh and Why are weight matrices for input, hidden and output layers.

Accuracy measures.

All the models were evaluated based on the Root Mean Square Error (RMSE) [47], Mean Absolute Percent Error (MAPE) [47], Mean Absolute Scaled Error (MASE) [48], Symmetric Mean Absolute Percentage Error (SMAPE) [49] and Mean Directional Accuracy (MDA) [50] having details mentioned in S1 File.

Result and discussion

Result

Data pre-processing.

Data pre-processing and statistical investigation for prices of banana in Gujarat was done before using it for forecasting models. The dataset of banana prices in Gujarat has mean Rs. 806.76/quintal while 2nd quartile Rs. 800.00/quintal, reflects slight deviation from non-normality. Also, banana price ranges from minimum of 183.33 (Rs. /quintal) to maximum of 1533.33 (Rs. /quintal) indicating high variation exist among the dataset. Furthermore, data exhibit high degree of asymmetry and is characterized by a leptokurtic shape Table 1.

Time series price movement over the period of January, 2009 to December, 2019, shown in Fig 3, signifying high prices mostly occur in the month of Feb–April (colour palette 2 to 4) every year, which reflects seasonal impact.

thumbnail
Fig 3. Time series scattered plot for banana prices in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g003

The first subplot of Fig 4 reveals the original time series graph depicting the fluctuations in banana prices in Gujarat. It highlights a significant price surge from 2009 to 2011, followed by a decline between 2018 and 2019. These fluctuations introduce non-linearity into the dataset during that specific period. Further, the time series data of banana prices is decomposed into trend, seasonal and residual components using additive seasonal decomposition techniques in the subplot 2nd, 3rd and 4th of Fig 4. The 2nd subplot is basically reflecting the long-time trend of banana prices with some shift in the initial as well at the end year and that is because of a lot of missing data in the initial year while the distorted price in 2019, as mentioned on the Agmarknet website.

thumbnail
Fig 4. Time series decomposition of banana prices in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g004

Additionally, the 3rd subplot reveals a noticeable pattern of seasonality, specifically in the months of February through April, as well as during September to October. Last residual subplot is basically showing variations in the prices of banana which is quite high for the period of 2009–2011 and 2018–19.

Fig 5 is reflecting the strength of relationships among multiple lag prices of banana.

thumbnail
Fig 5. Pair-plot of multiple lag prices of banana in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g005

The upper triangle of pair plot is indicating that previous four month’s prices are highly correlated with current prices indicating serial correlation and non-randomness among the price with its multiple lags. In the diagonal plot, kernel density estimates (KDE, univariate) are plotted for current price as well for previous month (Lag 1 to Lag 4) indicating that distribution of data is not normal while in the lower triangle of pair plot, kernel density estimates (KDE, Multivariate) of prices are represented as a contour plot depicting the relationship of the non-normal probability distribution between those two variables.

The plots of Auto correlation function (ACF) and Partial Auto correlation function (PACF) were generated in Fig 6, for determining the stationarity of time series data of banana prices in Gujarat, which confirms that ACF of the price lag reflect a slow decline, indicating the presence of non-stationarity.

thumbnail
Fig 6. ACF& PACF lags of time series data for banana price in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g006

This is supported by the non-significant p value of the Augmented Dickey Fuller (ADF) [43] test statistics in Table 2 indicating acceptance of null hypothesis. Therefore, differencing is required to make it stationary which becomes stationary after one differencing.

The linearity of fitted model of time series data was judged based on Lagrange’s Multiplier test. Table 3 displays the test statistic values at various lags, indicating a high level of significance at a 5% level of significance. This implies a robust presence of volatility impact on the banana price series.

This description suggests that data exhibits non-normality, strong autocorrelation among lagged prices, seasonality, a large dispersion potentially caused by shifts, non-stationarity, slight skewness and leptokurtic distribution. These characteristics must be considered during the development of any models.

Model building.

Table 4 shows the train-test split of the datasets as well as the period of forecasting for Banana. The model’s robustness was assessed by developing it on training data points, as specified in Table 4. Subsequently, the performance of model was examined on testing data points.

The forecasting period for the model was from January 2020 to December 2020, considering data up to the year 2019. The generated forecast for this period was compared against the actual modal prices that were made available on the website during the completion of the study. The simulation procedure was used to assess the reliability of the model.

Model performance.

The forecasting model like ARIMA, SARIMA, G/ARCH, ANN and RNN as described in methodology sections have been fitted for the training data under consideration. Selection of different model/architecture were solely based on lowest accuracy measures like MSE, RMSE, MAPE, SMAPE and MASE generated on testing data set was considered and are mentioned in Table 5. It shows that among the five models examined, the Recurrent Neural Network (RNN) model has the lowest absolute percentage error (MAPE) of 9.58, indicating its superior suitability for the problem. Additionally, the RNN model exhibits an impressive Mean Absolute Scaled Error (MASE) of 0.12, which highlights its effectiveness in improving accuracy by almost 10 times when compared to the Naïve model. In contrast, the ARIMA, SARIMA and ARCH models demonstrate poor fit, with their respective MASE values exceeding 1. The RNN model outperforms its counterparts and provides the most accurate predictions for the test dataset.

thumbnail
Table 5. Accuracy measures of models on test data set of banana price in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.t005

In Fig 7, the predicted and observed values of the test data set were plotted for each model. The graph depicted in Fig 8 provides insight into the predictive capability of RNN model over other models on test data. It presents a polar chart illustrating the scaled accuracy measures of five models on test data of banana prices in Gujarat. The RNN model surpasses remaining five models across various error metrics, including MSE, RMSE, MAPE, SMAPE and MASE.

thumbnail
Fig 7. Performance of time series models for banana price on test dataset.

https://doi.org/10.1371/journal.pone.0275702.g007

thumbnail
Fig 8. Polar chart of accuracy measures on testing data of time series models for banana prices in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g008

Moreover, the fitted models were leveraged to make forecast for the upcoming 12-month period for the year 2020, encompassing the months that have been adversely impacted by the COVID pandemic. The actual reported value for the given time interval was compared with the projected value derived from a range of time series models. In situations where other methodologies faltered, recurrent neural networks (RNNs) outperformed others in predicting the prices of bananas.

Table 6 presents a comprehensive breakdown of the accuracy measures for each model during the forecast period. It is evident that RMSE, MAPE, SMAPE and MASE decrease significantly as the models move from ARIMA to RNN, over the forecasting time span. Furthermore, mean directional accuracy (MAD) demonstrates that RNN outperforms other models in predicting the direction accuracy.

thumbnail
Table 6. Accuracy measures of models on forecast data of banana price in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.t006

Fig 9 presents a comparison of the forecasting performance of various models over the period of January 2020 to December 2020. It shows how closely each model’s forecast aligns with its corresponding actual reported value. The figure serves as a reliability check of model during forecast period from January to December 2020 which is basically the COVID 19 period. Additionally, a polar chart, displayed in Fig 10, shows scaled measures for model accuracy, revealing negligible error and hence better accuracy for RNN across all five measures. Furthermore, a paired t-test was performed to determine the statistical significance of the difference between the forecasted price generated by the model and the actual prices during the forecast period. Table 7 shows that there was no significant difference between the forecasts of the RNN, while the ARIMA and SARIMA showed significant differences, indicating their poor fit.

thumbnail
Fig 9. Performance of time series models for banana price for forecasted period.

https://doi.org/10.1371/journal.pone.0275702.g009

thumbnail
Fig 10. Polar chart of accuracy measures on forecasted data of time series models for banana prices in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.g010

thumbnail
Table 7. Significance check of forecast of models on banana price in Gujarat.

https://doi.org/10.1371/journal.pone.0275702.t007

Model fit parameters.

This section describes the parameters and hyperparameters of the RNN model, which was identified as the most suitable model among all other models i.e. ARIMA, SARIMA, ARCH and ANN. Table 8 presents the details of the optimal RNN model’s architecture and its parameters.

The proposed RNN architecture as mentioned in Table 8, aims to address overfitting through a combination of parameter choices and regularization techniques. The model comprises an input layer with 3 input values (previous lag value of price), a hidden layer with 10 neurons and an output layer with a single neuron. The ReLU activation function is employed in the hidden layer, promoting non-linearity and feature representation while a linear activation function for output layer is used to allow direct prediction of continuous values. To prevent overfitting, L1 regularization is applied with a coefficient of 0.001, encouraging sparse weight values and reducing dependence on specific features. Additionally, dropout is implemented with a rate of 0.2, randomly deactivating hidden units during training to reduce dependence on individual neurons.

Discussion

The findings indicate that the ARCH/GARCH statistical models performed better than the ARIMA and SARIMA models. One suggestion put forth by certain academic experts is to combine the ARIMA model with the GARCH model to overcome the limitations of linear models [51]. However, even with this approach, there remain various factors contributing to volatility that cannot be effectively addressed by these conventional models alone. In such cases, the utilization of advanced machine learning models could prove invaluable in capturing and addressing the full spectrum of variables affecting volatility.

Nonetheless, statistical models ARIMA/SARIMA and ARCH/GARCH were unable to compete with the neural network models, which produced more accurate results. This discovery is consistent with the study conducted by [52], in which they concluded that the artificial neural network (ANN) model is a significant substitute for theoretical models in anticipating the rainfall-runoff dataset. Additionally, out of two neural network architecture, RNN performed better than ANN. Non-linearity as well as time sequence data, give Recurrent Neural Network, more power. The same is supported by the finding in [53] where accuracy of deep-learning RNN methods are better and more accurate than ANN while simulating the streamflow of reservoir. However, some previous studies have found contradictory results. For instance, a study by [54] found ARIMA outperformed ANN in predicting stock prices while in [55] GARCH models outperformed deep learning models in predicting the volatility of the Shanghai Composite Index. Thus, methods like S/ARIMA, G/ARCH and ANN have proven to be valuable initial approaches, it is crucial to acknowledge their inherent limitations due to their data-specific nature and supplement them with more comprehensive techniques having capabilities to deal with dynamic data when necessary.

Conclusion

After analysing various models to anticipate banana prices in Gujarat for the COVID period from January 2020 to December 2020, our study found that the Recurrent Neural Network (RNN) outperformed all other models in terms of RMSE, MAPE, SMAPE, MASE and MAD values, showing its ability to handle unexpected events and their impact on future prices. Our results suggest that the RNN model can aid policymakers in improving their decision-making processes, leading to increased profitability. The practical applications of this research findings include the development of tools and applications that farmers, traders and end-users can use to access the forecasted prices of bananas in Gujarat. Policymakers can also use the results to address the challenges that farmers and traders face in the market.

However, our study also has limitations like it only considers its own price lag value and haven’t incorporate other essential factors such as weather, commodity arrival, demand & supply, government export-import policies and commodity diversity into the forecast. As a result, future research should explore different deep learning architectures which incorporate these variables to improve prediction accuracy. Addressing these limitations would lead to more comprehensive and nuanced conclusions in this study, along with practical applications for farmers, traders, and end-users in the horticultural commodity market.

Supporting information

References

  1. 1. Arjun KM. Indian agriculture-status, importance and role in Indian economy. International Journal of Agriculture and Food Science Technology. 2013; 4(4): 343–346.
  2. 2. Ravichandra NG. Horticulture and its role in the national economies. Horticultural Nematology. 2014; 1–3.
  3. 3. nhb.gov.in [Internet]. National Horticulture Board website, Ministry of Agriculture & Farmers Welfare, Govt. of India; c2021 [cited 2021 June 3]. Available from: http://nhb.gov.in/.
  4. 4. Wardhan H, Das S, Gulati A. Banana and Mango Value Chains. In Agricultural Value Chains in India. Springer, 2022. p. 99–143.
  5. 5. Sankar TJ, Pushpa P. Design and Development of Stochastic Modelling for Musa paradisiaca Linn Production in India. J. Algebraic Statistics. 2022; 13(2):3591–3599.
  6. 6. Ranjha MM, Irfan S, Nadeem M, Mahmood S. A comprehensive review on nutritional value, medicinal uses, and processing of banana. Food Reviews International. 2022; 38(2):199–225.
  7. 7. fao.org [Internet]. Food and Agricultural Organisation of United Nations; c2021 [cited 2021 June 3]. Available from: http://www.fao.org/faostat/en/#search/banana
  8. 8. doh.gujarat.gov.in [Internet]. Directorate of Horticulture, Gujarat; c2021 [cited 2021 June 3]. Available from https://doh.gujarat.gov.in
  9. 9. agmarknet.gov.in [Internet]. Agriculture marketing website, Directorate of Marketing & Inspection (DMI), Ministry of Agriculture and Farmers Welfare, Govt. of India; c2020 [cited 2020 August 7]. Available from: http://agmarknet.gov.in/
  10. 10. Zhang G, Patuwo BE, Hu MY. Forecasting with artificial neural networks: The state of the art. Int. journal of forecasting.1998; 14:35–62.
  11. 11. Ghorbani M, Chong EK. Stock price prediction using principal components. PloS ONE. 2020; 15(3): e0230124. pmid:32196528
  12. 12. Fafchamps M, Minten B. Impact of SMS-based agricultural information on Indian farmers. The World Bank Economic Review. 2012; 26(3): 383–414.
  13. 13. Xiong T, Li C, Bao Y. Seasonal forecasting of agricultural commodity price using a hybrid STL and ELM method: Evidence from the vegetable market in China. Neurocomputing. 2018; 275:2831–2844.
  14. 14. Sankaran S. Demand forecasting of fresh vegetable product by seasonal ARIMA model. International Journal of Operational Research. 2014; (3): 315–330.
  15. 15. Padhan PC. Application of ARIMA model for forecasting agricultural productivity in India. Journal of Agriculture and Social Sciences. (2012); 8(2):50–56.
  16. 16. Paul RK, Panwar S, Sarkar SK, Kumar A, Singh KN, Farooqi S, et al. Modelling and forecasting of meat exports from India. Agricultural Economics Research Review 2013; 26 (2): 249–256.
  17. 17. Paul RK, Bhardwaj SP, Singh DR, Kumar A, Arya P, Singh KN. Price Volatility in Food Commodities in India- An Empirical Investigation. International Journal of Agricultural and Statistical Sciences. 2015; 11(2): 395–401.
  18. 18. Girish GP. Spot electricity price forecasting in Indian electricity market using autoregressive-GARCH models. Energy Strategy Reviews. 2016; 11:52–57.
  19. 19. Flach P. Machine Learning: The Art and Science of Algorithms that Make Sense of Data. Cambridge University Press; 2012.
  20. 20. Bontempi G, Taieb S, Borgne Y. Machine Learning Strategies for Time Series Forecasting. Business Intelligence. Lecture Notes in Business Information Processing 2013; 138: 62–77.
  21. 21. Derbentsev V, Matviychuk A, Soloviev VN. Forecasting of Cryptocurrency Prices Using Machine Learning. In: Pichl L., Eom C., Scalas E., Kaizoji T. (eds.) Advanced Studies of Financial Technologies and Cryptocurrency Markets. Springer; 2020. p. 211–231. https://doi.org/10.1007/978-981- 15-4498-9_12
  22. 22. Kumari P, Sathish Kumar M. Forecasting area, production and productivity of citrus in Gujarat-An application of artificial neural network. International journal of Agriculture Sciences. 2021; 13(10):10913–10916.
  23. 23. Kumari P, Parmar DJ, Sathish Kumar M, Lad YA, Mahera AB. An artificial neural network approach for predicting area, production and productivity of Banana in Gujarat. The Pharma Innovation Journal. 2022; 11(4): 816–821.
  24. 24. Kumari P, Parmar DJ, Sathish Kumar M, Lad YA, Mahera AB. Forecasting area, production and productivity of mango in Gujarat by using an artificial neural network model. The Pharma Innovation Journal. 2022; 11(4): 822–826.
  25. 25. Kumar D, Rath SK. Predicting the Trends of Price for Ethereum Using Deep Learning Technique. In: Dash S., Lakshmi C.,Das S., Panigrahi B. (eds.). Artificial Intelligence and Evolutionary Computations in Engineering Systems. Advances in Intelligent Systems and Computing, 2020; 1056:103–114.
  26. 26. Kumari P, Mishra GC, Srivastava CP. Statistical models for forecasting pigeon pea yield in Varanasi region. Journal of Agrometeorology. 2016; 18 (2):306–310.
  27. 27. Kumari P, Mishra GC, Srivastava CP. Forecasting models for predicting pod damage of pigeon pea in Varanasi region. Journal of Agrometeorology. 2017; 19 (3):265–269.
  28. 28. Milunovich G. Forecasting Australia’s real house price index: A comparison of time series and machine learning methods. Journal of Forecasting. 2020; 39(7): 1098–1118.
  29. 29. Werbos PJ. Generalization of backpropagation with application to a recurrent gas market model, Neural Network. 1998; 1(4): 339–356.
  30. 30. Weng Y, Wang X, Hua J, Wang H, Kang M, Wang FY. Forecasting Horticultural Products Price Using ARIMA Model and Neural Network Based on a Large-Scale Data Set Collected by Web Crawler. IEEE Trans. Comput. Soc. Syst. 2019; 6: 547–553.
  31. 31. Ranjbar M., Soleymani S., Sadati N., &Ranjbar, A. M. Electricity price forecasting using artificial neural network. In 2006 International Conference on Power Electronic, Drives and Energy Systems, IEEE, December 2006; 2006. p. 1–5.
  32. 32. Jha GK, Sinha K. Agricultural price forecasting using neural network model: An innovative information delivery system. Agricultural Economics Research Review, 2013; 26:229–239.
  33. 33. Kumari P, Mishra GC, Srivastava CP. Time series forecasting of losses due to pod borer, pod fly and productivity of pigeon pea (Cajanus cajan) for North West Plain Zone (NWPZ) by using artificial neural network (ANN). International Journal of Agricultural and Statistical Science. 2014; 10(1):15–21.
  34. 34. Sabu KM, Kumar TM. Predictive analytics in Agriculture: Forecasting prices of Arecanuts in Kerala. Procedia Computer Science. 2020; 171:699–708.
  35. 35. Kurumatani K. Time series forecasting of agricultural product prices based on recurrent neural networks and its evaluation method. SN Applied Sciences. 2020; 2(8):1–17.
  36. 36. Box GE, Jenkins GM, Reinsel GC, Ljung GM. Time series analysis: forecasting and control, Holden-Day; 1970.
  37. 37. Pepple SU, Harrison EE. Comparative performance of Garch and Sarima techniques in the modelling of Nigerian board money. CARD Int J Soc Sci Confl Manag. 2017; 2(4):258–270.
  38. 38. Engle RF. Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrical Journal of the Econometric Society. 1982; 50: 987–1007.
  39. 39. Bollerslev T. Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics. 1986; 31:307–327.
  40. 40. Bera AK, Higgins ML. ARCH models: properties, estimation and testing. Journal of Economic Surveys. 1993; 7:305–366.
  41. 41. Ali G. EGARCH, GJR-GARCH, TGARCH, AVGARCH, NGARCH, IGARCH and APARCH models for pathogens at marine recreational sites. Journal of Statistical and Econometric Methods. 2013; 2:57–73.
  42. 42. Sem M, Orhan C, Aydın M. Estimation of Natural Frequencies and Buckling Critical Loads of Uniform and Sandwich Cantilever Beams by Using Artificial Neural Networks (ANN). International Conference on Multidisciplinary, Science, Engineering and Technology (IMESET’17 Bitlis), 2017 October 27–29; Malaysia.
  43. 43. Lenail A (2015) [Internet]. NN-SVG: Neural Network SVG Illustrator; c2023 [cited 2023 May 6]. Available from: https://alexlenail.me/NN-SVG/index.html
  44. 44. PyTorch (2019) [Internet]. PyTorch: Tensors and dynamic neural networks in Python with strong GPU acceleration; c2023 [cited 2023 May 6]. Available from: http://pytorch.org/
  45. 45. Graphviz (2021) [Internet]. Graphviz—Graph Visualization Software; c2023 [cited 2023 May 6]. Available from: https://www.graphviz.org/
  46. 46. Pant N. A guide for time series prediction using recurrent neural networks (LSTMS). Stats and Bots, 2017.
  47. 47. Hyndman RJ, Athanasopoulos G. Forecasting: Principles and Practice (2nd ed.). OTexts; 2018.
  48. 48. Prestwich S. Mean-based error measures for intermittent demand forecasting. International Journal of Production Research. 2014; 52(22):6782–6791.
  49. 49. Habyarimana JB. Forecasting Crop Production: A Seasonal Regression Model Decomposition of MAPE and SMAPE. Journal of Statistical Science and Application. 2014; 2:203–212.
  50. 50. Kolesnikova A. VCRIX-volatility index for crypto-currencies on the basis of CRIX. 2018, Humboldt-Universität zu Berlin.
  51. 51. Tang H, Chiu KC, Xu L. Finite mixture of ARMA-GARCH model for stock price prediction. In Proceedings of the Third International Workshop on Computational Intelligence in Economics and Finance (CIEF’2003), 2003 Sep 26; North Carolina, USA. p.1112–1119.
  52. 52. Ghumman AR, Ghazaw Yousry M, Sohail AR, Watanabe K. Runoff forecasting by artificial neural network and conventional model. Alexandria Engineering Journal. 2011; 50(4): 345–350.
  53. 53. Apaydin H, Hajar F, Mohammad TS, Muslume SC, Shahaboddin S, Kwok-Wing C. Comparative Analysis of Recurrent Neural Network Architectures for Reservoir Inflow Forecasting. Water. 2020; 12(5):1500.
  54. 54. Aggarwal A, Yadav S. A comparison of ARIMA and neural network model for stock price prediction. International Journal of Computer Applications. (2017); 174(15):1–5.
  55. 55. Zhang X, Huang C, Tang Y. A comparative study on stock price volatility forecasting using deep learning models. IEEE Access. (2019); 7:33663–33671.