Journal of Intelligent Systems and Internet of Things

Feature Selection and Stability Analysis using Ensemble Techniques

Dipti Theng, K. K. Bhoyar, Prashant Pawade
Volume 16, Issue 1, pp. 41-48 (2025)
DOI: https://doi.org/10.54216/JISIoT.160104
Online: https://www.americaspg.com/journal/18/article/3579

Abstract

Selecting the most relevant feature subset for a task is demanded and recommended for high accuracy and reduced model training time. Ensemble learning has shown superior results in classification; hence, we propose an ensemble method for feature selection and shown stability analysis for the selected feature set. The research question being investigated is whether ensemble methods are effective at selecting informative features in a dataset and if the selected features are stable compared to other feature selection methods. This paper presented a tree-based ensemble learning approach for feature selection. Our approach for ensemble feature selection includes function perturbation with the voting ensemble, an ensemble with a fixed number of features, and an ensemble with a contiguous number of features. Ensemble learning is found to be superior to other traditional feature selection algorithms. Ensemble learning algorithms are implemented on two high-dimensional microarray biomedical datasets. From our experimental study, it is observed that the voting ensemble outperforms other ensemble techniques, thereby reducing feature subset size and achieving higher accuracy. Stability analysis of all the algorithms has been studied and it is found that all ensemble techniques have higher stability than the traditional feature selection methods. Thus, ensemble learning proves to be a superior technique for feature selection. Our results demonstrate that the proposed method is effective in identifying relevant features and stable features and can improve the performance of machine learning models.

Keywords: Feature selection; Ensemble technique; Stability; Microarray dataset; Biomarker selection

1. Introduction

Feature selection stands as a pivotal data preprocessing step in machine learning and data science, aimed at identifying a compact and highly discriminative subset from the original feature set. The problem being addressed is the high dimensionality of modern datasets, which can lead to overfitting and poor generalization of models. Reduced dimensionality using feature selection improves the model accuracy and reduces training time compared to the complete feature set. Ensemble techniques can be used for feature selection because they provide feature importance, which can be used to rank and select features. Ensemble learning is implemented in two ways as function perturbation and data perturbation. In function perturbation, multiple functions (algorithms) are implemented, and each algorithm’s advantage is taken into consideration by aggregating (ensemble) the results of these algorithms [1]. However, in data perturbation, one algorithm is implemented on different samples of the same dataset. Here multiple sets of samples (by cross-validation or random spacing) yield diverse feature set selection, which is then aggregated to generate a single feature set [2-3]. Ensemble learning approach for feature selection improves classification accuracy compared to the traditional feature selection techniques [4]. Other than classification accuracy, the stability of the selected feature set is an important parameter to analyze the feature set’s robustness [5-6]. Stability is the sensitivity of the selected features to the data variation. The higher the stability index more stable the feature set. Various stability indices are defined according to the feature category divided into similarity-based and frequency-based approaches [7].

The research question being investigated is whether ensemble methods are effective at selecting informative features in a dataset and if the selected features are stable compared to other feature selection methods. It will also investigate how the performance of models trained using the selected features compares to those trained using other feature selection methods or all the features. This paper implemented a tree-based ensemble learning approach for feature selection. Tree-based algorithms are highly effective for classification in machine learning. Therefore, they may also be used to identify the most discriminating feature responsible for most accurate categorization. Our approach for ensemble feature selection includes function perturbation with the voting ensemble, an ensemble with a fixed number of features, and an ensemble with a contiguous number of features. Ensemble learning is found to be superior to other traditional feature selection algorithms. Ensemble learning algorithms are implemented on two high-dimensional microarray bioinformatics datasets. From our experimental study, it is observed that the voting ensemble outperforms other ensemble techniques, thereby reducing feature subset size and achieving higher accuracy. Stability analysis of all the algorithms has been studied and it is found that all ensemble techniques have higher stability than the traditional feature selection techniques. Thus, ensemble learning proves to be a prominent technique for feature selection.

2. Literature Review

