Stock market prediction employing ensemble methods: the Nifty50 index

Chinthakunta Manjunath, Balamurugan Marimuthu, Bikramaditya Ghosh

Abstract


Accurately forecasting stock fluctuations can yield high investment returns while minimizing risk. However, market volatility makes these projections unlikely. As a result, stock market data analysis is significant for research. Analysts and researchers have developed various stock price prediction systems to help investors make informed judgments. Extensive studies show that machine learning can anticipate markets by examining stock data. This article proposed and evaluated different ensemble learning techniques such as max voting, bagging, boosting, and stacking to forecast the Nifty50 index efficiently. In addition, an embedded feature selection is performed to choose an optimal set of fundamental indicators as input to the model, and extensive hyperparameter tuning is applied using grid search to each base regressor to enhance performance. Our findings suggest the bagging and stacking ensemble models with random forest (RF) feature selection offer lower error rates. The bagging and stacking regressor model 2 outperformed all other models with the lowest root mean square error (RMSE) of 0.0084 and 0.0085, respectively, showing a better fit of ensemble regressors. Finally, the findings show that machine learning algorithms can help fundamental analyses make stock investment decisions.

Keywords


Bagging; Boosting; Fundamental analysis; Machine learning; National stock exchange fifty; Stacking; Stock market forecasting;

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v13.i2.pp2049-2059

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

View IJAI Stats