Effective Machine Learning Methods Used for Stock Price Forecasting: A Performance Evaluation

Authors

  • Khaja Moiezuddin Mohammed Iqvia
  • Venkata Phaneendra Reddi Atlantic Health systems
  • Pradeep Rao Vennamaneni JPMC
  • Sri Prudhvi Adusumilli Charter Communications
  • Rashmika Jalagam Matilda Cloud
  • Sridevi Allu American Airlines

DOI:

https://doi.org/10.47672/ajce.3036

Keywords:

Stock Price Forecasting, S&P 500 Index, Machine Learning, Financial Market Prediction, Linear Regression, Random Forest, Stock Market Analysis

Abstract

A crucial component of financial decision-making and investment planning is stock price forecasting, but it is a complicated problem because of the non-linear and unstable dynamics of the market. In this paper, the researcher outlines a functioning stock market forecasting model which aims at enhancing the degree of forecasting precision founded on the past data of the S and P500 index. The approach involves the use of systematic data gathering and a thorough preprocessing procedure, such as the management of missing data, feature scaling with standardization and chronologically dividing the dataset into training (80%) and testing (20%) sets. Machine learning (ML) models called Random Forest (RF) and Linear Regression (LR) are used to analyze current market trends and forecast future prices. The key error measures (R2, MSE, RMSE and MAE) are used to evaluate the performance of each model, which guarantees an accurate evaluation of forecasting reliability. The results of the experiments prove that both models provide very accurate predictions, though LR has slightly better error performance, and RF has high levels of generalization. The comparative analysis also demonstrates that proposed models are superior to the current models, such as ANN and SVM. Overall, the work offers an informative, evidence-based prediction model, which is resistant, stable, and can be used in supporting real-time financial decisions and investment policies.

Keywords: Stock Price Forecasting, S&P 500 Index, Machine Learning, Financial Market Prediction, Linear Regression, Random Forest, Stock Market Analysis.

 

Downloads

Download data is not yet available.

References

[1] L. Ryll and S. Seidens, “Evaluating the Performance of Machine Learning Algorithms in Financial Market Forecasting : A Comprehensive Survey,” 2019, doi: 10.48550/arXiv.1906.07786.

[2] S. Sarode, H. G. Tolani, P. Kak, and C. S. Lifna, “Stock Price Prediction Using Machine Learning Techniques,” in 2019 International Conference on Intelligent Sustainable Systems (ICISS), IEEE, 2019, pp. 177–181. doi: 10.1109/ISS1.2019.8907958.

[3] D. Selvamuthu, V. Kumar, and A. Mishra, “Indian stock market prediction using artificial neural networks on tick data,” Financ. Innov., vol. 5, no. 1, 2019, doi: 10.1186/s40854-019-0131-7.

[4] C.-F. Tsai and W. P, “Stock Price Forecasting by Hybrid Machine Learning Techniques,” Proc. Int. MultiConference Eng. Comput. Sci., vol. 1, 2009.

[5] K. C. Rasekhschaffe and R. C. Jones, “Machine Learning for Stock Selection,” Financ. Anal. J., vol. 75, no. 3, pp. 70–88, 2019, doi: 10.1080/0015198X.2019.1596678.

[6] I. Parmar et al., “Stock Market Prediction Using Machine Learning,” in 2018 First International Conference on Secure Cyber Computing and Communication (ICSCCC), IEEE, Dec. 2018, pp. 574–576. doi: 10.1109/ICSCCC.2018.8703332.

[7] M. Nikou, G. Mansourfar, and J. Bagherzadeh, “Stock price prediction using DEEP learning algorithm and its comparison with machine learning algorithms,” Intell. Syst. Accounting, Financ. Manag., vol. 26, no. 4, pp. 164–174, Oct. 2019, doi: 10.1002/isaf.1459.

[8] A. Ntakaris, M. Magris, J. Kanniainen, M. Gabbouj, and A. Iosifidis, “Benchmark dataset for mid-price forecasting of limit order book data with machine learning methods,” J. Forecast., vol. 37, no. 8, pp. 852–866, 2018, doi: 10.1002/for.2543.

[9] S. Kalra and J. S. Prasad, “Efficacy of News Sentiment for Stock Market Prediction,” in 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), 2019, pp. 491–496. doi: 10.1109/COMITCon.2019.8862265.

[10] V. Moni, “Machine Learning to Predict Annual Stock Market Index - a Genetic Programming Approach,” in 2019 1st International Conference on Innovations in Information and Communication Technology (ICIICT), IEEE, Apr. 2019, pp. 1–4. doi: 10.1109/ICIICT1.2019.8741439.