Review on the recent development of ensemble learning for feature selection is studied and presented in this section. Review has mainly focused on studying ensemble approach, which has claimed good accuracy using ensemble feature selection. Target was to understand the way ensemble is applied and algorithms contributed in the ensemble. The literature review discusses the challenges and limitations of using ensemble methods for feature selection and stability analysis, and suggest future directions for research in this area.

Table 1. Review Summary
Table 1. Review Summary

From review presented in table I, it is observed that tree-based learning algorithms have good capability to identify most discriminating features. These algorithms rather than for classification can also be used effectively for feature selection tasks. Thus, our proposed ensemble technique considers implementing tree-based algorithms as one of the functions in function perturbation ensemble.

3. Methodology and Results

This section briefs the dataset used for experimentation and ensemble techniques applied for the feature selection. The dataset description section provided a detailed description of the dataset used in the experimentation. Ensemble technique section describes the ensemble function perturbation used to conduct the research or experiment.

A. Dataset Description Dataset used for research experimentation are as detailed in table-II. These are biomedical high dimensional datasets. Datasets are of binary classification tasks and class represents a type of cancer. Low instances to features ration in table shows the high dimensionality and low sample size characteristic of the dataset. Dataset imbalance may exist due to low sample size and it is handled using SOMTE (Synthetic Minority Oversampling Technique) algorithm. Instead of oversampling with replacement, SOMTE creates "synthetic" representatives of the minority class. Data preprocessing and imbalance handling is the first step of proposed approach as indicated in figure 1. Preprocessed data is then given to feature selection algorithm in stage-1.

Table 2. Dataset Description
Table 2. Dataset Description

Such high dimensional datasets lead to poor classification accuracy when worked with full feature set [13]. This demands feature set reduction by selecting most relevant features to the task/class.

B. Ensemble Technique

The methodology for a study on feature selection and stability analysis using ensemble techniques involve the following steps:

 Selection of a dataset: The study would start by selecting a dataset that is relevant to the research question and has a sufficient number of features and samples.

 Preprocessing of the dataset: This would involve cleaning and normalizing the data, as well as handling missing values or outliers.

 Ensemble feature selection: Using ensemble techniques like as bagging or random forests, ensemble feature selection identifies the most important characteristics in a dataset. Additionally, comparing and contrasting alternative ensemble methods or optimizing certain parameters within these approaches may be part of the research.

 Stability analysis: In this step, the stability of the selected features against alterations in the dataset or in the feature selection procedure is examined in order to evaluate how robust the features are. This can be accomplished by adding noise to the data or by repeatedly running the feature selection process using various data subsets.

 Performance evaluation: This entails creating a model, such as a classifier or regression model, using the chosen features, and then assessing the model's performance using metrics like accuracy, precision, or recall.

For ensemble learning, two tree-based algorithms are used in addition to more conventional algorithms like sequential forward selection (SFS) and exhaustive feature selection (EFS): recursive feature elimination with a random forest estimator (RFE-RF) and recursive feature elimination with a gradient boost estimator (RFE-GB). Tree-based algorithms are highly effective for classification in machine learning [14-15], therefore they may also be used to identify the most discriminating feature that are responsible for most accurate categorization. Thus, including tree-based algorithms in function perturbation-based ensemble have increased the possibility of gaining higher accuracy and more stable feature selection.

Figure 1. Proposed ensemble learning approach for feature selection
Figure 1. Proposed ensemble learning approach for feature selection

Figure 1 shows the proposed ensemble learning approach for feature selection. Each of the specified algorithm in feature selection stage is executed independently on both the datasets to check individual algorithm performances. Feature selection stage generates a feature subset selected by each algorithm independently. All these feature sets are given as input to ensemble learning making function perturbation where different algorithm’s varying feature set is combined by various ensemble-learning approaches. In ensemble, learning stage three strategies are implemented namely, voting ensemble, ensemble with fixed number of features, and ensemble with contiguous number of features. Last stage evaluates the performance of reduced feature set generated by three ensemble-learning approaches by accuracy and stability analysis. Here two novelty in proposed approach we claimed as, i) Included and implemented two tree-based recursive feature selection algorithms for generating intermediate feature subset, and ii) Implemented and compared three promising ensemble techniques as voting, considering top features for each algorithm (fixed number of features), and considering all features selected by each algorithm (varying number of featurescontinuous features). This gives a clear vision to researchers for ensemble learning analysis based on accuracy and stability of feature set generated by each. Number of features selected by each individual algorithm and an ensemble learning with their accuracy is given in table III and table IV for Colon and Leukemia dataset respectively.

