Research Article  Open Access
Unbiased Feature Selection in Learning Random Forests for HighDimensional Data
Abstract
Random forests (RFs) have been widely used as a powerful classification method. However, with the randomization in both bagging samples and feature selection, the trees in the forest tend to select uninformative features for node splitting. This makes RFs have poor accuracy when working with highdimensional data. Besides that, RFs have bias in the feature selection process where multivalued features are favored. Aiming at debiasing feature selection in RFs, we propose a new RF algorithm, called xRF, to select good features in learning RFs for highdimensional data. We first remove the uninformative features using value assessment, and the subset of unbiased features is then selected based on some statistical measures. This feature subset is then partitioned into two subsets. A feature weighting sampling technique is used to sample features from these two subsets for building trees. This approach enables one to generate more accurate trees, while allowing one to reduce dimensionality and the amount of data needed for learning RFs. An extensive set of experiments has been conducted on 47 highdimensional realworld datasets including image datasets. The experimental results have shown that RFs with the proposed approach outperformed the existing random forests in increasing the accuracy and the AUC measures.
1. Introduction
Random forests (RFs) [1] are a nonparametric method that builds an ensemble model of decision trees from random subsets of features and bagged samples of the training data.
RFs have shown excellent performance for both classification and regression problems. RF model works well even when predictive features contain irrelevant features (or noise); it can be used when the number of features is much larger than the number of samples. However, with randomizing mechanism in both bagging samples and feature selection, RFs could give poor accuracy when applied to high dimensional data. The main cause is that, in the process of growing a tree from the bagged sample data, the subspace of features randomly sampled from thousands of features to split a node of the tree is often dominated by uninformative features (or noise), and the tree grown from such bagged subspace of features will have a low accuracy in prediction which affects the final prediction of the RFs. Furthermore, Breiman et al. noted that feature selection is biased in the classification and regression tree (CART) model because it is based on an information criteria, called multivalue problem [2]. It tends in favor of features containing more values, even if these features have lower importance than other ones or have no relationship with the response feature (i.e., containing less missing values, many categorical or distinct numerical values) [3, 4].
In this paper, we propose a new random forests algorithm using an unbiased feature sampling method to build a good subspace of unbiased features for growing trees. We first use random forests to measure the importance of features and produce raw feature importance scores. Then, we apply a statistical Wilcoxon ranksum test to separate informative features from the uninformative ones. This is done by neglecting all uninformative features by defining threshold ; for instance, . Second, we use the Chisquare statistic test () to compute the related scores of each feature to the response feature. We then partition the set of the remaining informative features into two subsets, one containing highly informative features and the other one containing weak informative features. We independently sample features from the two subsets and merge them together to get a new subspace of features, which is used for splitting the data at nodes. Since the subspace always contains highly informative features which can guarantee a better split at a node, this feature sampling method enables avoiding selecting biased features and generates trees from bagged sample data with higher accuracy. This sampling method also is used for dimensionality reduction, the amount of data needed for training the random forests model. Our experimental results have shown that random forests with this weighting feature selection technique outperformed recently the proposed random forests in increasing of the prediction accuracy; we also applied the new approach on microarray and image data and achieved outstanding results.
The structure of this paper is organized as follows. In Section 2, we give a brief summary of related works. In Section 3 we give a brief summary of random forests and measurement of feature importance score. Section 4 describes our new proposed algorithm using unbiased feature selection. Section 5 provides the experimental results, evaluations, and comparisons. Section 6 gives our conclusions.
2. Related Works
Random forests are an ensemble approach to make classification decisions by voting the results of individual decision trees. An ensemble learner with excellent generalization accuracy has two properties, high accuracy of each component learner and high diversity in component learners [5]. Unlike other ensemble methods such as bagging [1] and boosting [6, 7], which create basic classifiers from random samples of the training data, the random forest approach creates the basic classifiers from randomly selected subspaces of data [8, 9]. The randomly selected subspaces increase the diversity of basic classifiers learnt by a decision tree algorithm.
Feature importance is the importance measure of features in the feature selection process [1, 10–14]. In RF frameworks, the most commonly used score of importance of a given feature is the mean error of a tree in the forest when the observed values of this feature are randomly permuted in the outofbag samples. Feature selection is an important step to obtain good performance for an RF model, especially in dealing with high dimensional data problems.
For feature weighting techniques, recently Xu et al. [13] proposed an improved RF method which uses a novel feature weighting method for subspace selection and therefore enhances classification performance on high dimensional data. The weights of feature were calculated by information gain ratio or test; Ye et al. [14] then used these weights to propose a stratified sampling method to select feature subspaces for RF in classification problems. Chen et al. [15] used a stratified idea to propose a new clustering method. However, implementation of the random forest model suggested by Ye et al. is based on a binary classification setting, and it uses linear discriminant analysis as the splitting criteria. This stratified RF model is not efficient on high dimensional datasets with multiple classes. With the same way for solving twoclass problem, Amaratunga et al. [16] presented a feature weighting method for subspace sampling to deal with microarray data, the test of variance analysis is used to compute weights for the features. Genuer et al. [12] proposed a strategy involving a ranking of explanatory features using the RFs score weights of importance and a stepwise ascending feature introduction strategy. Deng and Runger [17] proposed a guided regularized RF (GRRF), in which weights of importance scores from an ordinary random forest (RF) are used to guide the feature selection process. They found that the regularized least subset selected by their GRRF with minimal regularization ensures better accuracy than the complete feature set. However, regular RF was used as a classifier due to the fact that regularized RF may have higher variance than RF because the trees are correlated.
Several methods have been proposed to correct bias of importance measures in the feature selection process in RFs to improve the prediction accuracy [18–21]. These methods intend to avoid selecting an uninformative feature for node splitting in decision trees. Although the methods of this kind were well investigated and can be used to address the high dimensional problem, there are still some unsolved problems, such as the need to specify in advance the probability distributions, as well as the fact that they struggle when applied to large high dimensional data.
In summary, in the reviewed approaches, the gain at higher levels of the tree is weighted differently than the gain at lower levels of the tree. In fact, at lower levels of the tree, the gain is reduced because of the effect of splits on different features at higher levels of the tree. That affects the final prediction performance of RFs model. To remedy this, in this paper we propose a new method for unbiased feature subsets selection in high dimensional space to build RFs. Our approach differs from previous approaches in the techniques used to partition a subset of features. All uninformative features (considered as noise) are removed from the system and the best feature set, which is highly related to the response feature, is found using a statistical method. The proposed sampling method always provides enough highly informative features for the subspace feature at any levels of the decision trees. For the case of growing an RF model on data without noise, we used inbag measures. This is a different importance score of features, which requires less computational time compared to the measures used by others. Our experimental results showed that our approach outperformed recently the proposed RF methods.
3. Background
3.1. Random Forest Algorithm
Given a training dataset , where are features (also called predictor variables), is a class response feature, is the number of training samples, and is the number of features and a random forest model described in Algorithm 1, let be the prediction of tree given input . The prediction of random forest with trees is