[11] T. B. Pun and T. B. Shahi, “Nepal Stock Exchange Prediction Using Support Vector Regression and Neural Networks,” in 2018 Second International Conference on Advances in Electronics, Computers and Communications (ICAECC), IEEE, Feb. 2018, pp. 1–6. doi: 10.1109/ICAECC.2018.8479456.

[12] T. Tantisripreecha and N. Soonthomphisaj, “Stock Market Movement Prediction using LDA-Online Learning Model,” in 2018 19th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), IEEE, Jun. 2018, pp. 135–139. doi: 10.1109/SNPD.2018.8441038.

[13] R. Batra and S. M. Daudpota, “Integrating StockTwits with sentiment analysis for better prediction of stock price movement,” in 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), IEEE, Mar. 2018, pp. 1–5. doi: 10.1109/ICOMET.2018.8346382.

[14] S. S. Maini and K. Govinda, “Stock market prediction using data mining techniques,” in 2017 International Conference on Intelligent Sustainable Systems (ICISS), IEEE, Dec. 2017, pp. 654–661. doi: 10.1109/ISS1.2017.8389253.

[15] W. Li and J. Liao, “A comparative study on trend forecasting approach for stock price time series,” in 2017 11th IEEE International Conference on Anti-counterfeiting, Security, and Identification (ASID), IEEE, Oct. 2017, pp. 74–78. doi: 10.1109/ICASID.2017.8285747.

[16] P. Suksiri, S. Chiewchanwattana, and K. Sunat, “Application of singular spectrum analysis and kernel-based extreme learning machine for stock price prediction,” in 2016 13th International Joint Conference on Computer Science and Software Engineering (JCSSE), IEEE, Jul. 2016, pp. 1–6. doi: 10.1109/JCSSE.2016.7748873.

[17] M. Usmani, S. H. Adil, K. Raza, and S. S. A. Ali, “Stock market prediction using machine learning techniques,” in 2016 3rd International Conference on Computer and Information Sciences (ICCOINS), IEEE, Aug. 2016, pp. 322–327. doi: 10.1109/ICCOINS.2016.7783235.

[18] S. Ray, “A Quick Review of Machine Learning Algorithms,” in 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), IEEE, Feb. 2019, pp. 35–39. doi: 10.1109/COMITCon.2019.8862451.

[19] T. Fischer and C. Krauss, “Deep learning with long short-term memory networks for financial market predictions,” Eur. J. Oper. Res., vol. 270, no. 2, pp. 654–669, Oct. 2018, doi: 10.1016/j.ejor.2017.11.054.

[20] J. Patel, S. Shah, P. Thakkar, and K. Kotecha, “Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniques,” Expert Syst. Appl., vol. 42, no. 1, pp. 259–268, 2015, doi: 10.1016/j.eswa.2014.07.040.

[21] N. Tripathy, “Stock Price Prediction Using Support Vector Machine Approach,” in Proceedings of The International Academic Conference on Management and Economics, Acavent, Nov. 2019. doi: 10.33422/conferenceme.2019.11.641.

[22] G. E. P. Box and G. M. Jenkins, Time Series Analysis: Forecasting and Control. San Francisco, CA, USA: Holden-Day, 1970.

[23] A. A. Ariyo, A. O. Adewumi, and C. K. Ayo, “Stock price prediction using the ARIMA model,” in 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, IEEE, Mar. 2014, pp. 106–112. doi: 10.1109/UKSim.2014.67.

[24] L. Breiman, “Random forests,” Mach. Learn., vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

[25] C. W. J. Granger and P. Newbold, “Spurious regressions in econometrics,” J. Econom., vol. 2, no. 2, pp. 111–120, 1974, doi: 10.1016/0304-4076(74)90034-7.

Addepalli, P. V., Bandaru, S. R., Shyam, D., Manoharan, P., Syed, M. H., & Ragireddy, U. K. (2022). Survey on Blockchain Integration with Sap S/4hana for Transparent and Secure Supply Chains. International Journal of AI, BigData, Computational and Management Studies, 3(1), 161-170.

Bandaru, S. R., Shyam, D., Manoharan, P., Syed, M. H., Ragireddy, U. K., & Addepalli, P. V. (2022). A Review of Frameworks, and Impact on the Software Development Life Cycle with Artificial Intelligence in Software Engineering. American International Journal of Computer Science and Technology, 4(1), 44-53.

Chilakapati, V. K., Keshireddy, S. R., Nagumotu, V. T., Kavuluri, H. V. R., Pathani, A. K., & Dasari, A. (2022). Review on Network Virtualization and SDN in Industrial IoT (IIoT). International Journal of Artificial Intelligence, Data Science, and Machine Learning, 3(1), 162-172.

Dasari, S., Chilakapati, V. K., Keshireddy, S. R., Nagumotu, V. T., Kavuluri, H. V. R., & Pathani, A. K. (2022). Networking Paradigms for Large-Scale IoT Deployments: A Survey on Reliability, Latency, and Scalability. International Journal of Emerging Trends in Computer Science and Information Technology, 3(1), 136-144.

