covid
Buscar en
Journal of Applied Research and Technology. JART
Toda la web
Inicio Journal of Applied Research and Technology. JART Proposing a features preprocessing method based on artificial immune and minimum...
Journal Information
Vol. 13. Issue 4.
Pages 477-481 (August 2015)
Share
Share
Download PDF
More article options
Visits
2100
Vol. 13. Issue 4.
Pages 477-481 (August 2015)
Original
Open Access
Proposing a features preprocessing method based on artificial immune and minimum classification errors methods
Visits
2100
M. Miralvand, S. Rasoolzadeh
Corresponding author
Siam.rasoolzade@gmail.com

Corresponding author.
, M. Majidi
Department of Computer Engineering, Malayer Branch, Islamic Azad University, Malayer, Iran
This item has received

Under a Creative Commons license
Article information
Abstract
Full Text
Bibliography
Download PDF
Statistics
Figures (2)
Tables (4)
Table 1. Summary of used datasets.
Table 2. Error rate of different.
Table 3. Results of the Dunn index.
Table 4. Results of the SD index.
Show moreShow less
Abstract

Artificial immune systems that have been inspired from organic immune systems, have drawn many attentions in recent years (and have been considered) as an evolutionary algorithm, and have been applied in different papers. This algorithm can be used in two different areas of optimization and classification. In this paper, an artificial immune algorithm has been applied in optimization problem. In particular, artificial immune systems have been used for computing the mapping matrices and improving features. Comparison of results of proposed method with other preprocessing methods shows the superiority of the proposed method so that in 90% of cases it has the best performance based on different measures. Evaluation measures are including classification rate, variance and compression measure.

Keywords:
Artificial immune systems
Evolutionary algorithm
Optimization problem
Full Text
1Introduction

Bio-inspired computing lies within the realm of natural computing, a field of research that is concerned with both the use of biology as an inspiration for solving computational problems and the use of the natural world experiences to solve real world problems. The increasing interest in this field lies in the fact that nowadays the world is facing more and more complex, large, distributed and ill-structured systems, while on the other hand, people notice that the apparently simple structures and organizations in nature are capable of dealing with most complex systems and tasks with ease. Artificial immune systems (AIS) is one among such computing paradigms, which has been receiving more attention recently and have widely been used in different application areas such as clustering/classification, anomaly detection, computer security, learning, web mining, numeric function optimization and combinatory optimization (Luther et al., 2007).

AIS have been inspired from mammal's immune systems against various diseases. These methods have been used in two areas of optimization and classification. In Ayara et al. (2002), Garrett (2005), and Watkins et al. (2004), the artificial immune algorithms have been grouped into two categories: a) population based methods, and b) network dependent methods. Each one of these groups has two branches. This categorization is illustrated in Figure 1. Generally clonal model is applied in optimization problems and negative selection in classification and clustering (Abbasian et al., 2008; Rafe, 2013). Since the present work mainly focuses on population based methods, we introduce this model in the next sections.

Fig. 1.

Artificial immune systems (AIS) categories.

(0.1MB).

In this paper AIS based on clonal selection model have been used and the optimization and features space transformation problems have been solved based on these algorithms.

Feature improvement and feature space transformation are one of the preprocessing methods that cause the amount of overlapping between dataset classes decrease and then classification of packages can be done very carefully at new feature space. One of the features transformation methods is based on Minimum Classification Error (MCE) algorithms (Moeinzadeh et al., 2009).

MCE algorithms are efficient and effective methods of feature transformation and have many applications in the fields of data mining and machine learning (De La Torre et al., 1996). This method as a discriminate method can be combined with each classification method and can be proposed as a preprocessing operation. The goal of this method is that, with the aim of mapping on the features, they could be transmitted into new space so the overlapping of classes in new space becomes less than previous state. This operation causes the classification error reduction. In this method the mapping is done with the multiplying of mapping matrix into data sets samples (Raahemi et al., 2009; Mahdian et al., 2009).