Since each tree is grown from a bagged sample set, it is grown with only twothirds of the samples in , called inbag samples. About onethird of the samples is left out and these samples are called outofbag (OOB) samples which are used to estimate the prediction error.
The OOB predicted value is where , and are inbag and outofbag sampled indices, is the size of OOB subdataset, and the OOB prediction error is where is an error function and is OOB samples’ size.
3.2. Measurement of Feature Importance Score from an RF
Breiman presented a permutation technique to measure the importance of features in the prediction [1], called an outofbag importance score. The basic idea for measuring this kind of importance score of features is to compute the difference between the original mean error and the randomly permuted mean error in OOB samples. The method rearranges stochastically all values of the th feature in OOB for each tree and uses the RF model to predict this permuted feature and get the mean error. The aim of this permutation is to eliminate the existing association between the th feature and values and then to test the effect of this on the RF model. A feature is considered to be in a strong association if the mean error decreases dramatically.
The other kind of feature importance measure can be obtained when the random forest is growing. This is described as follows. At each node in a decision tree, the split is determined by the decrease in node impurity . The node impurity is the gini index. If a subdataset in node contains samples from classes, gini() is defined aswhere is the relative frequency of class in . Gini() is minimized if the classes in are skewed. After splitting into two child nodes and with sample sizes and , the gini index of the split data is defined asThe feature providing smallest is chosen to split the node. The importance score of feature in a single decision tree isand it is computed over all trees in a random forest, defined as
It is worth noting that a random forest uses inbag samples to produce a kind of importance measure, called an inbag importance score. This is the main difference between the inbag importance score and an outofbag measure, which is produced with the decrease of the prediction error using RF in OOB samples. In other words, the inbag importance score requires less computation time than the outofbag measure.
4. Our Approach
4.1. Issues in Feature Selection on High Dimensional Data
When Breiman et al. suggested the classification and regression tree (CART) model, they noted that feature selection is biased because it is based on an information gain criteria, called multivalue problem [2]. Random forest methods are based on CART trees [1]; hence this bias is carried to random forest RF model. In particular, the importance scores can be biased when very high dimensional data contains multiple data types. Several methods have been proposed to correct bias of feature importance measures [18–21]. The conditional inference framework (referred to as cRF [22]) could be successfully applied for both the null and power cases [19, 20, 22]. The typical characteristic of the power case is that only one predictor feature is important, while the rest of the features are redundant with different cardinality. In contrast, in the null case all features used for prediction are redundant with different cardinality. Although the methods of this kind were well investigated and can be used to address the multivalue problem, there are still some unsolved problems, such as the need to specify in advance the probability distributions, as well as the fact that they struggle when applied to high dimensional data.
Another issue is that, in high dimensional data, when the number of features is large, the fraction of importance features remains so small. In this case the original RF model which uses simple random sampling is likely to perform poorly with small , and the trees are likely to select an uninformative feature as a split too frequently ( denotes a subspace size of features). At each node of a tree, the probability of uninformative feature selection is too high.
To illustrate this issue, let be the number of noisy features, denote by the total number of predictor features, and let the features be important ones which have a high correlation with values. Then, if we use simple random sampling when growing trees to select a subset of features (), the total number of possible uninformative a and the total number of all subset features is . The probability distribution of selecting a subset of () important features is given by
Because the fraction of important features is too small, the probability in (7) tends to , which means that the important features are rarely selected by the simple sampling method in RF [1]. For example, with 5 informative and 5000 noise or uninformative features, assuming , the probability of an informative feature to be selected at any split is .
4.2. Bias Correction for Feature Selection and Feature Weighting
The bias correction in feature selection is intended to make the RF model to avoid selecting an uninformative feature. To correct this kind of bias in the feature selection stage, we generate shadow features to add to the original dataset. The shadow features set contains the same values, possible cutpoints, and distribution with the original features but have no association with values. To create each shadow feature, we rearrange the values of the feature in the original dataset times to create the corresponding shadow. This disturbance of features eliminates the correlations of the features with the response value but keeps its attributes. The shadow feature participates only in the competition for the best split and makes a decrease in the probability of selecting this kind of uninformative feature. For the feature weight computation, we first need to distinguish the important features from the less important ones. To do so, we run a defined number of random forests to obtain raw importance scores, each of which is obtained using (6). Then, we use Wilcoxon ranksum test [23] that compares the importance score of a feature with the maximum importance scores of generated noisy features called shadows. The shadow features are added to the original dataset and they do not have prediction power to the response feature. Therefore, any feature whose importance score is smaller than the maximum importance score of noisy features is considered less important. Otherwise, it is considered important. Having computed the Wilcoxon ranksum test, we can compute the value for the feature. The value of a feature in Wilcoxon ranksum test is assigned a weight with a feature , value , and this weight indicates the importance of the feature in the prediction. The smaller the value of a feature, the more correlated the predictor feature to the response feature, and therefore the more powerful the feature in prediction. The feature weight computation is described as follows.
Let be the number of features in the original dataset, and denote the feature set as . In each replicate , shadow features are generated from features in , and we randomly permute all values of times to get a corresponding shadow feature ; denote the shadow feature set as . The extended feature set is denoted by .
Let the importance score of at replicate be where and are the importance scores of and at the th replicate, respectively. We built a random forest model from the dataset to compute importance scores for features. We repeated the same process times to compute replicates getting and . From the replicates of shadow features, we extracted the maximum value from th row of and put it into the comparison sample denoted by . For each data feature , we computed Wilcoxon test and performed hypothesis test on to calculate the value for the feature. Given a statistical significance level, we can identify important features from less important ones. This test confirms that if a feature is important, it consistently scores higher than the shadow over multiple permutations. This method has been presented in [24, 25].
In each node of trees, each shadow shares approximately the same properties of the corresponding , but it is independent on and consequently has approximately the same probability of being selected as a splitting candidate. This feature permutation method can reduce bias due to different measurement levels of according to value and can yield correct ranking of features according to their importance.
4.3. Unbiased Feature Weighting for Subspace Selection
Given all values for all features, we first set a significance level as the threshold , for instance . Any feature whose value is greater than is considered a uninformative feature and is removed from the system; otherwise, the relationship with is assessed. We now consider the set of features obtained from after neglecting all uninformative features.
Second, we find the best subset of features which is highly related to the response feature; a measure correlation function is used to test the association between the categorical response feature and each feature . Each observation is allocated to one cell of a twodimensional array of cells (called a contingency table) according to the values of . If there are rows and columns in the table and is the number of total samples, the value of the test statistic isFor the test of independence, a chisquared probability of less than or equal to 0.05 is commonly interpreted for rejecting the hypothesis that the row variable is independent of the column feature.
Let be the best subset of features, we collect all feature whose value is smaller or equal to as a result from the statistical test according to (8). The remaining features are added to , and this approach is described in Algorithm 2. We independently sample features from the two subsets and put them together as the subspace features for splitting the data at any node, recursively. The two subsets partition the set of informative features in data without irrelevant features. Given and , at each node, we randomly select features from each group of features. For a given subspace size, we can choose proportions between highly informative features and weak informative features that depend on the size of the two groups. That is and , where and are the number of features in the groups of highly informative features and weak informative features , respectively. is the number of informative features in the input dataset. These are merged to form the feature subspace for splitting the node.

