{"title":"Stock market prediction employing ensemble methods: the Nifty50 index","authors":"Chinthakunta Manjunath, Balamurugan Marimuthu, Bikramaditya Ghosh","doi":"10.11591/ijai.v13.i2.pp2049-2059","DOIUrl":null,"url":null,"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.","PeriodicalId":507934,"journal":{"name":"IAES International Journal of Artificial Intelligence (IJ-AI)","volume":"21 8","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IAES International Journal of Artificial Intelligence (IJ-AI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11591/ijai.v13.i2.pp2049-2059","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.