Data Mining Applications to Prediction Stock Prices Using Decision Trees and Neural Networks
DOI:
10.59888/ajosh.v4i10.749Published:
2026-07-06Downloads
Abstract
Stock price prediction remains a significant challenge in financial markets due to the high volatility and complexity of influencing factors. This study explores the application of hybrid models combining Decision Tree (DT) and Neural Network (NN) methodologies to enhance stock price prediction accuracy. The research utilizes extensive historical market data as the foundational input for training both models individually. The Decision Tree model is employed for its interpretability and ability to handle non-linear relationships, while the Neural Network model capitalizes on its capacity to learn complex patterns through its layered architecture. After training and evaluating each model separately, a hybrid approach is introduced, which averages the predictions from both the DT and NN models. Performance is quantitatively assessed using Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE). The results indicate that the hybrid model consistently outperforms individual models, achieving an MAE of 5.6 and RMSE of 7.94, with an overall accuracy of 91.5%. This fusion of methodologies demonstrates improved accuracy and significantly reduces error margins, showcasing the complementary strengths of both algorithms. The findings suggest that leveraging hybrid models can effectively mitigate risks associated with market fluctuations and enhance investment strategies. This research contributes to the field of financial forecasting by providing investors with more robust tools for making informed decisions, and offers recommendations for future research directions in integrating machine learning techniques for financial prediction.
Keywords:
Data Mining Decision Tree Forecasting Neural Network StockReferences
Adebiyi, A. A., Ariyo, M. O., & Ayo, C. K. (2014). Comparison of ARIMA and artificial neural networks models for stock price prediction. Journal of Applied Computer Science & Mathematics.
Atienza, R. (2018). Advanced deep learning with Keras. Packt Publishing.
Chollet, F. (2017). Deep learning with Python. Manning Publications.
Feng, F., He, X., Wang, X., Luo, C., Liu, Y., & Chua, T. S. (2019). Temporal relational ranking for stock prediction. ACM Transactions on Information Systems, 37(2).
Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669.
Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT Press.
Gupta, R., Srivastava, D., Sahu, M., Tiwari, S., Ambasta, R. K., & Kumar, P. (2021). Artificial intelligence to deep learning: Machine intelligence approach for drug discovery. Molecular Diversity, 25(3), 1315–1360.
Han, J., Kamber, M., & Pei, J. (2012). Data mining: Concepts and techniques (3rd ed.). Morgan Kaufmann.
Henrique, B. M., Sobreiro, V. A., & Kimura, H. (2018). Stock price prediction using support vector regression on daily and up to the minute prices. Journal of Finance and Data Science, 4(3), 183–201.
Khaidem, L., Saha, S., & Dey, S. R. (2016). Predicting stock market returns using random forest. arXiv. https://arxiv.org/abs/1605.00003
Kowsari, K., Meimandi, K. J., Heidarysafa, M., Mendu, S., Barnes, L., & Brown, D. (2019). Text classification algorithms: A survey. Information, 10(4), 150.
Nabipour, M., Nayyeri, P., Jabani, H., Mosavi, A., Salwana, E., & Shahab, S. (2020). Predicting stock market trends using machine learning and deep learning algorithms via continuous and binary data. IEEE Access, 8, 150199–150212.
Pástor, ?., & Veronesi, P. (2012). Uncertainty about government policy and stock prices. The Journal of Finance, 67(4), 1219–1264.
Pástor, ?., & Veronesi, P. (2013). Political uncertainty and risk premia. Journal of Financial Economics, 110(3), 520–545.
Patel, J., Shah, S., Thakkar, P., & Kotecha, K. (2015). Predicting stock and stock index movement using trend deterministic data preparation and machine learning techniques. Expert Systems with Applications, 42(1), 259–268.
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
Qiu, M., Song, Y., & Akagi, F. (2016). Application of artificial neural network for the prediction of stock market returns. Chaos, Solitons & Fractals, 85, 1–7.
Romero, C., & Ventura, S. (2020). Educational data mining and learning analytics: An updated survey. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 10(3), e1355.
Roy, Y., Banville, H., Albuquerque, I., Gramfort, A., Falk, T. H., & Faubert, J. (2019). Deep learning-based electroencephalography analysis: A systematic review. Journal of Neural Engineering, 16(5), 051001.
Sezer, O. B., Gudelek, M. U., & Ozbayoglu, A. M. (2020). Financial time series forecasting with deep learning: A systematic literature review (2005–2019). Applied Soft Computing, 90, 106181.
License
Copyright (c) 2026 Dadan Shavkat Riswantoro, Harry Pratomo Bagaskoro , Bambang Suharjo , Danang Rimbawa

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International. that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.