Table 3. Results of Implementation on Colon Dataset
Table 3. Results of Implementation on Colon Dataset

Voting ensemble outperforms with highest accuracy of 0.8536 and 0.8671 for colon and leukemia dataset respectively over the other algorithms. It is observed from table II and III that all ensemble techniques have higher accuracy compared to individual algorithm outcome.

Table 4. Results of Implementation on Leukemia Dataset
Table 4. Results of Implementation on Leukemia Dataset
Figure

Figure 2 and figure 4 shows the noticeable feature set reduction by feature selection algorithm still achieving good accuracy. This indicates the presence of irrelevant features in the datasets, which degrades the accuracy and increase the training time. Thus, feature selection is an important and must needed machine learning and data science tasks to improve the model performance.

Figure 2. Total features selected over the original feauture set: Colon dataset
Figure 2. Total features selected over the original feauture set: Colon dataset

Figure 2 show the number of features selected over the original feature set for the colon dataset. Having a smaller number of relevant and informative features can lead to a more accurate model. This is because having too many features can add noise to the model and make it more difficult to extract the important information from the data, which can lead to overfitting and lower accuracy. Smaller feature set can help to reduce the dimensionality of the data and improve the performance of the model by reducing the impact of irrelevant or redundant features.

Figure 3. Prediction accuracy for the selected number of features: Colon dataset
Figure 3. Prediction accuracy for the selected number of features: Colon dataset
Figure 4. Total features selected over the original feature set: Leukemia dataset
Figure 4. Total features selected over the original feature set: Leukemia dataset
Figure 5. Prediction accuracy for the selcted number of features: Leukemia dataset
Figure 5. Prediction accuracy for the selcted number of features: Leukemia dataset

Figure 3 and figure 5 compares classification accuracy of each algorithm and number of features selected by each one. This gives very important information that reduced feature set size can include most relevant features responsible for class objective study or classification. The results of the feature selection and stability analysis using ensemble techniques indicate that the selected features have a significant impact on the performance of the machine learning models.

Table 5. Stability Analysis for Colon Dataset
Table 5. Stability Analysis for Colon Dataset

From table V stability index for all ensemble techniques is observed high for Colon dataset. Ensemble technique have been shown to be effective at handling high dimensionality and complexity of data, and thus have the potential to be stable in feature selection. The main reason for the stability of ensemble techniques is the averaging effect of multiple models. By combining the predictions of multiple models, ensemble techniques can reduce the variance and increase the robustness of the predictions. This makes ensemble learning a robust technique for feature selection gaining high confidence of more stable feature selection.

Table 6. Stability Analysis for Leukemia Dataset
Table 6. Stability Analysis for Leukemia Dataset

Stability analysis for leukemia dataset presented in table IV. Here also ensemble techniques have shown high stability for the selected features compared to the rest of the algorithms. Highest stability of 0.89 is achieved by ensemble with fixed number of features for leukemia dataset. The results of stability analysis would show that the selected genes are relatively stable when compared to other feature selection methods and the performance of the classifier trained using the selected genes is better than those trained using other feature selection methods or using all the genes.

4. Conclusion

The ensemble techniques used in this analysis effectively identified the essential features in the dataset, and the stability analysis revealed that these features were consistently important across different model configurations. These findings demonstrate the utility of ensemble techniques for feature selection and stability analysis and suggest that incorporating these techniques into the model-building process can lead to more robust and accurate models. Our manuscript has presented the use of the tree-based algorithm for ensemble feature selection. The implementation of two high-dimensional datasets from the biomedical area is presented. Ensemble techniques have shown good accuracy compared to other algorithms studied.

