Abstract
Forecasting market performance and understanding the mechanism of price discovery is inherent to develop trading strategies. This paper examines the predictive power of machine learning algorithms in forecasting stock index. The study applies various machine learning algorithms and suggests the best model for forecasting stock index. We have developed an ensemble model to predict the daily closing index of Nifty 50 based on open, high, low and previous day’s close. The ensemble model includes a mix of simple linear regression, gradient boosted tree, decision tree and random forest. The parameters of the models are tested for its accuracy train-test split under supervised learning. The predicting accuracy of machine learning algorithms is further refined using cross-validation techniques that include leaving one out cross-validation and k-fold cross-validation. We found that the ensemble model provides an accurate forecast of the stock market index for the short term. The outcome of the study would facilitate the investors and portfolio managers to use the appropriate model for forecasting and take an informed decision by considering the nature of stock market volatility.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Garman MB, Klass MJ (1980) On the estimation of security price volatilities from historical data. J Bus 53(1):67–78
Alizadeh S, Brandt MW, Diebold FX (2002) Range-based estimation of stochastic volatility models. J Finan 57(3):1047–1091
Adebiyi AA, Adewumi AO, Ayo CK (2014) Comparison of ARIMA and artificial neural networks models for stock price prediction. J Appl Math 2014
Fischer T, Krauss C (2018) Deep learning with long short-term memory networks for financial market predictions. Eur J Oper Res 270(2):654–669
Göçken M, Özçalıcı M, Boru A, Dosdoğru AT (2016) Integrating metaheuristics and artificial neural networks for improved stock price prediction. Expert Syst Appl 44:320–331
Feuerriegel S, Gordon J (2018) Long-term stock index forecasting based on text mining of regulatory disclosures. Decis Support Syst 112:88–97
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Viswanathan, T., Stephen, M. (2021). Does Machine Learning Algorithms Improve Forecasting Accuracy? Predicting Stock Market Index Using Ensemble Model. In: Tripathy, A., Sarkar, M., Sahoo, J., Li, KC., Chinara, S. (eds) Advances in Distributed Computing and Machine Learning. Lecture Notes in Networks and Systems, vol 127. Springer, Singapore. https://doi.org/10.1007/978-981-15-4218-3_50
Download citation
DOI: https://doi.org/10.1007/978-981-15-4218-3_50
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-4217-6
Online ISBN: 978-981-15-4218-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)