4.4. Our Proposed RF Algorithm
In this section, we present our new random forest algorithm called , which uses the new unbiased feature sampling method to generate splits at the nodes of CART trees [2]. The proposed algorithm includes the following main steps: (i) weighting the features using the feature permutation method, (ii) identifying all unbiased features and partitioning them into two groups and , (iii) building RF using the subspaces containing features which are taken randomly and separately from , , and (iv) classifying a new data. The new algorithm is summarized as follows.(1)Generate the extended dataset of dimensions by permuting the corresponding predictor feature values for shadow features.(2)Build a random forest model RF from and compute replicates of raw importance scores of all predictor features and shadows with RF. Extract the maximum importance score of each replicate to form the comparison sample of elements.(3)For each predictor feature, take importance scores and compute Wilcoxon test to get value, that is, the weight of each feature.(4)Given a significance level threshold , neglect all uninformative features.(5)Partition the remaining features into two subsets and described in Algorithm 2.(6)Sample the training set with replacement to generate bagged samples .(7)For each , grow a CART tree as follows.(a)At each node, select a subspace of features randomly and separately from and and use the subspace features as candidates for splitting the node.(b)Each tree is grown nondeterministically, without pruning until the minimum node size is reached.(8)Given a , use (1) to predict the response value.
5. Experiments
5.1. Datasets
Realworld datasets including image datasets and microarray datasets were used in our experiments. Image classification and object recognition are important problems in computer vision. We conducted experiments on four benchmark image datasets, including the Caltech categories (http://www.vision.caltech.edu/htmlfiles/archive.html) dataset, the Horse (http://pascal.inrialpes.fr/data/horses/) dataset, the extended YaleB database [26], and the AT&T ORL dataset [27].
For the Caltech dataset, we use a subset of 100 images from the Caltech face dataset and 100 images from the Caltech background dataset following the setting in ICCV (http://people.csail.mit.edu/torralba/shortCourseRLOC/). The extended YaleB database consists of 2414 face images of 38 individuals captured under various lighting conditions. Each image has been cropped to a size of 192 × 168 pixels and normalized. The Horse dataset consists of 170 images containing horses for the positive class and 170 images of the background for the negative class. The AT&T ORL dataset includes of 400 face images of 40 persons.
In the experiments, we use a bag of words for image features representation for the Caltech and the Horse datasets. To obtain feature vectors using bagofwords method, image patches (subwindows) are sampled from the training images at the detected interest points or on a dense grid. A visual descriptor is then applied to these patches to extract the local visual features. A clustering technique is then used to cluster these, and the cluster centers are used as visual code words to form visual codebook. An image is then represented as a histogram of these visual words. A classifier is then learned from this feature set for classification.
In our experiments, traditional means quantization is used to produce the visual codebook. The number of cluster centers can be adjusted to produce the different vocabularies, that is, dimensions of the feature vectors. For the Caltech and Horse datasets, nine codebook sizes were used in the experiments to create 18 datasets as follows: {CaltechM300, CaltechM500, CaltechM1000, CaltechM3000, CaltechM5000, CaltechM7000, CaltechM1000, CaltechM12000, CaltechM15000}, and {HorseM300, HorseM500, HorseM1000, HorseM3000, HorseM5000, HorseM7000, HorseM1000, HorseM12000, HorseM15000}, where M denotes the number of codebook sizes.
For the face datasets, we use two type of features: eigenface [28] and the random features (randomly sample pixels from the images). We used four groups of datasets with four different numbers of dimensions . Totally, we created 16 subdatasets as {YaleB.EigenfaceM30, YaleB.EigenfaceM56, YaleB.EigenfaceM120, YaleB.EigenfaceM504}, {YaleB.RandomfaceM30, YaleB.RandomfaceM56, YaleB.RandomfaceM120, YaleB.RandomfaceM504}, {ORL.EigenfaceM30, ORL.EigenM56, ORL.EigenM120, ORL.EigenM504}, and {ORL.RandomfaceM30, ORL.RandomM56, ORL.RandomM120, ORL.RandomM504}.
The properties of the remaining datasets are summarized in Table 1. The Fbis dataset was compiled from the archive of the Foreign Broadcast Information Service and the La1s, La2s datasets were taken from the archive of the Los Angeles Times for TREC5 (http://trec.nist.gov/). The ten gene datasets are used and described in [11, 17]; they are always high dimensional and fall within a category of classification problems which deal with large number of features and small samples. Regarding the characteristics of the datasets given in Table 1, the proportion of the subdatasets, namely, Fbis, La1s, La2s, was used individually for a training and testing dataset.

5.2. Evaluation Methods
We calculated some measures such as error bound (), strength (), and correlation () according to the formulas given in Breiman’s method [1]. The correlation measures indicate the independence of trees in a forest, whereas the average strength corresponds to the accuracy of individual trees. Lower correlation and higher strength result in a reduction of general error bound measured by () which indicates a high accuracy RF model.
The two measures are also used to evaluate the accuracy of prediction on the test datasets: one is the area under the curve (AUC) and the other one is the test accuracy (Acc), defined aswhere is the indicator function and is the number of votes for on class , is the th tree classifier, is the number of samples in test data , and indicates the true class of .
5.3. Experimental Settings
The latest packages random Forest and RRF [29, 30] were used in environment to conduct these experiments. The GRRF model was available in the RRF package. The wsRF model, which used weighted sampling method [13] was intended to solve classification problems. For the image datasets, the 10fold crossvalidation was used to evaluate the prediction performance of the models. From each fold, we built the models with 500 trees and the feature partition for subspace selection in Algorithm 2 was recalculated on each training fold dataset. The and parameters were set to and , respectively. The experimental results were evaluated in two measures AUC and the test accuracy according to (9).
We compared across a wide range the performances of the 10 gene datasets, used in [11]. The results from the application of GRRF, varSelRF, and LASSO logistic regression on the ten gene datasets are presented in [17]. These three gene selection methods used RF package [30] as the classifier. For the comparison of the methods, we used the same settings which are presented in [17], for the coefficient we used value of , because GRRF(0.1) has shown competitive accuracy [17] when applied to the 10 gene datasets. The 100 models were generated with different seeds from each training dataset and each model contained 1000 trees. The and parameters were of the same settings on the image dataset. From each of the datasets twothirds of the data were randomly selected for training. The other onethird of the dataset was used to validate the models. For comparison, Breiman’s RF method, the weighted sampling random forest wsRF model, and the xRF model were used in the experiments. The guided regularized random forest GRRF [17] and the two wellknown feature selection methods using RF as a classifier, namely, varSelRF [31] and LASSO logistic regression [32], are also used to evaluate the accuracy of prediction on highdimensional datasets.
In the remaining datasets, the prediction performances of the ten random forest models were evaluated, each one was built with 500 trees. The number of features candidates to split a node was . The minimal node size was 1. The xRF model with the new unbiased feature sampling method is a new implementation. We implemented the xRF model as multithread processes, while other models were run as singlethread processes. We used to call the corresponding C/C++ functions. All experiments were conducted on the six 64bit Linux machines, with each one being equipped with Intel Xeon CPU E5620 2.40 GHz, 16 cores, 4 MB cache, and 32 GB main memory.
5.4. Results on Image Datasets
Figures 1 and 2 show the average accuracy plots of recognition rates of the models on different subdatasets of the datasets YaleB and ORL. The GRRF model produced slightly better results on the subdataset ORL.RandomM120 and ORL dataset using eigenface and showed competitive accuracy performance with the xRF model on some cases in both YaleB and ORL datasets, for example, YaleB.EigenM120, ORL.RandomM56, and ORL.RandomM120. The reason could be that truly informative features in this kind of datasets were many. Therefore, when the informative feature set was large, the chance of selecting informative features in the subspace increased, which in turn increased the average recognition rates of the GRRF model. However, the xRF model produced the best results in the remaining cases. The effect of the new approach for feature subspace selection is clearly demonstrated in these results, although these datasets are not high dimensional.
(a)
(b)
(a)
(b)
Figures 3 and 5 present the box plots of the test accuracy (mean stddev%); Figures 4 and 6 show the box plots of the AUC measures of the models on the 18 image subdatasets of the Caltech and Horse, respectively. From these figures, we can observe that the accuracy and the AUC measures of the models GRRF, wsRF, and xRF were increased on all highdimensional subdatasets when the selected subspace was not so large. This implies that when the number of features in the subspace is small, the proportion of the informative features in the feature subspace is comparatively large in the three models. There will be a high chance that highly informative features are selected in the trees so the overall performance of individual trees is increased. In Brieman’s method, many randomly selected subspaces may not contain informative features, which affect the performance of trees grown from these subspaces. It can be seen that the xRF model outperformed other random forests models on these subdatasets in increasing the test accuracy and the AUC measures. This was because the new unbiased feature sampling was used in generating trees in the xRF model; the feature subspace provided enough highly informative features at any levels of the decision trees. The effect of the unbiased feature selection method is clearly demonstrated in these results.
Table 2 shows the results of against the number of codebook sizes on the Caltech and Horse datasets. In a random forest, the tree was grown from a bagging training data. Outofbag estimates were used to evaluate the strength, correlation, and . The GRRF model was not considered in this experiment because this method aims to find a small subset of features, and the same RF model in package [30] is used as a classifier. We compared the xRF model with two kinds of random forest models RF and wsRF. From this table, we can observe that the lowest values occurred when the wsRF model was applied to the Caltech dataset. However, the xRF model produced the lowest error bound on the dataset. These results demonstrate the reason that the new unbiased feature sampling method can reduce the upper bound of the generalization error in random forests.

Table 3 presents the prediction accuracies (mean stddev%) of the models on subdatasets CaltechM3000, HorseM3000, YaleB.EigenfaceM504, YaleB.randomfaceM504, ORL.EigenfaceM504, and ORL.randomfaceM504. In these experiments, we used the four models to generate random forests with different sizes from 20 trees to 200 trees. For the same size, we used each model to generate 10 random forests for the 10fold crossvalidation and computed the average accuracy of the 10 results. The GRRF model showed slightly better results on YaleB.EigenfaceM504 with different tree sizes. The wsRF model produced the best prediction performance on some cases when applied to small subdatasets YaleB.EigenfaceM504, ORL.EigenfaceM504, and ORL.randomfaceM504. However, the xRF model produced, respectively, the highest test accuracy on the remaining subdatasets and AUC measures on highdimensional subdatasets CaltechM3000 and HorseM3000, as shown in Tables 3 and 4. We can clearly see that the xRF model also outperformed other random forests models in classification accuracy on most cases in all image datasets. Another observation is that the new method is more stable in classification performance because the mean and variance of the test accuracy measures were minor changed when varying the number of trees.


5.5. Results on Microarray Datasets
Table 5 shows the average test results in terms of accuracy of the 100 random forest models computed according to (9) on the gene datasets. The average number of genes selected by the xRF model, from 100 repetitions for each dataset, is shown on the right of Table 5, divided into two groups (strong) and (weak). These genes are used by the unbiased feature sampling method for growing trees in the xRF model. LASSO logistic regression, which uses the RF model as a classifier, showed fairly good accuracy on the two gene datasets srbct and leukemia. The GRRF model produced slightly better result on the prostate gene dataset. However, the xRF model produced the best accuracy on most cases of the remaining gene datasets.

The detailed results containing the median and the variance values are presented in Figure 7 with box plots. Only the GRRF model was used for this comparison; the LASSO logistic regression and varSelRF method for feature selection were not considered in this experiment because their accuracies are lower than that of the GRRF model, as shown in [17]. We can see that the xRF model achieved the highest average accuracy of prediction on nine datasets out of ten. Its result was significantly different on the prostate gene dataset and the variance was also smaller than those of the other models.
Figure 8 shows the box plots of the () error bound of the RF, wsRF, and xRF models on the ten gene datasets from 100 repetitions. The wsRF model obtained lower error bound rate on five gene datasets out of 10. The xRF model produced a significantly different error bound rate on two gene datasets and obtained the lowest error rate on three datasets. This implies that when the optimal parameters such as and were used in growing trees, the number of genes in the subspace was not small and outofbag data was used in prediction, and the results were comparatively favored to the xRF model.
5.6. Comparison of Prediction Performance for Various Numbers of Features and Trees
Table 6 shows the average error bound and accuracy test results of 10 repetitions of random forest models on the three large datasets. The xRF model produced the lowest error on the dataset La1s, while the wsRF model showed the lower error bound on other two datasets Fbis and La2s. The RF model demonstrated the worst accuracy of prediction compared to the other models; this model also produced a large error when the small subspace size was used to build trees on the La1s and La2s datasets. The number of features in the and columns on the right of Table 6 was used in the xRF model. We can see that the xRF model achieved the highest accuracy of prediction on all three large datasets.

Figure 9 shows the plots of the performance curves of the RF models when the number of trees and features increases. The number of trees was increased stepwise by 20 trees from 20 to 200 when the models were applied to the La1s dataset. For the remaining data sets, the number of trees increased stepwise by 50 trees from 50 to 500. The number of random features in a subspace was set to . The number of features, each consisting of a random sum of five inputs, varied from 5 to 100, and for each, 200 trees were combined. The vertical line in each plot indicates the size of a subspace of features . This subspace was suggested by Breiman [1] for the case of lowdimensional datasets. Three feature selection methods, namely, GRRF, varSelRF, and LASSO, were not considered in this experiment. The main reason is that, when the value is large, the computational time of the GRRF and varSelRF models required to deal with large high datasets was too long [17].
(a) Fbis
(b) La2s
(c) La1s
It can be seen that the xRF and wsRF models always provided good results and achieved higher prediction accuracies when the subspace was used. However, the xRF model is better than the wsRF model in increasing the prediction accuracy on the three classification datasets. The RF model requires the larger number of features to achieve the higher accuracy of prediction, as shown in the right of Figures 9(a) and 9(b). When the number of trees in a forests was varied, the xRF model produced the best results on the Fbis and La2s datasets. In the La1s dataset where the xRF model did not obtain the best results, as shown in Figure 9(c) (left), the differences from the best results were minor. From the right of Figures 9(a), 9(b), and 9(c), we can observe that the xRF model does not need many features in the selected subspace to achieve the best prediction performance. These empirical results indicate that, for application on highdimensional data, when the xRF model uses the small subspace, the achieved results can be satisfactory.
However, the RF model using the simple sampling method for feature selection [1] could achieve good prediction performance only if it is provided with a much larger subspace, as shown in the right part of Figures 9(a) and 9(b). Breiman suggested to use a subspace of size in classification problem. With this size, the computational time for building a random forest is still too high, especially for large high datasets. In general, when the xRF model is used with a feature subspace of the same size as the one suggested by Breiman, it demonstrates higher prediction accuracy and shorter computational time than those reported by Breiman. This achievement is considered to be one of the contributions in our work.
6. Conclusions
We have presented a new method for feature subspace selection for building efficient random forest xRF model for classification highdimensional data. Our main contribution is to make a new approach for unbiased feature sampling, which selects the set of unbiased features for splitting a node when growing trees in the forests. Furthermore, this new unbiased feature selection method also reduces dimensionality using a defined threshold to remove uninformative features (or noise) from the dataset. Experimental results have demonstrated the improvements in increasing of the test accuracy and the AUC measures for classification problems, especially for image and microarray datasets, in comparison with recent proposed random forests models, including RF, GRRF, and wsRF.
For future work, we think it would be desirable to increase the scalability of the proposed random forests algorithm by parallelizing them on the cloud platform to deal with big data, that is, hundreds of millions of samples and features.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This research is supported in part by NSFC under Grant no. 61203294 and HanoiDOST under the Grant no. 01C07/0120122. The author Thuy Thi Nguyen is supported by the project “Some Advanced Statistical Learning Techniques for Computer Vision” funded by the National Foundation of Science and Technology Development, Vietnam, under the Grant no. 102.012011.17.
References
 L. Breiman, “Random forests,” Machine Learning, vol. 450, no. 1, pp. 5–32, 2001. View at: Publisher Site  Google Scholar
 L. Breiman, J. Friedman, C. J. Stone, and R. A. Olshen, Classification and Regression Trees, CRC Press, Boca Raton, Fla, USA, 1984.
 H. Kim and W.Y. Loh, “Classification trees with unbiased multiway splits,” Journal of the American Statistical Association, vol. 96, no. 454, pp. 589–604, 2001. View at: Publisher Site  Google Scholar  MathSciNet
 A. P. White and W. Z. Liu, “Technical note: bias in informationbased measures in decision tree induction,” Machine Learning, vol. 15, no. 3, pp. 321–329, 1994. View at: Publisher Site  Google Scholar
 T. G. Dietterich, “Experimental comparison of three methods for constructing ensembles of decision trees: bagging, boosting, and randomization,” Machine Learning, vol. 40, no. 2, pp. 139–157, 2000. View at: Publisher Site  Google Scholar
 Y. Freund and R. E. Schapire, “A desiciontheoretic generalization of online learning and an application to boosting,” in Computational Learning Theory, pp. 23–37, Springer, 1995. View at: Google Scholar
 T.T. Nguyen and T. T. Nguyen, “A real time license plate detection system based on boosting learning algorithm,” in Proceedings of the 5th International Congress on Image and Signal Processing (CISP '12), pp. 819–823, IEEE, October 2012. View at: Publisher Site  Google Scholar
 T. K. Ho, “Random decision forests,” in Proceedings of the 3rd International Conference on Document Analysis and Recognition, vol. 1, pp. 278–282, 1995. View at: Google Scholar
 T. K. Ho, “The random subspace method for constructing decision forests,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 20, no. 8, pp. 832–844, 1998. View at: Publisher Site  Google Scholar
 L. Breiman, “Bagging predictors,” Machine Learning, vol. 24, no. 2, pp. 123–140, 1996. View at: Google Scholar  Zentralblatt MATH
 R. DíazUriarte and S. Alvarez de Andrés, “Gene selection and classification of microarray data using random forest,” BMC Bioinformatics, vol. 7, article 3, 2006. View at: Publisher Site  Google Scholar
 R. Genuer, J.M. Poggi, and C. TuleauMalot, “Variable selection using random forests,” Pattern Recognition Letters, vol. 31, no. 14, pp. 2225–2236, 2010. View at: Publisher Site  Google Scholar
 B. Xu, J. Z. Huang, G. Williams, Q. Wang, and Y. Ye, “Classifying very highdimensional data with random forests built from small subspaces,” International Journal of Data Warehousing and Mining, vol. 8, no. 2, pp. 44–63, 2012. View at: Publisher Site  Google Scholar
 Y. Ye, Q. Wu, J. Zhexue Huang, M. K. Ng, and X. Li, “Stratified sampling for feature subspace selection in random forests for high dimensional data,” Pattern Recognition, vol. 46, no. 3, pp. 769–787, 2013. View at: Publisher Site  Google Scholar
 X. Chen, Y. Ye, X. Xu, and J. Z. Huang, “A feature group weighting method for subspace clustering of highdimensional data,” Pattern Recognition, vol. 45, no. 1, pp. 434–446, 2012. View at: Publisher Site  Google Scholar
 D. Amaratunga, J. Cabrera, and Y.S. Lee, “Enriched random forests,” Bioinformatics, vol. 240, no. 18, pp. 2010–2014, 2008. View at: Publisher Site  Google Scholar
 H. Deng and G. Runger, “Gene selection with guided regularized random forest,” Pattern Recognition, vol. 46, no. 12, pp. 3483–3489, 2013. View at: Publisher Site  Google Scholar
 C. Strobl, “Statistical sources of variable selection bias in classification trees based on the gini index,” Tech. Rep. SFB 386, 2005, http://epub.ub.unimuenchen.de/archive/00001789/01/paper_420.pdf. View at: Google Scholar
 C. Strobl, A.L. Boulesteix, and T. Augustin, “Unbiased split selection for classification trees based on the gini index,” Computational Statistics & Data Analysis, vol. 520, no. 1, pp. 483–501, 2007. View at: Google Scholar
 C. Strobl, A.L. Boulesteix, A. Zeileis, and T. Hothorn, “Bias in random forest variable importance measures: illustrations, sources and a solution,” BMC Bioinformatics, vol. 8, article 25, 2007. View at: Publisher Site  Google Scholar
 C. Strobl, A.L. Boulesteix, T. Kneib, T. Augustin, and A. Zeileis, “Conditional variable importance for random forests,” BMC Bioinformatics, vol. 9, no. 1, article 307, 2008. View at: Publisher Site  Google Scholar
 T. Hothorn, K. Hornik, and A. Zeileis, Party: a laboratory for recursive partytioning, r package version 0.99999, 2011, http://cran.rproject.org/package=party.
 F. Wilcoxon, “Individual comparisons by ranking methods,” Biometrics, vol. 10, no. 6, pp. 80–83, 1945. View at: Google Scholar
 T.T. Nguyen, J. Z. Huang, and T. T. Nguyen, “Twolevel quantile regression forests for bias correction in range prediction,” Machine Learning, 2014. View at: Publisher Site  Google Scholar
 T.T. Nguyen, J. Z. Huang, K. Imran, M. J. Li, and G. Williams, “Extensions to quantile regression forests for very highdimensional data,” in Advances in Knowledge Discovery and Data Mining, vol. 8444 of Lecture Notes in Computer Science, pp. 247–258, Springer, Berlin, Germany, 2014. View at: Publisher Site  Google Scholar
 A. S. Georghiades, P. N. Belhumeur, and D. J. Kriegman, “From few to many: illumination cone models for face recognition under variable lighting and pose,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 23, no. 6, pp. 643–660, 2001. View at: Publisher Site  Google Scholar
 F. S. Samaria and A. C. Harter, “Parameterisation of a stochastic model for human face identification,” in Proceedings of the 2nd IEEE Workshop on Applications of Computer Vision, pp. 138–142, IEEE, December 1994. View at: Google Scholar
 M. Turk and A. Pentland, “Eigenfaces for recognition,” Journal of Cognitive Neuroscience, vol. 3, no. 1, pp. 71–86, 1991. View at: Publisher Site  Google Scholar
 H. Deng, “Guided random forest in the RRF package,” http://arxiv.org/abs/1306.0237. View at: Google Scholar
 A. Liaw and M. Wiener, “Classification and regression by randomforest,” R News, vol. 20, no. 3, pp. 18–22, 2002. View at: Google Scholar
 R. DiazUriarte, “varselrf: variable selection using random forests,” R package version 0.71, 2009, http://ligarto.org/rdiaz/Software/Software.html. View at: Google Scholar
 J. H. Friedman, T. J. Hastie, and R. J. Tibshirani, “glmnet: Lasso and elasticnet regularized generalized linear models,” R package version , pages 11, 2010, http://CRAN.Rproject.org/package=glmnet. View at: Google Scholar
Copyright
Copyright © 2015 ThanhTung Nguyen et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.