Feature selection is a highly effective technique for ensemble learning. Specifically in the research presented, two tree-based algorithms were ensemble into an ensemble feature selection methodology. The results showed that this approach was extremely stable and robust in both of the data sets tested. It was shown from the research into feature selection and stability analysis with these ensemble methods that they are superior to their ability to detect important features within a dataset. Additionally, the features selected by ensemble methods had higher stability levels compared to those selected by other techniques of feature selection.

The study also demonstrates that the performance of the models trained using the selected features is better than those taught using other feature selection methods or using all the features. Our observation from the results is that including a tree-based algorithm has built a more robust feature selection, which can be noted from the high stability index of the selected features. Tree-based ensemble learning can be further studied for other tree-based algorithms. Future work can be done for specific treebased algorithm ensembles for more robust feature selection.

References

  1. [1] A. Wang, H. Liu, J. Yang, and G. Chen, “Ensemble feature selection for stable biomarker identification and cancer classification from microarray expression data,” Computers in Biology and Medicine, vol. 142, p. 105208, 2022. [2] R. Salman, A. Alzaatreh, and H. Sulieman, “The stability of different aggregation techniques in ensemble feature selection,” Journal of Big Data, vol. 9, no. 1, pp. 1–23, 2022. [3] B. Pes, N. Dessì, and M. Angioni, “Exploiting the ensemble paradigm for stable feature selection: a case study on high- dimensional genomic data,” Information Fusion, vol. 35, pp. 132–147, 2017. [4] D. Guan, W. Yuan, Y. K. Lee, K. Najeebullah, and M. K. Rasel, “A review of ensemble learning-based feature selection,” IETE Technical Review, vol. 31, no. 3, pp. 190–198, 2014. [5] A. Kalousis, J. Prados, and M. Hilario, “Stability of feature selection algorithms,” in Proc. 5th IEEE Int. Conf. Data Mining (ICDM’05), Nov. 2005, pp. 8–pp. [6] S. Nogueira, K. Sechidis, and G. Brown, “On the stability of feature selection algorithms,” J. Mach. Learn. Res., vol. 18, no. 1, pp. 6345–6398, 2017. [7] J. Racicot, Dynamiques de connectivité cérébrale fonctionnelle associées aux fluctuations journalières des états affectifs, 2024. [8] B. Pes, “Ensemble feature selection for high-dimensional data: a stability analysis across multiple domains,” Neural Computing and Applications, pp. 1–23, 2019. [9] T. Al-Quraishi et al., “Breast cancer risk assessment prediction using an ensemble classifier,” in Proc. CAINE2017, 2017. [10] T. Gaudelet et al., “Unveiling new disease, pathway, and gene associations via multi-scale neural networks,” arXiv preprint arXiv: 1901.10005, 2019. [11] N. M. Abdulkareem and A. M. Abdulazeez, “Machine learning classification based on random forest algorithm: A review,” Int. J. Sci. Bus., vol. 5, no. 2, pp. 128–142, 2021. [12] D. Baby, S. J. Devaraj, and J. Hemanth, “Leukocyte classification based on feature selection using extra trees classifier: A transfer learning approach,” Turkish J. Electr. Eng. Comput. Sci., vol. 29, no. 8, pp. 2742–2757, 2021. [13] L. Azkue, J. Kerexeta, J. Sampedro, M. Espejo, and N. Larburu, “Predictive models of ward admissions from the emergency,” Age, vol. 50, pp. 23–77. [14] P. G. Asteris et al., “Slope stability classification under seismic conditions using several tree-based intelligent techniques,” Appl. Sci., vol. 12, no. 3, p. 1753, 2022. [15] R. M. Mohana, C. K. K. Reddy, P. R. Anisha, and B. R. Murthy, “Random forest algorithms for the classification of tree-based ensemble,” Mater. Today: Proc., 2021.