Jannu, P. K., Mohammad, J. A., Panchali, S. H., Mylavarapu, K. B., & Pilli, J. (2022). Heat Dissipation Strategies for High-Performance Computing: A Review of Air and Liquid Cooling Efficiency. International Journal of Emerging Trends in Computer Science and Information Technology, 3(1), 145-153.

Keshireddy, S. R., Nagumotu, V. T., Kavuluri, H. V. R., Pathani, A. K., Dasari, A., & Chilakapati, V. K. (2022). Towards Secure and Reliable IoT: A Review on Anomaly Detection and Predictive Analytics in Sensor Networks. International Journal of AI, BigData, Computational and Management Studies, 3(1), 140-149.

Manoharan, P., Syed, M. H., Ragireddy, U. K., Addepalli, P. V., Bandaru, S. R., & Shyam,D. (2022). Understanding the Use of Agile Development Practices Alongside Quantum Computing in Modern Engineering Projects. International Journal of Emerging Research in Engineering and Technology, 3(1), 136-143.

Mohammad, J. A., Panchali, S. H., Mylavarapu, K. B., Pilli, J., & Jannu, P. K. (2022). An Ensemble Machine Learning Approach for Reliable Fake News Detection on Social Media Platforms. International Journal of Artificial Intelligence, Data Science, and Machine Learning, 3(1), 152-161.

Mylavarapu, K. B., Pilli, J., Jannu, P. K., Mohammad, J. A., & Panchali, S. H. (2022). Comparative Performance of Machine Learning Techniques for Sentiment and Insight Analysis in Amazon Product Reviews. American International Journal of Computer Science and Technology, 4(1), 54-64.

Nagumotu, V. T., Kavuluri, H. V. R., Pathani, A. K., Dasari, A., Chilakapati, V. K., & Keshireddy, S. R. (2022). Machine Learning-Driven Threat Analysis for Enhancing Security in Data Center Networking. American International Journal of Computer Science and Technology, 4(1), 65-76.

Panchali, S. H., Mylavarapu, K. B., Pilli, J., Jannu, P. K., & Mohammad, J. A. (2022). Predictive Maintenance in Smart Manufacturing: A Review of Machine Learning and Digital Twin Approaches. International Journal of AI, BigData, Computational and Management Studies, 3(1), 150-160.

Pathani, A. K., Dasari, A., Chilakapati, V. K., Keshireddy, S. R., Nagumotu, V. T., & Kavuluri, H. V. R. (2022). Effective Monitoring of Sensor-Actuator Integration Methods for Real-Time Controlling in Smart Device Networks. International Journal of Emerging Research in Engineering and Technology, 3(1), 144-154.

Pilli, J., Jannu, P. K., Mohammad, J. A., Panchali, S. H., & Mylavarapu, K. B. (2022). Review of Supply Chain–Integrated CRM Systems for Business Agility. International Journal of Emerging Research in Engineering and Technology, 3(1), 155-163.

Ragireddy, U. K., Addepalli, P. V., Bandaru, S. R., Shyam, D., Manoharan, P., & Syed, M. H. (2022). Intelligent Predictive System of Cloud Resource Utilization Forecasting with Advanced Deep Learning. International Journal of Artificial Intelligence, Data Science, and Machine Learning, 3(1), 143-151.

Syed, M. H., Ragireddy, U. K., Addepalli, P. V., Bandaru, S. R., Shyam, D., & Manoharan, P. (2022). A Survey of Statistical Process Control and Its Applications in Manufacturing Quality Assurance. International Journal of Emerging Trends in Computer Science and Information Technology, 3(1), 127-135.

Taluri, R. (2021). Cloud-Native Architectures for Enterprise Financial Data Management, Analytics, and Regulatory Reporting Compliance. International Journal of Emerging Trends in Computer Science and Information Technology, 2(2), 101-111. https://doi.org/10.63282/3050-9246.IJETCSIT-V2I2P112

Taluri, R. (2022). Cloud Data Engineering Strategies for Large-Scale Financial Data Integration and Intelligent Corporate Performance Reporting. International Journal of Emerging Research in Engineering and Technology, 3(4), 176-188. https://doi.org/10.63282/3050-922X.IJERET-V3I4P119

Downloads

Published

2026-11-22

How to Cite

Mohammed, K. M., Reddi, V. P., Vennamaneni, P. R., Adusumilli, S. P., Jalagam, R., & Allu, S. (2026). Effective Machine Learning Methods Used for Stock Price Forecasting: A Performance Evaluation. American Journal of Computing and Engineering, 9(1), 1–18. https://doi.org/10.47672/ajce.3036

Issue

Section

Articles

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.