eAnt-Miner : An Ensemble Ant-Miner to Improve the ACO Classification

by   Gopinath Chennupati, et al.
University of Limerick

Ant Colony Optimization (ACO) has been applied in supervised learning in order to induce classification rules as well as decision trees, named Ant-Miners. Although these are competitive classifiers, the stability of these classifiers is an important concern that owes to their stochastic nature. In this paper, to address this issue, an acclaimed machine learning technique named, ensemble of classifiers is applied, where an ACO classifier is used as a base classifier to prepare the ensemble. The main trade-off is, the predictions in the new approach are determined by discovering a group of models as opposed to the single model classification. In essence, we prepare multiple models from the randomly replaced samples of training data from which, a unique model is prepared by aggregating the models to test the unseen data points. The main objective of this new approach is to increase the stability of the Ant-Miner results there by improving the performance of ACO classification. We found that the ensemble Ant-Miners significantly improved the stability by reducing the classification error on unseen data.



There are no comments yet.


page 1

page 2

page 3

page 4


Ensemble of Binary Classifiers Combined Using Recurrent Correlation Associative Memories

An ensemble method should cleverly combine a group of base classifiers t...

Classifying the Unstructured IT Service Desk Tickets Using Ensemble of Classifiers

Manual classification of IT service desk tickets may result in routing o...

Popular Ensemble Methods: An Empirical Study