Mapping matrix of MCE method is computed based on classification error and for computing this matrix in each step, mapping matrix changes so that classifying error reduces. The most important part of MCE method is mapping matrix. Various methods have been presented for computing the matrix (De La Torre et al., 1996). In this paper we use AIS to calculate the mapping matrix (Markowska-Kaczmar & Kordas, 2008).

The rest of the paper is organized as follow: in next section we have a brief explanation on AIS cycle and its operators. In section 3, the proposed method for calculating the transformation matrix is described. In section 4, a number of datasets are given and the experimental results from these datasets are presented and compared with the results of other methods. Finally, in section 5 we discuss the benefits and limitations of our approach and came to a conclusion.

2Artificial Immune Systems in Solving Optimization Problems

All living beings are endowed with an immune system whose complexity varies according to their characteristics. Animals containing bones developed a highly effective and complex immune system. It's composed of a vast array of cells, molecules and organs that work together to maintain life. The focus here will be on the immune system of vertebrates, more specifically of humans. When human's body faces with an external and unknown factor that has been entered into its body, bone marrow begins to generate and to proliferate cells and antibodies that can detect the external factor. For this purpose the bone marrow begins to generate different cells and each cell secretes a special type of antibody. Cells that secreted antibody by them better identifies and nurtures the external entered factor, is recognized as winner cell and from this time force bone marrow generates more of this cell, finally the winner cell will fill the most body's immune systems cells against external factors and secreted antibody from this cell is saved on bone marrows memory.

The mentioned procedure in this subsection is called clonal model. In this model, two functions play the main role, these are the maturity function and the affinity function. Figure 2 shows different parts of the model.

Fig. 2.

The artificial immune systems cycle.

(0.09MB).

Initial population: The first step is the initial population valuation. Each member of this set is called a chromosome.In this step a set of valid solutions for the problem is produced randomly, additionally, there is a memory that is called M and it exists beside this set. In each execution cycle, algorithm saves the best founded solution on its memory.

Affinity calculation: Affinity calculation gives a chromosome as input and computes its fitness value. In fact, with the aim of this function we can compare two chromosomes. This function plays the role of fitness function operator in genetic algorithms. So at this step a value is computed for each chromosome that could be used as a measure for comparison of chromosomes with each other at the next steps.

Selection operator: At this step existed chromosomes are sorted based on their affinities and among them chromosomes that have better affinity value are selected and other chromosomes are deleted. At this step the number of existed chromosomes of population decreases and only better chromosomes move to the next step.

Clonal selection: After sending better chromosomes to the next step, each chromosome duplicates and the duplicated chromosomes are placed among new population. Clonal operation are determined based on the value of the correlation function for each chromosome meaning that the chromosome that has more affinity value is allowed to copy more samples of itself among population. So also in this step, number of existed chromosomes among population changes. The following formula shows the number of chromosomes among population:

where NS is the number of selected population, Pi is the number of samples that ith chromosome can copy to the new population.

Maturity operator: This function takes a chromosome as an input and with a change on that chromosome generates a new sample. In fact this operator is the substitute operator of mutation operator at genetic algorithms and is responsible for creating diversity at population.

3Proposed Preprocessing Method

As discussed before, minimum classification error algorithm is a pre-processing and features improvement method. In this method that is implemented for some iteration, in each step a matrix is approximated that with multiplying this matrix into input data set, samples of this data set are mapped to a new space. In minimum classification algorithm the mapping matrix is computed so that the classes of mapped data set in new space have less overlapping than previous state and finally, the classifying error is decreased. De La Torre et al. (1996) have presented the method of computing the mapping matrices for least classifying error. Rafe and Rahmani (2009) also have presented an evolutionary algorithm based on genetic algorithm for computing the mapping matrices of least classifying error. In this paper the mapping matrices of MCE algorithm is computed based on artificial immune evolutionary method. Different parts of proposed method will be investigated later. First in this section we will examine the chromosomes structuring, affinity function and maturity operator.

