<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Social Spider Algorithm Approach for Clustering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Harley Vera-Olivera</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jose´ Luis Soncco- A´lvarez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lauro Enciso-Rodas</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>harleyve@gmail.com</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>jose.soncco.alvarez@gmail.com</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>lauro.enciso@unsaac.edu.pe</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National University of San Antonio Abad del Cusco</institution>
        </aff>
      </contrib-group>
      <fpage>114</fpage>
      <lpage>121</lpage>
      <abstract>
        <p>Clustering is a popular data analysis technique to identify homogeneous groups of objects based on the values of their attributes, used in many disciplines and applications. This extended abstract of our undergraduate thesis for obtaining the engineer degree in informatics and systems, presents an approach based on the Social Spider Optimization (SSO) algorithm for optimizing clusters of data, taking as metric the sum of euclidean distances. Other important algorithms of the literature were implemented in order to make comparisons: K-means algorithm, and a Genetic Algorithm (GA) for Clustering. Experiments were performed using 5 datasets taken from the UCI Machine Learning Repository, each algorithm was executed many times and then the following measures were calculated: mean, median, minimum, and maximum values of the results. These experiments showed that the SSO algorithm outperforms the K- means algorithm, and it has results equally competitive as the GA. All these results were confirmed by statistical tests performed over the outputs of the algorithm.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>1 Introduction
Clustering is useful in several analysis such as
exploration of patterns, machine learning including
data mining, documents retrieval, image
segmentation and pattern classification. However in many</p>
      <p>
        This work was started when first and second authors
were undergraduate students at the National University of
San Antonio Abad del Cusco and was finished when the
authors were graduate students at the University of Brasilia,
both receiving a CAPES scholarship.
of these problems there is little prior information,
such as statistical models. It is under these
restrictions that clustering is particularly appropriate for
the exploration of interrelationships between data
to make a preliminary evaluation of its structure
        <xref ref-type="bibr" rid="ref6">(Jain et al., 1999)</xref>
        . Thus new conditions imposed
by Big Data presented new challenges at different
levels including clustering.
      </p>
      <p>
        The term clustering is used in several
communities to describe methods for grouping of
unlabeled data
        <xref ref-type="bibr" rid="ref6">(Jain et al., 1999)</xref>
        . Clustering is
the task of discovering groups and data structures
that are in some way or another ”similar”,
without using known structures
        <xref ref-type="bibr" rid="ref18">(vijayalakshmi and
Renuka Devi, 2012)</xref>
        . Intuitively, patterns within a
group are more similar compared to those patterns
belonging to a different group. Here, the goal is
to develop an automatic algorithm that can
accurately classify an unlabeled dataset in groups.
      </p>
      <p>
        Recent literature classifies clustering algorithms
in hierarchical, partitioning, and overlapping
        <xref ref-type="bibr" rid="ref19">(Xu
and Wunsch, 2009)</xref>
        . The partitional algorithm
divides a dataset into a finite number based on
certain criteria known as a measure of fitness. The
fitness measure affects directly the natural formation
of the groups, once a measure is selected the task
of the partition becomes an optimization problem.
      </p>
      <p>
        K-means algorithm is the most fundamental
concept of partitional grouping, was published in
1957 by Lloyd
        <xref ref-type="bibr" rid="ref8">(Lloyd, 1982)</xref>
        . In this case the
minimization of the Euclidean distance between
its elements and the center of a cluster was
considered as a criterion of optimization. Inspired by
K-means many algorithms were developed such
as: Bisecting K-means
        <xref ref-type="bibr" rid="ref16">(Steinbach et al., 2000)</xref>
        ,
sort-means
        <xref ref-type="bibr" rid="ref14">(Phillips, 2002)</xref>
        , X-means
        <xref ref-type="bibr" rid="ref13 ref6">(Pelleg and
Moore, 1999)</xref>
        , among others.
      </p>
      <p>
        Recent studies reveal a new trend, which was
named as stochastic algorithms with randomized
and local search meta-heuristic. The random
process generates arbitrary solutions that explore the
search space and are responsible for achieving
global solution
        <xref ref-type="bibr" rid="ref12">(Nanda and Panda, 2014)</xref>
        . The
first meta-heuristic inspired by nature was the
genetic algorithm developed by Holland and his
colleagues in 1975
        <xref ref-type="bibr" rid="ref5">(Holland, 1975)</xref>
        . This algorithm
is classified as evolutionary algorithm. On the
other hand, new bio-inspired optimization
algorithms are being introduced, such is the case of the
algorithm inspired by the social behavior of
spiders
        <xref ref-type="bibr" rid="ref1">(Cuevas et al., 2013)</xref>
        classified as swarm
intelligence algorithm proposed in 2013, which had
not been applied to the clustering problem until
our proposal.
      </p>
      <p>
        This extended abstract of our undergraduate
thesis for obtaining the engineer degree in
informatics and systems
        <xref ref-type="bibr" rid="ref17">(Vera-Olivera and
SonccoA´ lvarez, 2016)</xref>
        , presents an approach based on the
SSO algorithm for the clustering problem. The
contribution of this work is to show that the SSO
algorithm can produce competitive results
regarding classic approaches such as: (a) the k-means
algorithm, which was implemented as presented in
        <xref ref-type="bibr" rid="ref9">(Maulik and Bandyopadhyay, 2000)</xref>
        ; and (b) a
genetic algorithm approach for the clustering
problem, which was proposed by Maulik and
Bandyopadhyay (2000). The metric used for the
comparisons is the sum of euclidean distances of the
elements of the clusters to their respective
center, this metric is the output of the algorithms.
For the experiments were used 5 datasets from
the UCI Machine Learning Repository, for each of
these datasets the algorithms were executed
several times, and then the following measures were
calculated: mean, median, minimum, and
maximum values. This experiment showed that the
SSO algorithm has better results compared to the
ones obtained by the K-means algorithm, also the
SSO algorithm has equally competitive results as
the GA. Additionally, a statistical analysis was
performed, since we are working with stochastic
algorithms, using the Kolmogorov-Smirnov test
and the Wilcoxon rank sum test as discussed in
(Demsˇar, 2006),
        <xref ref-type="bibr" rid="ref4">(Durillo et al., 2009)</xref>
        ,
        <xref ref-type="bibr" rid="ref11">(Mun˜oz et
al., 2011)</xref>
        . The results of these statistical test
confirmed the results of the experiments.
      </p>
      <p>This paper is organized as follow: in Section
II, are given some definitions related to the
clustering problem; in Section III is given the original
proposal of the SSO algorithm; in Section IV,
details of our approach based on the SSO algorithm
for the clustering problem are presented, also the
pseudo-code of the algorithms is presented; in
Section V the experiments and results are showed,
a discussion of this results is presented, and also a
statistical analysis is performed; finally in Section
VI are presented the conclusions and future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The Clustering Problem</title>
      <p>
        According to Mirkin
        <xref ref-type="bibr" rid="ref10">(Mirkin, 2012)</xref>
        , clustering is
a discipline dedicated to reveal and describe the
structures of groups in a dataset and may define
four important involved concepts: data, structure
groups, reveal a group structure, and describe a
group structure. The following definitions were
taken from
        <xref ref-type="bibr" rid="ref15 ref15 ref2 ref7 ref9">(Maulik and Bandyopadhyay, 2000;
De Falco et al., 2007; Karaboga and Ozturk, 2011;
Senthilnath et al., 2011)</xref>
        .
      </p>
      <p>Suppose S = {x1, x2, . . . xn} is a set of N
dimensional n points and C = {c1, c2, . . . , ck} is
a set of N -dimensional k elements. The clustering
problem in a N -dimensional space RN consists in
partitioning the set S in a number k of clusters
based on a similarity metric, where each cluster
has as center an element ci from C.</p>
      <p>Suppose that Gi, i = 1, . . . , k, represents a
cluster, then the following properties hold:
• Gi 6= , to i = 1, . . . , k;
• Gi \ Gj =
i 6= j;
k
• S Gi = S
i=1</p>
      <p>, to i, j = 1, . . . , k, such that</p>
      <p>The clustering metric that has been adopted in
this work is the sum of the Euclidean distances of
the points of a group to their respective center. The
definition of this clustering metric M for k
clusters G1, G2, . . . , Gk, is given by the following
expression:
k
M(G1, G2, . . . , Gk) = X X
kxj</p>
      <p>cik
i=1 xj2 Gi
3</p>
    </sec>
    <sec id="sec-3">
      <title>Algorithm Based on the Social Behavior of Spiders</title>
      <p>Cuevas et al. (2013) proposed a new
optimization algorithm, called Social Spider
Optimization(SSO), the development of this new algorithm
was guided by the operational principle of the
social behavior of spiders. The SSO algorithm
assumes that the solution space is a community
network (spider web), where spiders interact to each
others. The main features of this approach are:
• Each solution within a space of solutions
represents the position of a spider in the
community network.
• Each spider receives a weight according to
the value of fitness solution that represents.
• The algorithm modeled two types of search
agents (spiders): male and female.
Depending on the genre each individual performs
different types of operations that simulate their
social behavior within the colony.</p>
      <p>An important feature of the colonies of social
spiders is that they have a high number of female
agents. This fact is simulated by defining the
number of females Nf randomly within the range of 65
to 90% of N , which is the number of elements of
the total population. The number of males Nm is
calculated as the complement of Nf regarding N .</p>
      <p>The total population S is divided into two
subgroups F and M . The group F is the set of female
spiders, and the group M is the set of male spiders.</p>
      <p>F = {f1, f2, . . . , fNf }</p>
      <p>M = {m1, m2, . . . , mNm }
where S = F [ M = {s1, s2, . . . , sN }
3.1</p>
      <sec id="sec-3-1">
        <title>Calculation of Fitness</title>
        <p>Each individual (spider) i of the population S
receives a wi weight, that represents the quality of its
solution. This weight can be calculated as follows:
wi =
where J (si) is the fitness value calculated by
evaluating the position of a spider si regarding the
function J . The values worsts and bests
considering a maximization problem, are defined as
follows:
bests = max(J (sk)), k 2 { 1, 2, . . . , N }
worsts = min(J (sk)), k 2 { 1, 2, . . . , N }
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Modeling of Vibrations Through the Community Network</title>
        <p>The community network is used as a mechanism
for transmitting information between the members
of the colony. This information is coded as small
vibrations that are critical for collective
coordination of all individuals. The vibrations are based on
the weight and the distance of the spider that
generated it. The vibrations that are perceived by an
individual i as a result of information transmitted
by an individual j are modeled by the following
expression:
2</p>
        <p>V ib i,j = wj ⇤ e di,j</p>
        <p>Where di,j is the euclidean distance between
spiders i and j. There are three special types of
vibrations that are considered in the SSO algorithm:
• V ib i,c vibrations, where c is the closest
member to i that has a higher weight
compared to i (wc &gt; wi).
• V ib i,b vibrations, where b is the individual
who has the best weight (best fitness value)
of the whole population S.
• V ib i,f vibrations, where f is the female
individual closest to i.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3 Initialization of Population</title>
        <p>The SSO algorithm starts by initializing the set S,
which contains N spiders positions. Each
position fi or mi, is an n-dimensional vector
containing the values to be optimized. These values are
distributed uniformly between the values, plow and
phigh, which are previously specified.
3.4</p>
      </sec>
      <sec id="sec-3-4">
        <title>Cooperative Operators 3.4.1 Cooperative Operator for female spiders</title>
        <p>To emulate the cooperative behavior of the female
spiders, a new operator is defined. The operator
considers the change in position of a female spider
i at each iteration, this change can be attractive
or repulsive and is calculated by combining three
elements:
• The first element considers the change
regarding the nearest member to i that has
the highest weight and produces vibration
V ib i,c;
• The second element considers the change
regarding the best individual of the population
S that produces vibration V ib i,b;
• The third incorporates a random movement.</p>
        <p>The last three elements can be considered as one
movement, we use the ”+” symbol for attraction
and the ”-” symbol for repulsion. The change in
position can be calculated as follows:</p>
        <p>fik+1 = fik ± movement
where k represents the iteration number.
3.4.2 Cooperative Operator for male spiders
To emulate the cooperative behavior of the male
spiders, these are divided into two groups:
dominant D and non-dominant N D. This division
is made according to its position respect to the
median of all male individuals. Individuals who
have a weight that is above the median are
considered dominants, otherwise they are considered
non-dominant.</p>
        <p>For dominant males are defined two
movements: (a) a movement of attraction to the
nearest female f that produces a vibration V ib i,f , and
(b) a random movement. The last two movements
can be considered as one, and then the change in a
dominant male can be calculated as follows:
mk+1 = mik + D movement</p>
        <p>i
where k represents the iteration number.</p>
        <p>For non-dominant males is defined just one
movement of attraction to the weighted average of
male spiders. Then the change in a non-dominant
can be calculated as follows:
mk+1 = mik + ND movement</p>
        <p>i
where k represents the iteration number.
3.5</p>
        <p>Mating operator
Mating a colony of spiders is made between
females and dominant males. So when a dominant
male mg finds a set of female spiders Eg within
a range of mating r, it mates, forming a new
offspring Snew. This new offspring is generated from
the set T g, which is formed by the union of Eg and
mg. When the set T g is empty, mating operation
is canceled.</p>
        <p>The weight of each spider that is involved in
the mating process, i.e. spiders from the set T g,
defines a probability of influence on the new
offspring. The probability of influence Psi is
assigned using the roulette-wheel selection, which
is defined as follows:</p>
        <p>Psi = Pj2 T g wj
wi
where si 2 T g.</p>
        <p>A spider is a solution within the solution space,
so a new spider is formed by choosing values for
each variable, this variable is chosen within the
values defined by the method of roulette. For
example let snew = {v1, v2, . . . , vn} be the new
spider, each variable vi is determined using the
method of roulette-wheel selection.</p>
        <p>Once a new spider snew was formed is
compared with the worst spider sworst from the colony
according to their weights, where wworst =
minl2{ 1,2,...,N}(wl). If the new spider snew is
better than the worst spider sworst, then sworst is
replaced by snew. Otherwise, the new spider is
discarded and the colony does not suffer alterations.
If a replacement occur, the new spider takes the
genre and index from the spider replaced.
4</p>
        <p>Optimization Algorithm Based on
Social Behaviour Spiders for</p>
        <p>
          Clustering Problems
As proposal we present an SSO
          <xref ref-type="bibr" rid="ref1">(Cuevas et al.,
2013)</xref>
          approach to solve the clustering problem.
This optimization algorithm based on the social
behaviour of spiders is a meta-heuristic algorithm
of general purpose, so it is necessary to modify
many elements of the algorithms such as the
representation of the individuals, calculation of the
fitness function, etc. Below are presented the
elements on which it was necessary to make
modifications to the original algorithm proposed in
          <xref ref-type="bibr" rid="ref1">(Cuevas et al., 2013)</xref>
          .
4.1
        </p>
        <p>Representations of Spiders (Individuals)
The first consideration to take into account is the
representation of each spider. Each spider (male
or female) represents a set of k clusters centers,
which is a feasible solution to the problem of
clustering.</p>
        <p>For instance, let x =
{(10.5; 20.4), (15.2; 25.0)} be a spider
that contains k = 2 cluster centers that are
{(10.5; 20.4) and (15.2; 25.0)}, in this particular
case each center has dimension n = 2.</p>
        <p>Each spider of the initial population was
generated taking k random points of a given dataset,
where k is the number of cluster to be found.
4.2</p>
        <sec id="sec-3-4-1">
          <title>Distance between Two Spiders</title>
          <p>It is necessary to define the distance between two
spiders, since a spider is formed by a set of cluster
centers (each center formed by several points) and
not by a set of points. So we define the distance
between two spiders as the sum of the euclidean
distances between their centers of clusters.</p>
          <p>For instance, let a = {(ax1 ; ay1 ), (ax2 ; ay2 )}
and b = {(bx1; by1), (bx2 ; by2 )} be two spiders
that have k = 2 clusters centers, with each center
having dimension 2. Then the distance between
these two spiders will be:
da,b
=
d((ax1 ; ay1 ), (bx1 ; by1 )) +</p>
          <p>d((ax2 ; ay2 ), (bx2 ; by2 ))
where d((ax1 ; ay1 ), (bx1 ; by1 )) is the Euclidean
distance between the centers (ax1 ; ay1 ) and
(bx1 ; by1 ).
4.3</p>
        </sec>
        <sec id="sec-3-4-2">
          <title>Fitness and Weight of a Spider</title>
          <p>The fitness of each spider, which is an indicator
of how good is the solution that this spider
represents, is calculated using the metric M. The aim
of the SSO algorithm is to minimize the fitness of
the population. Thus, a spider that has the
minimum fitness is the best within the population.</p>
          <p>The pseudocode for calculating the fitness of a
spider is presented in Algorithm 1. The weight of a
spider i was re-defined, because fitness and weight
have negative correlation, and it is calculated in
the following way:
wi =
worsts
worsts
In the mating stage was defined a mating set T
which is formed by a dominant male spider and the
female spiders that are within its range of mating.
From this set T are created new spiders, a new
spider represents a set of cluster centers, where each
cluster center is inherited from a spider within the</p>
          <p>Algorithm 1: Algorithm for calculating the
fitness of a spider</p>
          <p>Input: An array of cluster centers C (spider
C); a set D of n-dimensional m
points; an integer k &gt; 0 that
represents the number of clusters</p>
          <p>Output: Metric M of spider C
1 Create the set of empty clusters</p>
          <p>G = {G1, G2, . . . , Gk}
2 foreach point x of the set D do
3 Assign the point x to the cluster Gi whose
center Ci is the nearest to x;
4 foreach cluster Gi do
5 calculate a new center Ci⇤ ;
6 Calculate the metric M for the set of clusters</p>
          <p>G as defined in Section 2;
set T . In order to define the spider from which the
new spider will inherit a cluster center, it is used
the roulette-wheel selection.
4.5</p>
        </sec>
        <sec id="sec-3-4-3">
          <title>Substitution of Spiders</title>
          <p>
            In order to decide which spiders will be replaced
by the new spiders produced in the mating stage,
also is used the roulette wheel selection method,
where spiders of the population with less weight
(greater fitness) have more probability to be
replaced. It is important to note that the weight of
a spider have a negative correlation with respect
to its fitness value, since we are working with a
minimization problem and not with a
maximization problem as originally proposed by
            <xref ref-type="bibr" rid="ref1">(Cuevas et
al., 2013)</xref>
            .
          </p>
          <p>The pseudocode of our proposal is showed in
Algorithm 2.
5</p>
          <p>Experiments and Results
To compare the algorithms were taken five dataset
from UCI (UCI Machine Learning Repository)
repository: Balance, Cancer-Int, Dermatology,
Diabetes, Iris.</p>
          <p>The Balance dataset was generated to model
psychological experiments, each example is
classified as having the balance scale tip to the right,
tip to the left, or be balanced. The attributes are the
left weight, the left distance, the right weight, and
the right distance. The correct way to find the class
is the greater of (left-distance * left-weight) and
(right-distance * right-weight). If they are equal,
it is balanced.</p>
          <p>Algorithm 2: Social Spider Optimization
algorithm for the clustering problem</p>
          <p>Input: A dataset D of n-dimensional m
points; an integer k &gt; 0 that
represents the number of clusters</p>
          <p>Output: Metric M of the clusters found
1 foreach spider C of population P do
2 Choose randomly k points from dataset D
and create the array C (spider C) of
cluster centers;
3 Calculate fitness of population P ;
4 Calculate weight of population P ;
5 for i = 2 to numberGenerations do
6 Cooperative operator for female spiders;
7 Cooperative operator for male spiders;
8 Mating operator;
9 Replacement of spiders in P ;
10 Calculate fitness of population P ;
11 Calculate weight of population P ;
12 Return fitness (metric M) of the best solution
found;</p>
          <p>The Cancer-int dataset is one of three domains
provided by the Oncology Institute that has
repeatedly appeared in the machine learning literature.
This data set includes 201 instances of one class
and 85 instances of another class.</p>
          <p>In the Dermatology dataset is shown diagnoses
of erythemato-squamos diseases.</p>
          <p>Diabetes patient records were obtained from
two sources: an automatic electronic recording
device and paper records. The automatic device had
an internal clock to timestamp events, whereas the
paper records only provided ”logical time” slots
(breakfast, lunch, dinner, bedtime).</p>
          <p>Finally Iris contains 3 classes of 50 instances
each, where each class refers to a type of iris plant.
One class is linearly separable from the other 2;
the latter are NOT linearly separable from each
other.</p>
          <p>More features about the datasets are shown in
the Table 1.</p>
          <p>For the experiments the number of generations
was fixed at 100 for the three algorithms
(Kmeans, GA, SSO). For the case of GA and SSO
algorithms the number of elements of their
respective population was fixed at 100.</p>
          <p>The experiments were performed as follows:
for each dataset, the three algorithms (K-means,
GA, SSO) were executed 50 times . Each
execution of an algorithm returns the metric M of the
best solution found. Then, the following measures
were calculated: average, median, minimum and
maximum value of the results.</p>
          <p>The results of the experiments for each dataset
are shown in tables 2, 3, 4, 5, and 6 where the best
results are highlighted in bold.
In the experiments for the dataset Balance, see
Table 2, we can see that SSO algorithm has the best
results respect to all measures. Furthermore,
respect to the median and minimum values the SSO
algorithm has the same values as the GA.</p>
          <p>From the results for the dataset Cancer-int,
shown in Table 3, we can see that SSO algorithm
has the best results respect to all measures.
Furthermore, respect to the median and minimum
values the SSO algorithm has the same results as the
GA.</p>
          <p>In the case of Dermatology dataset, shown in
Table 4, GA algorithm has the best results respect
to all measures. Furthermore, respect to the
median and minimum values the SSO algorithm has
the same results as the GA this result is similar as
the two previous experiments.</p>
          <p>In the Table 5, we can see results of Diabetes
dataset, the results shown that SSO algorithm has
the best results respect to all measures. And,
respect to the minimum values the SSO algorithm
has the same results as the GA.</p>
          <p>Finally in the results for the Iris dataset, shown
in Table 6, SSO algorithm has the best results
respect to all measures too. Furthermore, respect
to the median and minimum values the SSO
algorithm has the same results as the GA.
5.2 Statistical Analysis
An additional statistical analysis was performed
for comparing the algorithms, since we are
working with stochastic algorithms.</p>
          <p>
            The following methodology was used: first the
Kolmogorov-Smirnov test was applied to
determine whether results (of 50 executions) of each
algorithm have a normal distribution. After
determining that the algorithms do not have normal
distribution the non parametric Wilcoxon rank sum
test was applied to compare the medians of two
algorithms. This methodology was discussed and
applied in others works (Demsˇar, 2006),
            <xref ref-type="bibr" rid="ref4">(Durillo
et al., 2009)</xref>
            ,
            <xref ref-type="bibr" rid="ref11">(Mun˜ oz et al., 2011)</xref>
            .
          </p>
          <p>The Wilcoxon rank sum test is used to test the
null hypothesis (H0) that the samples (of 50
executions) of two algorithms come from
distributions with same medians. If the null hypothesis
is rejected the alternative hypothesis is assumed
(HA) that the samples come from distributions
with different medians.</p>
          <p>A significance level of 5% (p value less or
equal than 0.05) was used for the Wilcoxon rank
sum test. If the test is successful then the null
hypothesis is rejected and the alternative
hypothesis is assumed, this result is shown using the ’s+’
symbol. Otherwise p value is greater than 0.05
and the null hypothesis is assumed, this results is
shown using the symbol ’s-’.</p>
          <p>In the table 7 are shown the results of the
statistical test of Wilcoxon between the SSO and
Kmeans clustering algorithms. In this table we can
see that there is statistical difference between SSO
and K-means algorithms for all cases. So we can
conclude that the SSO algorithm presents results
significantly better than K-means algorithm.</p>
          <p>In the table 8 is shown the result of the
statistical test of Wilcoxon between the SSO and the
GA. In this table we can see that for most cases
the SSO and GA algorithms have similar results.
Only in the case of Iris dataset exists statistical
significance, but we can not conclude that an
algorithm is better than another since they have the
same median, we can only say that the algorithms
have different behavior.
over 5 datasets from the UCI repository (Balance,
Cancer-Int, Dermatology, Diabetes, and Iris), also
comparisons were performed with two classic
approaches for the clustering problem: the k-means
algorithm and a genetic algorithm for clustering.</p>
          <p>The experiments showed that the SSO
algorithm has better results regarding the algorithm
kmeans, and regarding the genetic algorithm, the
SSO algorithm has equally competitive results.
All these results were validated statistically using
the non-parametric Wilcoxon rank sum test. Thus,
the main contribution of this work was to show
that the SSO algorithm can produce competitive
results when compared with classic algorithms.</p>
          <p>
            As future works, we will include comparisons
with newer algorithms of the literature. Also, it
is interesting to include in the experiments bigger
datasets. Finally, additional experiments will be
performed using other metrics such as the
Classification Error Percentage used in others works:
            <xref ref-type="bibr" rid="ref2">(De Falco et al., 2007)</xref>
            ,
            <xref ref-type="bibr" rid="ref15 ref7">(Karaboga and Ozturk,
2011)</xref>
            and
            <xref ref-type="bibr" rid="ref15">(Senthilnath et al., 2011)</xref>
            .
          </p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>Erik</given-names>
            <surname>Cuevas</surname>
          </string-name>
          , Miguel Cienfuegos, Daniel Zaldvar, and
          <string-name>
            <surname>Marco</surname>
          </string-name>
          Prez-Cisneros.
          <year>2013</year>
          .
          <article-title>A swarm optimization algorithm inspired in the behavior of the social-spider</article-title>
          .
          <source>Expert Systems with Applications</source>
          ,
          <volume>40</volume>
          (
          <issue>16</issue>
          ):
          <fpage>6374</fpage>
          -
          <lpage>6384</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Ivanoe De Falco</surname>
            , Antonio Della Cioppa, and
            <given-names>Ernesto</given-names>
          </string-name>
          <string-name>
            <surname>Tarantino</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>Facing classification problems with particle swarm optimization</article-title>
          .
          <source>Applied Soft Computing</source>
          ,
          <volume>7</volume>
          (
          <issue>3</issue>
          ):
          <fpage>652</fpage>
          -
          <lpage>658</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>Janez</given-names>
            <surname>Demsˇar</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Statistical comparisons of classifiers over multiple data sets</article-title>
          .
          <source>The Journal of Machine Learning Research</source>
          ,
          <volume>7</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>30</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Juan J Durillo</surname>
          </string-name>
          , Jose´ Garc´
          <article-title>ıa-</article-title>
          <string-name>
            <surname>Nieto</surname>
          </string-name>
          , Antonio J Nebro,
          <source>Carlos A Coello Coello</source>
          , Francisco Luna, and
          <string-name>
            <given-names>Enrique</given-names>
            <surname>Alba</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>Multi-objective particle swarm optimizers: An experimental comparison</article-title>
          .
          <source>In Evolutionary Multi-Criterion Optimization</source>
          , pages
          <fpage>495</fpage>
          -
          <lpage>509</lpage>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          John H Holland.
          <year>1975</year>
          .
          <article-title>Adaptation in natural and artificial systems: An introductory analysis with applications to biology, control, and artificial intelligence</article-title>
          . U Michigan Press.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Anil K Jain</surname>
            ,
            <given-names>M Narasimha Murty</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Patrick</surname>
          </string-name>
          J Flynn.
          <year>1999</year>
          .
          <article-title>Data clustering: a review</article-title>
          .
          <source>ACM computing surveys (CSUR)</source>
          ,
          <volume>31</volume>
          (
          <issue>3</issue>
          ):
          <fpage>264</fpage>
          -
          <lpage>323</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>Dervis</given-names>
            <surname>Karaboga</surname>
          </string-name>
          and
          <string-name>
            <given-names>Celal</given-names>
            <surname>Ozturk</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>A novel clustering approach: Artificial bee colony (abc) algorithm</article-title>
          . Applied Soft Computing,
          <volume>11</volume>
          (
          <issue>1</issue>
          ):
          <fpage>652</fpage>
          -
          <lpage>657</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>S.</given-names>
            <surname>Lloyd</surname>
          </string-name>
          .
          <year>1982</year>
          .
          <article-title>Least squares quantization in pcm</article-title>
          .
          <source>Information Theory</source>
          , IEEE Transactions on,
          <volume>28</volume>
          (
          <issue>2</issue>
          ):
          <fpage>129</fpage>
          -
          <lpage>137</lpage>
          , Mar.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>Ujjwal</given-names>
            <surname>Maulik</surname>
          </string-name>
          and
          <string-name>
            <given-names>Sanghamitra</given-names>
            <surname>Bandyopadhyay</surname>
          </string-name>
          .
          <year>2000</year>
          .
          <article-title>Genetic algorithm-based clustering technique</article-title>
          .
          <source>Pattern Recognition</source>
          ,
          <volume>33</volume>
          (
          <issue>9</issue>
          ):
          <fpage>1455</fpage>
          -
          <lpage>1465</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>Boris</given-names>
            <surname>Mirkin</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Clustering: a data recovery approach</article-title>
          . CRC Press.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Daniel M Mun</surname>
          </string-name>
          <article-title>˜oz, Carlos H Llanos, LDS Coelho,</article-title>
          and
          <string-name>
            <surname>Mauricio</surname>
          </string-name>
          Ayala-Rinco´n.
          <year>2011</year>
          .
          <article-title>Opposition-based shuffled pso with passive congregation applied to fm matching synthesis</article-title>
          .
          <source>In Evolutionary Computation (CEC)</source>
          ,
          <source>2011 IEEE Congress on</source>
          , pages
          <fpage>2775</fpage>
          -
          <lpage>2781</lpage>
          . IEEE.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <given-names>Satyasai</given-names>
            <surname>Jagannath</surname>
          </string-name>
          Nanda and
          <string-name>
            <given-names>Ganapati</given-names>
            <surname>Panda</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>A survey on nature inspired metaheuristic algorithms for partitional clustering</article-title>
          .
          <source>Swarm and Evolutionary Computation</source>
          ,
          <volume>16</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <given-names>Dan</given-names>
            <surname>Pelleg</surname>
          </string-name>
          and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Moore</surname>
          </string-name>
          .
          <year>1999</year>
          .
          <article-title>Accelerating exact k-means algorithms with geometric reasoning</article-title>
          .
          <source>In Proceedings of the fifth ACM SIGKDD international conference on Knowledge discovery and data mining</source>
          , pages
          <fpage>277</fpage>
          -
          <lpage>281</lpage>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Steven J Phillips</surname>
          </string-name>
          .
          <year>2002</year>
          .
          <article-title>Acceleration of k-means and related clustering algorithms</article-title>
          .
          <source>In Algorithm Engineering and Experiments</source>
          , pages
          <fpage>166</fpage>
          -
          <lpage>177</lpage>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <given-names>J</given-names>
            <surname>Senthilnath</surname>
          </string-name>
          , SN Omkar, and
          <string-name>
            <given-names>V</given-names>
            <surname>Mani</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Clustering using firefly algorithm: Performance study</article-title>
          .
          <source>Swarm and Evolutionary Computation</source>
          ,
          <volume>1</volume>
          (
          <issue>3</issue>
          ):
          <fpage>164</fpage>
          -
          <lpage>171</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <given-names>Michael</given-names>
            <surname>Steinbach</surname>
          </string-name>
          , George Karypis,
          <string-name>
            <given-names>Vipin</given-names>
            <surname>Kumar</surname>
          </string-name>
          , et al.
          <year>2000</year>
          .
          <article-title>A comparison of document clustering techniques</article-title>
          .
          <source>In KDD workshop on text mining</source>
          , volume
          <volume>400</volume>
          , pages
          <fpage>525</fpage>
          -
          <lpage>526</lpage>
          . Boston.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <given-names>Harley</given-names>
            <surname>Vera-Olivera</surname>
          </string-name>
          and
          <article-title>Jose´ Luis Soncco-A´ lvarez</article-title>
          .
          <year>2016</year>
          .
          <article-title>Algoritmo de optimizacio´n basado en el comportamiento social de aran˜as para clustering</article-title>
          .
          <source>Universidad Nacional de San Antonio Abad del Cusco</source>
          .
          <article-title>Undergraduate Thesis for Obtaining the Engineer Degree in Informatics and Systems</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>M vijayalakshmi and M Renuka</surname>
          </string-name>
          <article-title>Devi</article-title>
          .
          <year>2012</year>
          .
          <article-title>A survey of different issue of different clustering algorithms used in large data sets</article-title>
          . In
          <source>International Journal of Advanced Research in Computer Science and Software Engineering</source>
          , pages
          <fpage>305</fpage>
          -
          <lpage>307</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <given-names>R.</given-names>
            <surname>Xu</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.C</given-names>
            <surname>Wunsch</surname>
          </string-name>
          .
          <year>2009</year>
          . Clustering. Oxford Wiley.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>