An ensemble consists of a set of individually trained classifiers (such ...

Building a Competitive Associative Classifier

With the huge success of deep learning, other machine learning paradigms...

Self-Weighted Ensemble Method to Adjust the Influence of Individual Models based on Reliability

Image classification technology and performance based on Deep Learning h...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Data mining, the process of automatically extracting useful information from the real-world data bases. It has tremendous success in solving knowledge extraction problems from industry, science, engineering to government. Knowledge extraction can be done in many ways: clustering, classification, and regression, etc., of which classification has got the highest contribution and we focus on it in this paper.

In essence, classification discovers a model that represents a predictive relationship between the values and the attributes in deciding the classes of a given training data set, in turn, it is used to classify the unseen data (test set). The main aim of the classification task is to improve the accuracy and building the most reliable classifier. Predictive accuracy is the most commonly used evaluation measure.

Ant Colony Optimization (ACO) [5]

- a meta heuristic designed to solve the combinatorial optimization problems that has been inspired from the foraging and pheromone trails behaviour of the natural ants. ACO has been applied for the classification task, in which, Ant-Miner proposed in 

[13] is the first of its kind of rule induction algorithm that deals with the nominal attributes of a given data set. Following the inception of the Ant-Miner, several extensions have been proposed as surveyed in [7]. A potential concern with ACO classification is the stability of its results. A classifier is said to be stable if it’s ability of prediction is invulnerable even for small changes in the training data. For example, for data points a stable classifier discovers a similar model as that on data points.

Some single classifiers such as decision trees [14]

produce most unstable models. Quite often the accuracy and/or the stability of the single classifier has been improved with the help of ensembles. Ensemble is the process of gathering the opinion from multiple experts. Some of the acclaimed ensemble approaches are Bagging, Boosting, Stacking, Random Forests that are explained in 


. For example, bagging can be described as follows: a patient consults different doctors to get the prescription from each of them and at the end, will go with the majority of the prescribed opinions through voting. This simple technique highly reduces the variance present in the predictions.

In this paper, we propose to apply ensemble learning on Ant-Miners, named eAnt-Miner that improves the accuracy of the ACO classification while stabilizing the classification. The basic idea behind the creation of an ensemble Ant-Miner is to create a bagged classifier. We examine the stability of different Ant-Miners in the literature before we evaluate the ensemble approach. Then, we create a bagged Ant-Miner for each of the base Ant-Miner variation. We evaluate the impact of the ensembles in comparison with the single classifiers on publicly available data sets that are drawn from the UCI Machine Learning repository [1]. The evaluation is carried both in terms of the classification error and the size of the discovered model.

The organization of the rest of the paper is as follows. We describe different search strategies of the Ant-Miner variations in section 2. Next, we examine the stability of Ant-Miners in section 3 and, in section 4, we explain the proposed ensemble approach. The experimental approach and results are explained in section 5. Finally, we conclude and provide some recommendations for future work in section 6.

2 Background

ACO classification follows a separate-and-conquer strategy in order to induce the rules. This procedure operates iteratively in two major steps: in the first step, the algorithm creates rules that classify a part of the training set (conquer), whereas in the second step, it removes the covered data points from the data set (separate). The inductive rule based classification models are of the form IF AND … AND THEN , where the IF part is the antecedent and, the THEN part is the consequent.

In the ACO classification, a construction graph is prepared with the (attribute, value) pair taken from the data set. Then, each ant stochastically chooses a vertex based on the pheromone and the heuristic information. The chosen vertex is a rule term where the ant continues to add new terms until all the attributes are covered. This newly created rule is pruned to remove the insignificant terms. This way a rule is prepared by every ant in the colony. A best rule is selected with the help of a quality function. The pheromone levels are adjusted by increasing it on the terms included in the best rule and decreased on the remaining. The discovered rules are pruned and then, the data points that the rule covers are removed and the next rule is created. This way, the algorithm continues till the predefined number of data points are reached and at the end the best list of rules are returned as the classification model. Many of the Ant-Miner variations follow this procedure except the new ACO based algorithms proposed in [8, 10]

Medland et al. [8] proposed a new Ant-Miner, named , where each ant creates a best list of rules as opposed to the single rule creation by the cAnt-Miner in [9]. This small change has dramatically improved the accuracy of the classification. In [10], an improved method named as Unordered- was introduced to discover the unordered rules (set of rules) as opposed to the ordered rules discovered by . It differs slightly from search strategy by constructing a set of rules for prediction instead of creating a list of rules. In this, the set of ant discovered rules are employed on the instance and at the end a single rule is used to predict the class of a given instance, as a result it has improved the interpretability of individual rules by reducing the size of the discovered model.

We discussed rule based classification models so far, ACO can also discover decision trees. Otero et al. [12]

proposed a new decision tree induction algorithm, Ant-Tree-Miner by combining the traditional decision tree methods and ACO. It has induced the trees that are of the form similar to the trees produced by C4.5 

[14]. Although the ACO based classifiers are proved to be competitive enough with the well established machine learning methods, they still exhibit unstable behaviour. We examine the stability of different Ant-Miners in the following section.

3 Stability of Ant-Miners

A common notion in the machine learning community is that no classification algorithm is perfect. It can be true in many cases, in fact, it is worth interesting to test this fact, in the case of Ant-Miners. In fact, stability of the classifier suffers with a small change in the data. As all the Ant-Miners devise either the rules or the trees through the construction graphs in multiple iterations by a group of ants, operating on a different set of records in a dataset: particularly, this type of stochastic design, as a result, the inherent imperfection exerted, contributes to the unstable behaviour of Ant-Miners. With the effect from these reasons, it is important to examine the stability of Ant-Miners.

In this section we examine the stability of four relatively new Ant-Miners (cAntMiner, , , Ant-Tree-Miner) with an observation through the test error of each classifier on a given dataset. The variation in the test error is observed in each run of the -fold cross validation [18] procedure. In essence, in this procedure the dataset is divided into approximately equal chunks that in which, one chunk acts as test set while the remaining chunks act as training set. It is continued for runs varying the test set in each run. In this study, we selected six benchmark data sets111Note that there is no selection criterion on the datasets which are picked randomly for these preliminary experiments. (balance-scale, credit-g, heart-c, breast-tissue, glass, pima) that are publicly available at UCI Machine Learning repository.

Figure 1 represents the test error of the Ant-Miners in a -fold cross validation (stratified cross-validation as explained in [18]). It shows a drastic change in the error from one run to the other on almost all the datasets. That clearly shows the unstable behaviour of all the four Ant-Miners. From the deviation in the curves, shows relatively less unstable behaviour while the remaining Ant-Miners are highly unstable. Considering cAntMiner, continuous attributes are added to the construction graph that are of the form (). Then, cAntMiner assimilates dynamic entropy based discretisation procedure in devising antecedents of the rule with in the boundaries of ( and ).

Figure 1: An analysis through the stability of the four Ant-Miners (cAntMiner, , , Ant-Tree-Miner) when applied -fold cross validation across randomly selected datasets from the UCI Machine Learning repository. The curves represent the test error (y-axis) of the respective Ant-Miner over a given dataset with the -fold cross validation.

In the case of a small change in the dataset, a change in the boundary values is inevitable. That in fact, evolves a completely new rule with different boundary values as well as possibly a different attribute that in turn affects the predictive accuracy. For example, if age 18 then yes, is a rule in the first run of the -fold cross validation in the next run with a small change in the data, the ants can devise a rule if age 18 and tumour-size 25 then no, that results in an unstable model with a lot of change in the predictive accuracy. Hence, it serves as a common reason behind the instability of all the dynamic entropy based Ant-Miners. Apart from this, there are other factors that can contribute to the instability as the other Ant-Miners are extended from cAntMiner, as discussed in section 2.

Figure 2: Ant-Tree-Miner discovered decision trees on the breast-cancer dataset. The presented trees are considered from Run 9 (left) and Run 10 (right) of the same -fold cross validation. Both the trees represent a portion of the whole ant devised decision trees. We focused only on the part of the tree that recorded a change in one of it’s nodes.

We now examine the remaining three Ant-Miners, of which, Ant-Tree-Miner is highly unstable. It is because of the fact that, a small change in the condition at any of the node of the ant devised tree model expends a significant change in the accuracy of the prediction. For example, Figure 2 partly shows the ant devised decision trees. The highlighted rectangular box (in red) is the only change in the entire model that altered the test error (can be observed numerically in Figure 1) to increase. This unstable behaviour is inevitable in almost all the other datasets, thus making the Ant-Tree-Miner highly vulnerable.

In the case of , where the covered data points are kept for the next iteration of the algorithm without removing, that in turn, effects the stability. Although works in literature report an increase in the accuracy of this classification, the results in Figure 1 shows that the stability suffers.

We can think of different alternatives to compensate this difficulty by tweaking the Ant-Miner classification procedure. But, an acclaimed solution that dealt with the unstable classifiers in the traditional machine learning is the use of ensembles. Ensemble of classifiers improves the stability as well as the accuracy. Before we delve into the proposed ensemble approach we take a quick walk through the state-of-the-art ACO based ensemble classifiers.

3.1 ACO ensembles

We found a few number of ensemble ACO classifiers in literature. Of which, Chen Wong [3] presented an ACO approach for the stacking ensemble, named ACO-Stacking. It addressed the difficulty to determine the configuration of base-layer classifiers and the meta-layer classifiers in Stacking. They demonstrated improved classification accuracy by selecting optimal configuration of base-classifiers using ACO search process.

Khalid Freitas [16]

proposed a new ACO based Bayesian network ensembles with a new ABC-Miner 

[15] as the base classifier, in order to predict the ageing related protein functions in bioinformatics. They identified the importance of human ageing related protein function prediction as a major application of hierarchical classification. They tackled this prediction task with the construction of a meta classifier through the best classifier selection, majority and weighted voting.

0:  S, Original training examples; I, Base Ant-Miner; T, Number of learning iterations;
0:  bagged model
1:  for all  such that  do
2:      Bootstrap(S); {Generate a bootstrap sample with replacement from S}
3:      L(); {Train base Ant-Miner on sample data }
4:     h[t] ; {Store the ant discovered model}
5:  end for
6:  while instance maximum examples do
7:     for all  such that  do
8:        prediction[t] classifyInstance(instance,h[t]); {Classify the instance across all the generated models.}
9:     end for
10:     return  majorityVoting(prediction); {return the class that’s predicted most.}
11:  end while
Algorithm 1 Pseudo code for the ensemble Ant-Miner algorithm.

Despite the proposed approach in this paper, to the best of our knowledge there are few investigations in improving the stability of Ant-Miners. We found that there is a lot of scope to produce ensemble Ant-Miners to reduce the classification error there by improving the stability that ultimately helps to improve the classification ability of Ant-Miners.

4 eAnt-Miner

The proposed ensemble Ant-Miner algorithm follows the traditional bagging procedure explained in [2]. Bagging is a statistical technique defined as the bootstrapped aggregation where the training set is bootstrapped for n times at which, n classification models are constructed. Then, each instance in the data set is classified across all the models as a result, the predictions are aggregated with the majority voting in case of classification, averaged if it is applied on regression. Algorithm 1 presents the pseudo code of the ensemble Ant-Miner.

In summary, the eAnt-Miner works as follows. It starts by taking the data set (S), base classifier (I), number of learning iterations (T) as the input. At any given instance the base classifier will be one variant of the state-of-the-art Ant-Miner classification algorithms considered in this paper. This algorithm works in two major steps. In the first step, it constructs a bootstrap sample () with a random replacement from the training data. In the second step, a model is prepared on the bootstrap sample (), then, the newly generated model is stored for testing. This procedure is repeated until it reached the maximum number of learning iterations (T) so that T Ant-Miner classification models are resulted. Now, each instance is classified on all the T models that record the predicted class. The predicted class of the instance is decided with a majority voting on all the predictions produced by T different models. For example: in case of binary classification, if we consider predictions [yes,no,yes,no,yes] then, yes is the predicted class resulted from the majority voting as it counts to .

Note that the original bagging procedure reduces the variance of the classifier as a result the predictive power of the classification improves. We discuss the impact of the bagged ensemble in the following sections.

Abbreviation Classifier Ref. Parameter Description
cAM cAntMiner [11] The number of ants are set to while
the minimum number of data points per rule
are whereas the maximum uncovered data
points are and convergence limit on the
number of rules is .
cAntMiner [8] The number of ants in a colony is set to
with a maximum number of iterations of ,
an evaporation factor of , the minimum
covered data points are . An error based
rule list quality function has been used.
ATM Ant-Tree-Miner [12] The colony size is set to , the maximum
number of iterations is , the evaporation
factor is with the minimum number
of iterations per branch is . An error based
tree measure is used to determine the quality
of the ant discovered tree.
U-cAM Unordered-cAntMiner [10] The colony size of , a maximum number
of iterations is set to , evaporation factor
is . The dynamic rule quality function is
the best method to experiment hence, it is
used in this paper.
Table 1: The four experimented Ant-Miner variations and their experimental parameter settings.

5 Experiments

We consider four different Ant-Miner classifiers that are discussed in section 3. The same classifiers are used as the base classifiers with the proposed ensemble approach in which the names are preceded with the letter () from here onwards. Table 1 presents all the four selected Ant-Miner variations. Column is the abbreviation of the corresponding Ant-Miner which we use to refer to that particular algorithm from here till the end of the paper. It also provides a brief explanation about the parameter settings, all the algorithms used the default parameter values proposed by the corresponding authors. A detailed explanation of the parameters can be found in their respective citations.

Abbreviation Dataset # Attributes       # Classes # Examples
Description Nominal Continuous
anneal annealing 29 9 6 898
balance balance scale 4 0 3 625
breast-l breast cancer ljubljana 9 0 2 286
breast-t breast tissue 0 9 6 106
breast-w breast cancer wisconsin 0 30 2 569
credit-a credit approval 8 6 2 690
cylinder cylinder bands 16 19 2 540
derm dermatology 33 1 6 366
glass glass 0 9 7 214
heart-c heart cleveland 6 7 5 303
heart-h heart hungarian 6 7 5 294
ionos ionosphere 0 34 2 351
iris iris 0 4 3 150
liver liver disorders 0 6 2 345
park parkinsons 0 22 2 195
pima pima 0 8 2 768
wine wine 0 13 3 178
Table 2: Summary of datasets used in the experiments.

We performed two different type of experiments: the first one deals with the single classifier classification, the next one contains the ensemble of the classifiers. In the case of single Ant-Miner classification experiments, the performance is measured with the help of -fold cross-validation where the given data set is divided into approximately ten equal stratified partitions. One partition is held out as test data while the classifier learns to discover a model on the remaining nine partitions. In this case, the miss-classification rate (i.e., the sum of the false positives and false negatives) is measured on the unseen (hold-out) partition considering that as the test error. The final value of the test error for a particular dataset is the average value obtained across the ten folds.

On the other hand, in the case of ensemble classification, we split the input data set into both training () and test () sets. Bootstrapped random samples with replacement are created on the training set. i.e., We created random samples of data with the size of the training set. As a result, the base Ant-Miner discovered ten different models that are used to created a single bagged ensemble classifier. The class values of the test set (unseen data) are predicted using the majority voting procedure (as explained in section 3.1). In this case also we recorded the test error of the resultant bagged ensemble. Note that the test error is often used as the classification error that explains the generalization ability of the classifier. This process is repeated for iterations so that the final value is the average of all the iterations.

Dataset cAM ecAM ATM eATM U-cAM eU-cAM
anneal 10.37 9.92 6.43 5.69 1.99 1.67 4.32 2.18
balance 31.86 30.14 21.59 18.24 36.79 32.16 23.59 21.06
breast-l 29.07 27.93 28.26 25.41 25.80 20.40 27.24 21.85
breast-t 34.18 31.25 30.28 29.63 32.27 28.15 36.09 26.88
breast-w 12.25 11.64 8.73 4.52 9.86 6.14 9.43 7.11
credit-a 18.21 18.57 16.80 14.19 13.48 11.57 17.29 15.44
cylinder 34.16 30.79 29.67 27.19 25.64 24.13 29.15 26.23
derm 14.42 11.30 10.27 8.60 7.39 4.56 12.16 11.89
glass 40.46 38.04 34.18 30.93 35.59 36.22 36.10 33.48
heart-c 47.16 43.97 35.49 32.15 39.94 36.16 38.42 36.69
heart-h 38.29 36.42 37.18 35.56 32.31 29.87 36.46 34.19
ionos 18.87 16.12 11.05 10.46 9.82 7.51 10.59 9.56
iris 10.67 5.56 8.87 7.41 5.38 3.70 7.46 6.45
liver 38.54 35.12 36.65 32.51 30.28 29.18 33.01 26.81
park 19.95 16.25 14.59 11.14 11.18 7.60 14.31 12.82
pima 28.61 29.73 26.48 24.17 27.42 26.27 25.96 24.87
wine 11.76 9.26 7.41 3.69 4.11 3.85 5.62 3.73
Table 3: Average test error (in ) measured by applying 10-fold cross-validation in the case of single classifiers and random bootstrapped samples with replacement for iterations in the case of ensemble classification. The algorithm with the lowest error rate is shown in bold.
Dataset cAM ecAM U-cAM eU-cAM
anneal 13.36 [0.45] 15.78 [2.14] 7.84 [0.39] 9.15 [1.11] 2.34 [0.03] 4.16 [1.05]
balance 11.66 [0.05] 14.17 [2.31] 6.51 [0.26] 9.46 [0.89] 3.4 [0.01] 5.17 [1.06]
breast-l 9.13 [0.23] 11.46 [2.56] 6.28 [0.13] 7.23 [1.46] 2.44 [0.08] 4.16 [1.29]
breast-t 6.14 [0.04] 7.73 [2.18] 3.93 [0.01] 4.29 [1.08] 1.91 [0.11] 2.15 [1.18]
breast-w 12.15 [0.56] 14.46 [1.57] 9.31 [0.10] 10.42 [1.38] 3.41 [0.07] 4.56 [0.53]
credit-a 16.34 [0.67] 17.06 [1.03] 10.26 [0.01] 11.34 [1.07] 4.56 [0.06] 6.11 [0.29]
cylinder 29.17 [1.26] 31.38 [2.16] 15.29 [0.15] 17.16 [1.10] 3.48 [0.03] 5.16 [0.19]
derm 17.48 [0.21] 18.49 [1.36] 16.26 [0.21] 17.09 [1.67] 5.46 [0.09] 6.18 [0.13]
glass 8.97 [0.01] 10.19 [0.46] 6.79 [0.71] 7.45 [0.18] 2.71 [0.11] 3.38 [0.26]
heart-c 16.32 [1.05] 16.84 [1.16] 10.49 [0.49] 11.14 [0.56] 3.46 [0.01] 4.16 [0.12]
heart-h 9.81 [0.84] 9.16 [1.18] 6.13 [0.16] 7.43 [0.56] 2.98 [0.19] 4.19 [0.09]
ionos 9.12 [0.84] 11.14 [1.09] 8.15 [0.16] 9.28 [1.06] 3.24 [0.09] 5.02 [0.06]
iris 2.74 [0.02] 5.16 [0.16] 1.26 [0.04] 3.19 [0.42] 0.86 [0.06] 1.96 [0.10]
liver 15.61 [0.05] 18.82 [1.35] 10.9 [0.01] 12.18 [0.46] 2.31 [0.24] 4.56 [1.59]
park 1.4 [0.07] 3.26 [0.24] 0.96 [0.04] 1.63 [0.24] 1.8 [0.10] 3.05 [0.37]
pima 10.08 [1.52] 12.16 [2.64] 6.34 [0.11] 8.96 [1.19] 2.01 [0.05] 4.56 [0.18]
wine 5.59 [0.07] 7.28 [2.43] 3.9 [0.34] 5.63 [1.19] 1.26 [0.10] 3.17 [0.19]
Table 4:

Average number of terms (average [standard error]) discovered by the standard Ant-Miner and ensemble Ant-Miners in classifying a data point. The lowest value is in boldface for a given dataset.

5.1 Results

In order to perform the experiments, we have designated publicly available datasets from the UCI Machine Learning repository [1]. Table 2 expounds the data sets used in the experiments. All the data sets contain unique data points (no duplicates). We compare the experimental results obtained in the two set-ups (single, ensemble classification) that determine the effect of the proposed approach on the classification error.

Table 3 represents the comparative analysis of the average test error rates of single Ant-Miners with that of the ensemble Ant-Miners (bagged Ant-Miners). The lower the error value the better the classifier performance. A value for a given data set is shown in bold if it is significantly lower than the rest of the algorithms. Since, the Ant-Miners are stochastic algorithms we executed single Ant-Miner classifiers for iterations with each iteration having one -fold cross-validation (i.e., 10 x 10 times for each data set). The average error value is computed across all the ten iterations. In case of ensemble classification, the average test error is calculated for iterations with each iteration containing random bootstrapped samples (i.e., 10 x 10 times for each data set).

Algorithm Avg. Rank -value -Hommel
6.511302390730246 7.450199199902389E-11 0.0071428571428571435
5.951190357119043 2.661992555310251E-9 0.008333333333333333
eATM 5.811162348716241 6.204056085147265E-9 0.01
4.62092427729243 3.820342059789907E-6 0.0125
3.010602180660221 0.0026073020496656255 0.016666666666666666
ATM 2.940588176458821 0.0032758974829086296 0.025
ecAM 1.6803361008336113 0.09289194088370535 0.05
Table 5: Statistical test results of the algorithms on average test error as per the non-parametric Friedman test with Hommel’s post hoc test. Significantly different results at = are in boldface.

Table 4

summarizes the results obtained in terms of the average size of the discovered model. Each value in the table represents the average number of terms in the discovered model followed by the standard deviation (average [standard deviation]) for the corresponding data set. Smaller the average simpler the model, significantly small models are shown in boldface. In order to prove the significance of the reported results, we performed statistical significance tests at

= . Since the bootstrapped sample of data sets contribute to discover a model hence, the size of the discovered model is increased with the new ensemble approach.

Table 5 presents the results based on Friedman tests with Hommel’s post-hoc analysis [4, 6] for the test error and the model size. For each algorithm, the table shows the average rank, p-value, and the adjusted value. The statistically significant difference is determined with the adjusted p-value: if the is less than then the difference in the ranks is statistically significant at = level. All the ensembles except , achieved better ranks in comparison with the single classifiers improved the performance by reducing the test error. Of those three ensembles, attained the best average rank outperforming the state-of-the-art Ant-Miners, thus, improved the performance. is the only bagged ensemble that has not improved the performance over the standard Ant-Miner variations.

Algorithms Avg. Rank -value -Shaffer
cAM vs. 6.5113023907 7.450199199E-11 0.00178571428
cAM vs. 5.9511903571 2.66199255531E-9 0.00238095238
cAM vs. eATM 5.8111623487 6.204056085E-9 0.00238095238
ecAM vs. 4.83096628989 1.35872009979E-6 0.0023809523
cAM vs. 4.6209242772 3.82034205978E-6 0.0023809523
ecAM vs. 4.2708542562 1.947256374517E-5 0.002380952
ecAM vs. eATM 4.1308262478 3.61461714458E-5 0.00238095238
vs. ATM 3.57071421427 3.56009163215E-4 0.00238095238
vs. 3.50070021007 4.640375320753E-4 0.003125
vs. ATM 3.0106021806 0.00260730204966 0.003125
cAM vs. 3.01060218066 0.00260730204966 0.003125
vs. 2.940588176458 0.003275897482 0.003125
cAM vs. ATM 2.94058817645 0.00327589748290 0.00312
ecAM vs. 2.94058817645 0.003275897482 0.003333333333
ATM vs. eATM 2.87057417225 0.0040972705955 0.003571428571
vs. eATM 2.8005601680 0.005101399646 0.0038461538461
vs. 1.89037811343 0.058707408431 0.00416666666
cAM vs. ecAM 1.680336100833 0.092891940883 0.00454545454
vs. ATM 1.6803361008 0.092891940883 0.005
vs. 1.610322096632 0.107327557761 0.0055555555555
vs. 1.33026607982 0.183430618982 0.00625
ecAM vs. 1.330266079826 0.18343061898 0.0071428571428
ecAM vs. ATM 1.2602520756252091 0.2075784423 0.008333333333
vs. eATM 1.190238071423 0.233952833 0.01
vs. eATM 0.700140042014 0.4838398 0.0125
vs. 0.56011203 0.575403022 0.016666666
vs. eATM 0.14002800840280155 0.8886378608 0.025
vs. ATM 0.07001400420140025 0.9441825132 0.05
Table 6: Shaffer’s multiple hypothesis comparison test results at

Shaffer [17] presented a statistical procedure in order to perform pair-wise comparison of multiple hypothesis. In this paper, we use this procedure to conduct a pair-wise comparison of multiple Ant-Miners. Table 6 presents the multi-classifier comparison results at =0.05. In the table, significantly better results are shown in boldface. For example, in cAM vs. , from the Shaffer’s test, outperforms cAM. This analogy applies to all the pair-wise comparisons that their -Shaffer value is in bold.

Recall that the Ant-Tree-Miner and the Unordered-cAnt-Miner are the most unstable (discussed in section 3). Finally, from the results, it is now clear that the performance of the Ant-Miners is improved, thus, the stability also enhanced, through the introduction of the ensemble approach.

6 Conclusion

This paper has proposed to apply the bagged ensemble approach on Ant-Miners, eAnt-Miner, to improve the stability of ACO classification. The stochastic nature of the ACO classifiers exert instability in the final discovered model that contributes to the high level of classification error. This is an important reason for the instability of the Ant-Miners. In the case of Ant-Tree-Miner, change in at least one node of a tree highly changes the final results, which is another important reason for instability. The main objective is to reduce the error there by improving the accuracy of various Ant-Miners that indeed improves the stability.

We compared the proposed ensemble approach with the single Ant-Miners in terms of average test error as it is often used as a standard measure to evaluate the performance of a classifier. We evaluated the new approach on publicly available data sets. As a result, we reduced the test error of the classifiers that improved the stability and the performance of the ACO classification. Our results showed that the ensemble Ant-Tree-Miner (eATM) outperformed the state-of-the-art Ant-Miners and most of the proposed ensemble approaches.

In general, ensemble methodology seeks opinion of several experts before taking a decision on the prediction. Researchers of various fields starting from statistics, evolutionary computation, to machine learning have explored the use of ensemble methods. The proposed approach concentrated only on producing bagged ensembles for multiple and binary class classification. There are other ensemble approaches

, that we aim to explore in future. We recommend to apply these new methods to hierarchical data sets. We also recommend to employ the ensemble methods proposed in [16, 3] on Ant-Miner variations to further improve the ACO based classification.


  • [1] K. Bache and M. Lichman. UCI machine learning repository. http://archive.ics.uci.edu/ml, 2013.
  • [2] L. Breiman. Bagging predictors. Machine Learning, 24(2):123–140, aug 1996.
  • [3] Y. Chen and M. L. Wong. An ant colony optimization approach for stacking ensemble. In Nature and Biologically Inspired Computing (NaBIC), 2010 Second World Congress on, pages 146–151, Dec 2010.
  • [4] J. Demšar. Statistical comparisons of classifiers over multiple data sets. Journal of Machine Learning Research, 7:1–30, 2006.
  • [5] M. Dorigo and T. Stützle. Ant colony optimization. MIT Press, 2004.
  • [6] S. García and F. Herrera. An extension on statistical comparisons of classifiers over multiple data sets for all pairwise comparisons. Journal of Machine Learning Research, 9:2677–2694, 2009.
  • [7] D. Martens, B. Baesens, and T. Fawcett. Editorial survey: swarm intelligence for data mining. Machine Learning, 82(1):1–42, 2011.
  • [8] M. Medland, F. E. B. Otero, and A. A. Freitas. Improving the cant-minerpb classification algorithm. In ANTS, pages 73–84, 2012.
  • [9] F. E. Otero, A. A. Freitas, and C. G. Johnson. cant-miner: An ant colony classification algorithm to cope with continuous attributes. In M. Dorigo, M. Birattari, C. Blum, M. Clerc, T. Stützle, and A. Winfield, editors, Ant Colony Optimization and Swarm Intelligence, volume 5217 of Lecture Notes in Computer Science, pages 48–59. Springer Berlin Heidelberg, 2008.
  • [10] F. E. B. Otero and A. A. Freitas. Improving the interpretability of classification rules discovered by an ant colony algorithm. In GECCO, pages 73–80, 2013.
  • [11] F. E. B. Otero, A. A. Freitas, and C. G. Johnson. Handling continuous attributes in ant colony classification algorithms. In Computational Intelligence and Data Mining, 2009. CIDM ’09. IEEE Symposium on, pages 225–231, 2009.
  • [12] F. E. B. Otero, A. A. Freitas, and C. G. Johnson. Inducing decision trees with an ant colony optimization algorithm. Appl. Soft Comput., 12(11):3615–3626, 2012.
  • [13] R. Parpinelli, H. Lopes, and A. Freitas. Data mining with an ant colony optimization algorithm. IEEE Transactions on Evolutionary Computation, 6(4):321–332, 2002.
  • [14] J. R. Quinlan. C4.5: Programs for Machine Learning. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1993.
  • [15] K. M. Salama and A. A. Freitas. Abc-miner: An ant-based bayesian classification algorithm. In M. Dorigo, M. Birattari, C. Blum, A. Christensen, A. Engelbrecht, R. Groß, and T. Stützle, editors, Swarm Intelligence, volume 7461 of LNCS, pages 13–24. Springer Berlin Heidelberg, 2012.
  • [16] K. M. Salama and A. A. Freitas. Aco-based bayesian network ensembles for the hierarchical classification of ageing-related proteins. In L. Vanneschi, W. Bush, and M. Giacobini, editors, Evolutionary Computation, Machine Learning and Data Mining in Bioinformatics, volume 7833 of LNCS, pages 80–91. Springer Berlin Heidelberg, 2013.
  • [17] J. P. Shaffer. Multiple hypothesis testing. Annual Review of Psychology, 46:561–584, 1995.
  • [18] I. H. Witten, E. Frank, and M. A. Hall. Data Mining: Practical Machine Learning Tools and Techniques. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 3rd edition, 2011.