Initial population: The structure of chromosomes in the current problem is supposed to be a n*n matrix, and its genes are valued randomly; n is the number of the features of the input data set (in fact, each chromosome of population is a mapping matrices)

Affinity function: As discussed before, each chromosome is a transfer matrix for MCE pre-possessing method. To determine the degree of suitability of each chromosome, first we must impose that chromosome as a transfer matrix to data set and map the dataset to the space, then present the mapped samples as input to desired classification, and take the value of obtained error from classification output as the value of evaluation function for this chromosome. Based on equation (2), classification error value is computed and this value is taken as the affinity value of the current chromosome.

where C is the number of classes of data set, ECj is the number of errors that have been done on the class samples jth, and NCj is the number of class samples of the Jth class. Based on the above equation, lower affinity function value implies that fewer samples have been classified wrongly. Therefore the chromosome with the lowest affinity function value is the best one.

Maturity Operation: As discussed before, the maturity operation is used to generate diversity on the population and new chromosomes are generated based on this operator. In order to get more diversity among population, we use four different maturity operators:

  • Random maturity: in this operator, a gene of a chromosome is selected at random and its value is changed randomly

  • Swap maturity: in this operator, the places of two randomly selected gene of a chromosome are swapped.

  • Creep maturity: this maturity operator works by adding a small (positive or negative) value to selected gene. It means that this operator can change the value of a gene smoothly (increase or decrease).

  • Scramble maturity: the value of all genes of a chromosome changes completely randomly and the new chromosome is generated.

4Evaluating the Proposed Method

In this section, first an introduction of evaluation measures is given briefly. Then we will evaluate our proposed method by these measures.

Evaluation measures that have been used in this paper are variance and compression measure of samples of dataset and classification accuracy. Each of these measures is explained in the following subsections.

4.1Compression Measure (DUNN)

Dunn —a class validity index for evaluating each classification method— is proposed in Dunn (1974) and attempts to identify “compact and well-separated classes”. The index is defined by following equation for a specific number of classes:

where nc is number of classes, d(ci,cj) is the dissimilarity function between two classes Ci and Cj defi ed as:

It is clear that, if the dataset contains compact and well-separated classes, then the distance between the classes is expected to be large and the diameter of the clusters is expected to be small. Thus, based on the Dunn's index definition, we may conclude that large values of the index indicate the presence of compact and well-separated classes.

4.2Variance Measure (SD)

The SD validity index is defined based on the concepts of the average scattering for classes and total separation between classes [9]. Average scattering for classes is defined as Eq. (6).

where Vi is the center of the ith cluster and X is overall data. Total separation between clusters is defined as equation (7):

where Dmax and Dmin are the maximum and minimum distance between cluster centers respectively.

Now, validity index SD is defined based on Eqs. (8) and (9) as follows:

The first term Scat(nc) defined in Eq. (10) shows the average compactness of clusters and intra-cluster distance. A small value of this term indicates compact clusters. As the within-clusters scatter increases and clusters become less compact, the value of Scat(nc) increases. The second term Dis(nc) shows the total separation between nc clusters and inter-cluster distance. Dis(nc) is influenced by the geometry of the clusters centers. It increases with the number of clusters. Based on Eq. (10), we can say that small values of the index show the presence of compact and well-separated clusters. As the two terms of SD have the different ranges, the weighting factor λ is used in order to incorporate both terms in a balanced way. The nc minimizes the above index. So, it can be considered as an optimal value for the number of clusters present in the dataset.

In the following, we will compare the results that have been obtained from the proposed feature improvement method with the four recommended states. It shows the proposed method can improve the classification accuracy.

In our experiment we have considered the neural network classifier as the classification method and we investigated the detection rate of packages for this class at four states:

  • Without mapping and features improvement.

  • With features improvement based on standard MCE computation method.

  • With features improvement based on genetic algorithm computation.

  • With features improvement based on artificial immune systems computation method.

We compare these methods on the following data sets (Table 1).

Table 1.

Summary of used datasets.

  No. of features  No. of classes  No. of samples 
Iris  150 
Wine  13  178 
Glass  223 
Cmc  1472 
P2P  27,300 

Four datasets from UCI repository (IRIS, Wine, Glass, Cmc) are chosen and a dataset which is collected from real traffic on the university router and in Rafe and Hajvali (2013), and Raahemi et al. (2007), the authors used this dataset for evaluating their proposed methods. For each data set number of features, number of classes along with the number of samples is shown in Table 1.

Table 2 shows the results of the first experiment. Each value in this table is the average of 100 different runs. All the experiments reported in this paper performed on a Pentium IV with 4 GB RAM.

Table 2.

Error rate of different.

  Normal  MCE  GAMCE  AISMCE 
Iris  3.674  3.742667  3.498  3.334 
Wine  4.775281  4.382022  2.876404 
Glass  22.15695  21.33632  19.5278  20.35516 
Cmc  30.95448  29.34783  28.87228  28.3356 
P2P  11.2586  10.2509  9.273  7.9219 

Each row of this table shows the results of evaluation of different methods on the different data sets. In each row, the best obtained result has been highlighted. Obviously these results show that the preprocessing matrices that have been computed based on artificial immune method, in many cases could do the classification task with better accuracy relative to other states.

For evaluating our pre-processing approaches, we used Dunn index (Dunn†, 1974) as the next criteria. We calculated the Dunn index before applying any pre-processing method and after applying the discussed pre-processing methods. The results of this experiment are shown in Table 3.

Table 3.

Results of the Dunn index.

  Normal  MCE  GAMCE  AISMCE 
Iris  0.058  0.061  0.071  0.073 
Wine  0.0047  0.0051  0.0056  0.0057 
Glass  0.0154  0.0159  0.0167  0.0165 
Cmc  0.79  0.8  0.88  0.94 
P2P  0.17  0.212  0.224  0.234 

As it is shown in this table, most of the time, the proposed method has the best result based on the Dunn index criteria, so the better classification rate based on the proposed method is sensible.

Next, we measure the SD index on original dataset, and the ones mapped by the MCE, GAMCE, and AISMCE matrices. The results are shown in Table 4. We observe similar improvement in these measures when the original dataset is mapped into new dataset using the AISMCE matrix. This measure is decreased when we apply AISMCE matrix on the original dataset. This decrement shows the better separation between classes in new feature space after applying AISMCE matrix, most of the time.

Table 4.

Results of the SD index.

  Normal  MCE  GAMCE  AISMCE 
Iris  0.4226  0.4212  0.4207  0.4206 
Wine  0.31  0.2714  0.269  0.263 
Glass  0.5576  0.5567  0.5543  0.5542 
Cmc  0.193  0.184  0.172  0.161 
P2P  0.486  0.478  0.461  0.462 

As it can be seen from the tables, our results are promising. Comparing the obtained results from our approach with the results of the existing approaches in Tables 2, 3, and 4, we can conclude that our approach in the most of the cases improve the existing ones.

5Conclusions

AIS constitute a novel computational intelligence paradigm inspired by the immune system. AIS algorithms are highly abstract models of their biological counterparts and applied to solve problems in different domain areas. In this paper we propose a pre-processing and features improvement method based on the minimum classification error method in conjunction with AIS. In the proposed method for computing the mapping matrices we have used artificial immune algorithms and have compared its results with another evolutionary algorithm (Genetic Algorithm). In order to evaluate the proposed method, we have used the standard data set (UCI) and one data set that have been gathered from actual university router traffic and then based on it and some different evaluation measures the proposed method have been investigated. Evaluation measures that have been used in this paper are the compression value of classes, variance of classes and classification rate. All the mentioned measures shows the superiority of presented features improvement method so that obtained results based on the presented method shows that the proposed combined method has the best results based on different evaluation measures in 90% of cases.

