Leveraging Machine Learning, Deep Learning, and Ensemble Learning for Feature Selection in Stock Market Prediction

Accurate prediction of sectoral stock indices is important for understanding short‐term market dynamics. This study investigates machine learning, deep learning, and ensemble learning approaches for predicting the NIFTY Auto Index, which represents the performance of the Indian automobile sector. Historical multivariate index data obtained from the National Stock Exchange (NSE) were processed using chronological train–test partitioning, lag generation, Min–Max normalization, and outlier screening. Long Short‐Term Memory (LSTM) network, Convolutional Neural Network (CNN), Gated Recurrent Unit (GRU), Adaptive Boosting (AdaBoost), Extreme Gradient Boosting (XGBoost), and Random Forest (RF) models were developed with and without XGBoost‐based feature selection, while Grid Search was used for hyperparameter optimization. SHapley Additive exPlanations (SHAP) analysis was employed to interpret predictor contributions. Model robustness was examined using 10‐fold expanding‐window cross‐validation and a 30‐day forecasting horizon. Performance was assessed using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE), with Random Walk Baseline (RWB) and Simple Moving Average (SMA) benchmarks. RF + FS and XGBoost + FS obtained the same overall mean rank of 1.67 and overall rank of 1 (tie). Seed‐based analysis indicated stable RF performance, while the Diebold–Mariano (DM) test showed no significant accuracy difference between RF and XGBoost.

Authors

Institutions

Publication Details

Journal
Applied AI Letters
Published
2026-11-22
DOI
https://doi.org/10.1002/ail2.70058
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Leveraging Machine Learning, Deep Learning, and Ensemble Learning for Feature Selection in Stock Market Prediction

Kaushal Kumar, Abhijit Bhowmik, Vivek John, Harvinder Singh et al.
Applied AI Letters
Stock Market Forecasting Methods
article

Leveraging Machine Learning, Deep Learning, and Ensemble Learning for Feature Selection in Stock Market Prediction

Kaushal Kumar, Abhijit Bhowmik, Vivek John, Harvinder Singh, Nitin Kumar, Rana Gill, Ashwani Kharola, Yohannes Mengist, Ajay Kumar, Sarpreet Singh
article en

Abstract

Accurate prediction of sectoral stock indices is important for understanding short‐term market dynamics. This study investigates machine learning, deep learning, and ensemble learning approaches for predicting the NIFTY Auto Index, which represents the performance of the Indian automobile sector. Historical multivariate index data obtained from the National Stock Exchange (NSE) were processed using chronological train–test partitioning, lag generation, Min–Max normalization, and outlier screening. Long Short‐Term Memory (LSTM) network, Convolutional Neural Network (CNN), Gated Recurrent Unit (GRU), Adaptive Boosting (AdaBoost), Extreme Gradient Boosting (XGBoost), and Random Forest (RF) models were developed with and without XGBoost‐based feature selection, while Grid Search was used for hyperparameter optimization. SHapley Additive exPlanations (SHAP) analysis was employed to interpret predictor contributions. Model robustness was examined using 10‐fold expanding‐window cross‐validation and a 30‐day forecasting horizon. Performance was assessed using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE), with Random Walk Baseline (RWB) and Simple Moving Average (SMA) benchmarks. RF + FS and XGBoost + FS obtained the same overall mean rank of 1.67 and overall rank of 1 (tie). Seed‐based analysis indicated stable RF performance, while the Diebold–Mariano (DM) test showed no significant accuracy difference between RF and XGBoost.

Applied AI LettersVol. 8(1)
Chandigarh University (IN), Lovely Professional University (IN), Uttaranchal University (IN), KR Mangalam University (IN), Noida Institute of Engineering and Technology (IN), Graphic Era University (IN), Chitkara University (IN), Sharda University (IN), Saveetha University (IN), Punjab Engineering College (IN), Debre Markos University (ET)
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon