Submitted:
31 December 2025
Posted:
01 January 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Problem Statement
1.2. Contribution
2. Literature Review
| SNo. | Citation (Author, Year) | Research Objective | Methodology | Data Used (Time Series Period) | Key Findings and Accuracy Level | Evaluation Metric |
|---|---|---|---|---|---|---|
| 1 | [5] | Predicting Apple Inc. Stock close price to compare Linear Regression and Random Forecast model. | Applied Random Forest and Linear Regression on Apple stock price; used 80% training 20% test. | Apple stock data(High, close, low, adjusted and volume from 01-2018-07-2023 (14,35 RECORDS) | LR outperformed RF with lowest (MAE=2.0988, MSE =7.9001,RMSE=2.8017). LR shows lower error values as compared to RF fails to capture fluctuations after 2023. | MAE, MSE, RMSE |
| 2 | [17] | To find which ML models can best to predict apple Inc. stock price using Technical Indicators. | Compared five ML models- Linear Regression, Random forest, KNN, Neural Network and Decision Tree. | Apple Inc. Stock data and 23 Technical Indicators( Yahoo Finance, Trading View) over 5 years. | Neural Network performs best with average = 0.90% , lowest = 0.74%.Random Forest overfitted.LR close. Simpler models with fewer indicators worked better. | Percent Error, MAPE |
| 3 | [12] | Comparative Analysis of Support Vector Regression and Linear Regression Models to Predict Apple Inc. Share Prices with hyperparameter tunning. | Data Prep-> normalization->train/test split-> Grid-Search and 5-fold CV to optimize SVR and Linear Regression. | Daily Apple Stock historical data (2018- 2023), variables: Data, high, low, close, volume; focus on date & Close. | Linear Regression outperformed best (Intercept= True); RMSE=0.931231, MSE=0.879372; SVR RMSE=0.945622, MSE=0.907957. | RMSE and MSE |
| 4 | [10] | Ragi price prediction in karnataka using deep learning techniques | VAR, LSTM, GRU, 1D CNN and VAR_Stacked_LSTM | Ragi prices from 2010-2019 collected from AGMARKNET | VAR_Stacked_LSTM perform well with minimum MAPE | AIC, BIC, MAPE |
| 5 | [9] | To predict future stock prices using a deep learning model (Bi-Directional LSTM) that can learn patterns in both forward and backward time directions. | Used Bi-LSTM neural network architecture with two LSTM layers (forward + backward) and a Dense output layer. Data was normalized using MinMaxScaler, split 80% for training and 20% for testing. Model trained with Adam optimizer, batch size 64, for 100 epochs. | Daily closing prices of Apple Inc. from Jan 1, 2010 – Dec 31, 2020 (total 2769 data points). | Bi-LSTM captured both short-term and long-term stock price trends. Achieved low error (). Model accurately predicted trends but struggled with sudden market changes. | Mean Squared Error (MSE) |
| 6 | [8] | Predicting Apple’s Stock price based on Machine Learning using LSTM and ARIMA model | Preprocessed data separately input into ARIMA and LSTM networks.Scale the data using "MinMaxScaler". | Closing price of Apple’s Stock data from 1980 to 2021 extracted from Yahoo Finance total (10,468) data points | LSTM model outperforms the ARIMA model for long-term overall predictions with lowest () | Mean Squared Error (MSE),Mean Absolute Error(MAE), Root Mean Squared Error(RMSE) |
| 7 | [7] | Compared models (MLP, DAN2 and GARCH) for forecasting NASDAQ stock exchange index. | MLP, GARCH-MLP,DN2 , GARCH-DN2 models compared.MLP and DAN2 used 4 days inputs. Hybrid models used NeuroSolutions 5.06 software and excel. | Daily Stock exchange rates of NASDAQ from Oct 7, 2008- June 26, 2009 used. 146 data points are used for training and 36 data points for testing. | MLP outperforms DAN2 and GARCH-MLP with a small difference. MLP has the lowest (MSE, MAD, accurately forecasted first downward movements ±0.54%), hybrids underperformed. | MSE, MAD, MAD% (lowest value better) |
| 8 | [24] | Data-Driven analysis of climate impact on tomato and apple prices using machine learning models, time-delay | LSTM model with time-lag effects(0-180 days, SHAP for importance of each factor, price modelled nominal and real-term. | The daily environmental data, exchange volume data, and wholesale price data used from (01-12-2011 to 30-11-2023). Training data were (Dec 1, 2011 to Nov 30, 2020), 3 years for evaluation. Two fruits were used - apple and tomato. | Time-lags improved accuracy; for tomato nominal best NSE of 0.458(d=88), Tomato real-term 0.292 (d=53, volume significant), Apple real-term 0.140 (); cloud volume and amount are most important, apples less affected by volume. | NSE(Nash-Sutcliffe efficiency)-higher value is better for prediction, MAE for model training. |
| 9 | [21] | Forecasting apple prices for Solan market, Himachal Pradesh, using different time series and machine learning models. | Various time series models, ARIMA, ARCH-GARCH and RNN-LSTM were used. | Daily price data from AGMARKNET over the period 2012 to 2023 were used. | RNN-LSTM model performs well with lowest(RMSE, MAPE). ARIMA(6,1,1) and GARCH(1,1) were best-fitted models based on minimum Information Criteria. | RMSE, MAPE, AIC, HQC, AICC,SBC |
| 10 | [2] | Apple’s price forecasting of Solan Market, Himachal Pradesh using different time series models | ARIMA, HWMS, TDNN, Hybrid ARIMA-TDNN , RMSE | Apple’s Price data from JAN 2008 to DEC 2020 from Solan Market | Hybrid ARIMA -TDNN performs well with lowest RMSE = 19.78 | RMSE |
| 11 | [19] | Apple Price forecasting of fruit market in Jammu Kashmir | Polynomial Regression, CAGR(Compound Annual Growth Rate ), SMA, Seasonal index | The Data is derivated from AGMARK and National Horticulture Board between the timeline of 2003 to 2022 | Prices peaks in June, Compound Annudal Growth Rate is=8.75, Prediction for 2030 = ¤9,293/qtl | Seasonal Index, CAGR, R squared |
| 12 | [4] | Exploring the fluctuation of prices and anlyzing the factors affecting fluctuations in Hebei, China | Multiple regression model. | Data from E commerce site-Jingdong, taobao ( Dec-2017), and wholesale monthly data from Feb-2011 to October-2015 | Seasonal upward trend Higher in summer and lower in winter, Main factors like Variety Logistics, place. Goodness of fit of model is R = 0.853 | ANOVA, R, R-square, F, Significance, Co-integration test, t- Statistics |
| 13 | [25] | For the Forecast of prices using ensemble regression | Regression Models SVR, GPR, DTR(Decision Regression), GPR, RFR, Gradient Boosting (XGBoot) | Data collected from Indian Rainfall, Wholesale Price Index, crops; ragi, barley, wheat,paddy and maize. | Ensemble regression improved accuracy over individual models; XGBOOST lowest RMSE (1.86-11.39) | MAPE, MAE, R-Square, PE |
| 14 | [14] | Analyze apple price using SARIMA model | SARIMA model ARIMA(2,1,0) *ARIMA(1,1,0,12) | Apple data collected from Jan 1998 to Jul 2017 with 235 data points | Relative error approx. 2% close to ideal. | Relative error ( 2%), Normality of errors |
| 15 | [18] | Apple price prediction of Indonesian Market using SARIMA model | SARIMA(1,0,0) *(0,0,0,12) | Average apple price data from Indonesian market. 109 month taken from year 2018 | SARIMA performs best with AIC =-126.8965. MAPE shows error 99.47 which means model is not good for univariate analysis | MAPE,AIC |
| 16 | [13] | Advanced Mango classification and Price Prediction using deep learning techniques | EfficientBNet2 model and Tensor flow | labeled dataset of 2,000 images of mangoes of 8 varities. | Model performs well with 98% validation accuracy. Predicted varities with high probability(95-96%) | Precision, F1 Score, Accuracy, Recall |
| 17 | [3] | Sales prediction of fruits using linear regression model | Linear regression, Decision Tree,Neural Netwrok with L1 & L2 regularization | Sales data from 2021-2023 | Linear Regression performed well with accuracy=99.99% and R-square=0.9996 | Accuracy, RMSE, MSE, R-square |
| 18 | [26] | Forecasting fruit and vegetables prices using seasonal rainfall data | ML model for regression(LSTM, ANN, Decision Tree etc.) and calssification(KNN, Naïve-bayes,gradient boost, RF etc.) | Daily price data from Goa including five types fruits and vegetables and rainfall data from supplier region . | Random forest performs well with accuracy (R-square=0.99 and RMSE = 18.99) and DT in classification 99% accuracy. | Accuracy, Precision, F1-Score, MAE, RMSE, MSE, R-square error |
| 19 | [16] | Predict price of fruits, vegetables and pulses using trends in prior data. | ML Decision Tree, KNN, Random Forest, Neural Network | total dataset of 3100 including temp, humidity , ph of soil, rainfall , fruits , vegetables and pulses. | Decision tree works well gives accuracy 91.70% | RMSE, Accuracy |
| 20 | [15] | Crop forecasting and estimation to help farmers & Crop Yield Estimation and profitability analysis for Agriculture | Models like SVM, KNN, Decision tree, Naïve bayes fro crop prediction and for crop price estimation Random forest regressor, XG boosting regressor, Gradient Boosting Regressor | Data set with soil, weather and crop data of Tamil Nadu | Best model is XG Boosting Regressor with lowest MSE= 357. 61, RMSE= 18.91, MAE= 16.10 and highest R square = 0.977 | MSE, MAE, RMSE, R square, F1 Score, Accuracy, Precision, Recall |
| 21 | [27] | Predicting Agriculture commodities price using ensemble method | ARIMA , LSTM, ensemble ARIMA-LSTM algorithms were used for price prediction.Dataset is clean and processed using MATLAB | Data collected from FAMA, Malaysia: daily market price from 1st Jan 2018 to 5th April 2022 containing six commodity types with three prices types. | ensemble ARIMA-LSTM performed better | RMSE, MAPE |
| 22 | [6] | Forecasting price prediction of fruits and vegetables using RNN | Three RNN techniques were used LSTM , GRU and SimpleRNN | dataset of historical prices of fruits and vegetables from websites. | LSTM performs well with lowest RMSE= 8.10, MAE=3.34, MSE= 65.659 with highest R square =0.993 as compared to GRU and Simple RNN. | RMSE, MAE, MSE, R2 |
| 23 | [23] | To estimate cost and fruit weight prediction using image based deep learning | Based on YOLOv9 CNN for image- based detection | Image based dataset | YOLOv9 achieved 95% accuracy in fruit detection 96% accuracy achieved for weight prediction | R2, accuracy, exceution time |
| 24 | [20] | This study focuses durian yield prediction method based on Multiple regression model. | Multiple regression model using Residual Principal Component . Used Intel i7-12700T processor and MATLAB. | Durian field data collected from different sensors from 2008 to 2022, production base in Penang, Malaysia | In training test model accuracy is 9.946, and In test data 7.134% | Standard error, F- value, Error rate |
| 25 | [22] | Spoilage detection and price assessment of fruit-quality using CNNs combined with (LLMs) | Deep learning models:- EfficientNetB7, ResNet50, VGG16. | Used fresh and rotten fruits dataset with images from Robolfow(224*224 pixel) | EfficientNetB7 performs well with Accuracy =94.26 then ResNet50 with accuracy =92.26. Underformed VGG16 | Accuracy, Precision, F-1 Score , Recall |
| 26 | [11] | Cost and income forecast for fruit crop entrepreneurs using Multiple Regression model and BI tools | Business tools (BI) and Multiple Regression model | Historical data of cost, yield, weather conditions and soil quality gathered from book by MARDI | Cost model R2 = 0.8649 , Income model R2= 0.7481. BI provided real time insights from better decision making | R2, RMSE, MAE |
3. Methodology
3.1. Data Preprocessing
3.2. Data Aggregation
3.3. Data Balancing
3.4. SARIMA Model
3.5. ETS
3.5.1. Error
3.5.2. Trend
3.5.3. Seasonality
3.6. LSTM
4. Results and Experiments
| Series | ADF p-value | Stationary |
|---|---|---|
| Original | 0.802188 | No |
| 1st Difference | Yes |
| Dataset | Period | Months |
|---|---|---|
| Train | 09-2002–12-2020 | 220 |
| Test | 01-2021–08-2025 | 56 |
| Model Overview | |||
|---|---|---|---|
| Dep. Variable | Modal price (Rs./Quintal) | No. Observations | 220 |
| Model | SARIMA(0,1,0)×(1,0,[1],12) | Log Likelihood | -1595.566 |
| Date | Tue, 21 Oct 2025 | AIC | 3197.131 |
| Time | 23:02:45 | BIC | 3207.115 |
| Sample | 09-30-2002 | HQIC | 3201.169 |
| Coefficient Estimates | |||
| Term | Coef | Std Err | z / P / [0.025, 0.975] |
| ar.S.L12 | 1.0248 | 0.018 | 58.348 / 0.000 / [0.990, 1.059] |
| ma.S.L12 | -0.7604 | 0.062 | -12.312 / 0.000 / [-0.881, -0.639] |
| sigma2 | 3.09e+05 | 2.47e+04 | 12.533 / 0.000 / [2.61e+05, 3.57e+05] |
| Diagnostic Statistics | |||
| Ljung-Box (L1) (Q): | 0.015 | Jarque-Bera (JB): | 25.55 |
| Prob(Q): | 0.70 | Prob(JB): | 0.00 |
| Heteroskedasticity (H): | 0.65 | Skew: | -0.15 |
| Prob(H) (two-sided): | 0.08 | Kurtosis: | 4.70 |
| Index | Model | MAE | RMSE | MAPE (%) | R2 (Accuracy) |
|---|---|---|---|---|---|
| 0 | SARIMA | 1221.61 | 1459.68 | 14.44 | 0.3264 |
| 1 | ETS | 1693.58 | 1990.36 | 19.97 | -0.2522 |
| 2 | LSTM | 554.08 | 752.10 | 6.63 | 0.7886 |
5. Conclusion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| LSTM | Long Short-Term Memory |
| SARIMA | Seasonal AutoRegressive Integrated Moving Average |
| ETS | Error, Trend, Seasonal |
| MAE | Mean Absolute Error |
| RMSE | Root Mean Squared Error |
| MAPE | Mean Absolute Percentage Error |
References
- Thakur, R.; Sharma, S.; Laishram, C.; Negi, A. Farmer’s perception towards adoption of eco-friendly natural farming system in Mandi District of Himachal Pradesh, India. Asian Journal of Agricultural Extension, Economics & Sociology 2023, 41(10), 576–585. [Google Scholar]
- Vinay, T.V.; Gupta, R.K.; Swain, D.K.; Bohidar, C.; Sahoo, B.; Satapathy, B.; Chandel, A.; Devi, S.; Bansal, S.; Rattan, A. Apple price forecasting using different time series models for Solan market; Himachal Pradesh, India.
- Bhumireddy, J.; Bose, A. Sales prediction for imported fruits using a linear regression model. In Proceedings of the 16th International Conference on Computational Intelligence and Communication Networks (CICN), 2024; IEEE; pp. 1505–1509. [Google Scholar]
- Gan, Y. The research of apple price fluctuations and influencing factors. In Proceedings of the 6th Annual International Conference on Social Science and Contemporary Humanity Development (SSCHD 2020), 2021; Atlantis Press; pp. 727–734. [Google Scholar]
- Gao, Y. The prediction of apple stock price based on linear regression model and random forest model. Theoretical and Natural Science 2024, 30(1), 103–109. [Google Scholar] [CrossRef]
- Gothai, E.; Rajalaxmi, R.R.; Thamilselvan, R.; Harshath, S.M. Forecasting price prediction for vegetables and fruits using recurrent neural network. In Proceedings of the 5th International Conference on Electronics and Sustainable Communication Systems (ICESC), 2024; IEEE; pp. 1889–1896. [Google Scholar]
- Guresen, E.; Kayakutlu, G.; Daim, T.U. Using artificial neural network models in stock market index prediction. Expert Systems with Applications 2011, 38(8), 10389–10397. [Google Scholar] [CrossRef]
- Yang, C.-Y.; Hwang, M.-S.; Tseng, Y.-W.; Yang, C.-C.; Shen, V.R.L. Advancing financial forecasts: stock price prediction based on time series and machine learning techniques. Applied Artificial Intelligence 2024, 38(1), 2429188. [Google Scholar] [CrossRef]
- Han, C.; Fu, X. Challenge and opportunity: deep learning-based stock price prediction by using bi-directional LSTM model. Challenge 2023, 8(2). [Google Scholar] [CrossRef]
- Meena, K.; Chaitra, B. A novel framework using deep learning techniques for ragi price prediction in Karnataka. IEEE Access 2024. [Google Scholar]
- Mishan, M.T.; Amir, A.L.; Salleh, N.M. An analysis on cost and income prediction system using multiple linear regression and business intelligence for entrepreneur in fruit crop. In Proceedings of the 5th International Conference on Artificial Intelligence and Data Sciences (AiDAS), 2024; IEEE; pp. 430–434. [Google Scholar]
- Pangestu, R.A.; Vitianingsih, A.V.; Kacung, S.; Maukar, A.L.; Noertjahyana, A. Comparative Analysis of Support Vector Regression and Linear Regression Models to Predict Apple Inc. Share Prices. Ph.D. Thesis, Petra Christian University, Indonesia, 2024. [Google Scholar]
- Peerzada, S.; Saud, M.R.; Javed, D. Neuralmango: Advanced mango classification and price prediction. In Proceedings of the International Conference on Engineering & Computing Technologies (ICECT), 2024; IEEE; pp. 1–6. [Google Scholar]
- Ruiz Hernández, J.A.; Barrios Puente, G.; Gómez Gómez, A.A. Analysis of the price of the apple using a SARIMA model. Revista Mexicana de Ciencias Agrícolas 2019, 10(2), 225–237. [Google Scholar] [CrossRef]
- Shanmugasundaram, C.; Umamaheswari, C.; Vijayalakshmi, A.; Varghese, P.E. Crop forecasting and estimation: crop yield estimation and profitability analysis for precision agriculture. In Proceedings of the International Conference on System, Computation, Automation and Networking (ICSCAN), 2024; IEEE; pp. 1–7. [Google Scholar]
- Sharma, C.; Misra, R.; Bhatia, M.; Manani, P. Price prediction model of fruits, vegetables and pulses according to weather. In Proceedings of the 13th International Conference on Cloud Computing, Data Science & Engineering (Confluence), 2023; IEEE; pp. 347–351. [Google Scholar]
- Smith, H. The utilization of artificial intelligence to predict Apple Inc. stock price. Journal of High School Science 2024, 8(3), 16–29. [Google Scholar] [CrossRef]
- Soetrisno, Y.A.A.; Handoyo, E.; Ilyasa, M.H.; Denis; Sinuraya, E.W. Time-series analysis for predicting apple prices in Indonesian market using the SARIMA method. In Proceedings of the 1st International Conference on Advanced Information Science and System, 2019; pp. 1–6. [Google Scholar]
- Sutradhar, S.; Sharma, E.; Bhat, A.; Sood, A. Price analysis and forecasting of apple: An empirical study on fruit market of Jammu and Kashmir. Economic Affairs 2024, 69(4), 1695–1700. [Google Scholar]
- Tang, R.; Aridas, N.K.; Abu Talip, M.S. A durian yield prediction method based on an improved multiple regression model. In Proceedings of the 7th International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE), 2023; IEEE; pp. 140–145. [Google Scholar]
- Thakur, R.; Sharma, S.; Negi, A. Apple price forecasting using different time series models in Himachal Pradesh 2023.
- Joseph, K.; Thanka, M.R. AI framework for fruit quality assessment: integrating CNN-based spoilage detection, price estimation, and LLM-powered insights. In Proceedings of the 2025 Fourth International Conference on Smart Technologies, Communication and Robotics (STCR), 2025; IEEE; pp. 1–6. [Google Scholar]
- Kumar, S.Y.; Mishra, A.; Nambiar, R.; Nekar, A.; Benedict, S. Fruit weight prediction and cost estimation using YOLOv9-based deep learning. In Proceedings of the 2024 International Conference on IoT Based Control Networks and Intelligent Systems (ICICNIS), 2024; IEEE; pp. 1304–1309. [Google Scholar]
- Yoon, S.; Kim, T.-H.; Kim, D.S. Data-driven analysis of climate impact on tomato and apple prices using machine learning. Heliyon 2025, 11(1). [Google Scholar] [CrossRef]
- Ragunath, R.; Rathipriya, R. Predicting agriculture commodity price trends using ensemble regression approach. Journal of Agricultural Sciences–Sri Lanka 2025, 20(3). [Google Scholar] [CrossRef]
- Oberoi, K.G.; Deepa, K.; Sangeetha, S.V.T.; Neelima, N. Predicting vegetables and fruits through supply chain insights. Proceedings of the 2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI) 2024, Vol. 2, 1–5. [Google Scholar]
- Hakim, A.Q.A.; Abd Rahman, M.A.; Radzi, S.F.M. Ensemble ARIMA-LSTM algorithm in predicting agriculture commodities market price for farmer’s education. In Proceedings of the 2024 7th International Conference on Information Technologies in Engineering Education (Inforino), 2024; IEEE; pp. 1–6. [Google Scholar]






Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