References
[Abbasian et al., 2008]
Abbasian, H., Nasersharif, B., Akbari, A., Rahmani, M., & Moin, M.S. (2008). Optimized linear discriminant analysis for extracting robust speech features. In: 3rd International Symposium on Communications, Control and Signal Processing, 2008. ISCCSP 2008 (pp. 819-824). IEEE.
[Ayara et al., 2002]
Ayara, M., Timmis, J., De Lemos, R., De Castro, L.N., & Duncan, R. (2002). Negative selection: How to generate detectors. In: Proceedings of the 1st International Conference on Artificial Immune Systems (ICARIS) (Vol. 1, pp. 89-98). Canterbury, UK.
[De la Torre et al., 1996]
Á. De la Torre, A.M. Peinado, A.J. Rubio, V.E. Sánchez, J.E. Díaz.
An application of minimum classification error to feature space transformations for speech recognition.
Speech Communication, 20 (1996), pp. 273-290
[Dunn†, 1974]
J.C. Dunn†.
Well-separated clusters and optimal fuzzy partitions.
Journal of Cybernetics, 4 (1974), pp. 95-104
[Garrett, 2005]
S.M. Garrett.
How do we evaluate artificial immune systems?.
Evolutionary Computation, 13 (2005), pp. 145-177
[Luther et al., 2007]
Luther, K., Bye, R., Alpcan, T., Muller, A., & Albayrak, S. (2007). A cooperative AIS framework for intrusion detection. In: IEEE International Conference on Communications, 2007. ICC’07 (pp. 1409-1416). IEEE.
[Mahdian et al., 2009]
Mahdian, F., Rafe, V., Rafeh, R., & Miralvand, M.Z. (2009). Considering Faults in Service-Oriented Architecture: A Graph Transformation-Based Approach. In: International Conference on Computer Technology and Development, 2009. ICCTD’09 (Vol. 1, pp. 179-183). IEEE.
[Markowska-Kaczmar and Kordas, 2008]
U. Markowska-Kaczmar, B. Kordas.
Multi-class iteratively refined negative selection classifier.
Applied Soft Computing, 8 (2008), pp. 972-984
[Moeinzadeh et al., 2009]
Moeinzadeh, H., Nasersharif, B., Rezaee, A., & Pazhoumand-dar, H. (2009). Improving classification accuracy using evolutionary fuzzy transformation. In: Proceedings of the 11th Annual Conference Companion on Genetic and Evolutionary Computation Conference: Late Breaking Papers (pp. 2103-2108). ACM.
[Raahemi et al., 2007]
B. Raahemi, A. Hayajneh, P. Rabinovitch.
Peer-to-peer IP traffic classification using decision tree and IP layer attributes.
International Journal of Business Data Communications and Networking, 3 (2007), pp. 60-74
[Raahemi et al., 2009]
B. Raahemi, W. Zhong, J. Liu.
Exploiting unlabeled data to improve peer-to-peer traffic classification using incremental tri-training method.
Peer-to-Peer Networking and Applications, 2 (2009), pp. 87-97
[Rafe, 2013]
V. Rafe.
Scenario-driven analysis of systems specified through graph transformations.
Journal of Visual Languages & Computing, 24 (2013), pp. 136-145
[Rafe and Hajvali, 2013]
V. Rafe, M. Hajvali.
Designing an architectural style for pervasive healthcare systems.
Journal of Medical Systems, 37 (2013), pp. 1-13
[Rafe and Rahmani, 2009]
V. Rafe, A.T. Rahmani.
A Novel Approach to verify graph Schema- Based software systems.
International Journal of Software Engineering and Knowledge Engineering, 19 (2009), pp. 857-870
[Watkins et al., 2004]
A. Watkins, J. Timmis, L. Boggess.
Artificial immune recognition system (AIRS): An immune-inspired supervised learning algorithm.
Genetic Programming and Evolvable Machines, 5 (2004), pp. 291-317
Copyright © 2015. Universidad Nacional Autónoma de México, Centro de Ciencias Aplicadas y Desarrollo Tecnológico
Download PDF
Article options