<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJOp</journal-id><journal-title-group><journal-title>Open Journal of Optimization</journal-title></journal-title-group><issn pub-type="epub">2325-7105</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojop.2016.52009</article-id><article-id pub-id-type="publisher-id">OJOp-67514</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Hybrid Genetic Algorithm with K-Means for Clustering Problems
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ahamed</surname><given-names>Al Malki</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mohamed</surname><given-names>M. Rizk</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>A. El-Shorbagy</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>A.</surname><given-names>A. Mousa</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Department of Mathematics, Faculty of Science, Menoufia University, Al Minufya, Egypt</addr-line></aff><aff id="aff3"><addr-line>Department of Basic engineering sciences, Faculty of Engineering, Menoufia University, Al Minufya, Egypt</addr-line></aff><aff id="aff1"><addr-line>Department of Mathematics and Statistic, Faculty of Science, Taif University, Taif, Saudi Arabia</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>a_mousa15@yahoo.com(AAM)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>15</day><month>06</month><year>2016</year></pub-date><volume>05</volume><issue>02</issue><fpage>71</fpage><lpage>83</lpage><history><date date-type="received"><day>21</day>	<month>May</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>17</month>	<year>June</year>	</date><date date-type="accepted"><day>21</day>	<month>June</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The K-means method is one of the most widely used clustering methods and has been implemented in many fields of science and technology. One of the major problems of the k-means algorithm is that it may produce empty clusters depending on initial center vectors. Genetic Algorithms (GAs) are adaptive heuristic search algorithm based on the evolutionary principles of natural selection and genetics. This paper presents a hybrid version of the k-means algorithm with GAs that efficiently eliminates this empty cluster problem. Results of simulation experiments using several data sets prove our claim.
 
</p></abstract><kwd-group><kwd>Cluster Analysis</kwd><kwd> Genetic Algorithm</kwd><kwd> K-Means</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Genetic Algorithms (GAs) were introduced by Holland [<xref ref-type="bibr" rid="scirp.67514-ref1">1</xref>] and further described by Goldberg [<xref ref-type="bibr" rid="scirp.67514-ref2">2</xref>] as optimization approaches to find a global or near-global optimal solution. GAs are randomized heuristic search algorithm based on the evolutionary principles of natural selection and genetics. GAs represent smart exploitation of the random search which used for solving optimization problems. GAs are designed to simulate processes in natural systems necessary for evolution (i.e. it follows the principles first laid down by Charles Darwin of “survival of the fittest”) [<xref ref-type="bibr" rid="scirp.67514-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.67514-ref8">8</xref>] . GA starts with a set of potential solutions (chromosomes). Next, genetic operators (selection, mutation and crossover) are applied one after another to obtain a new generation of chromosomes. This process is repeated until the termination criterion is met. In addition, GA uses only a simple scalar performance measure, so it is easy to use and implement [<xref ref-type="bibr" rid="scirp.67514-ref9">9</xref>] . Data mining techniques comprise three components model, preference criterion and search algorithm. The most common functions in data mining techniques are association rule mining, classification, clustering, regression, sequence, link analysis and dependency modelling. The flexibility of the model for representing the underlying data and the interpretability of the model in human terms is determined by Model representation. This includes decision trees and rules, linear and nonlinear models, probabilistic graphical dependency models, relational attribute models and example-based techniques such as the NN-rule and case-based reasoning [<xref ref-type="bibr" rid="scirp.67514-ref10">10</xref>] . The preference criterion is used for determining which model to use for mining, depending on the underlying dataset, by associating some measure of goodness with the model functions. It tries to generating a model function with a large number of degrees of freedom (i.e. avoid over-fitting of the underlying data). After selecting the model and the preference criterion, specification of the search algorithm is defined. Descriptive and predictive are two mainly kinds of data mining tasks. The descriptive techniques provide a summary of the data, while the predictive techniques learn from the current data to make predictions about the behaviour of new datasets. One of the popular descriptive data mining techniques is Clustering; where it is used for partitioning an input dataset into a number of clusters. Clustering or grouping is an exploratory procedure that searches for “natural” structure within a data set. This process involves sorting the data cases or objects, into groups or clusters, so that objects in the same cluster are more like one another than they are like objects in other clusters. Sorting occurs in the basis of similarities calculated from the data. Clustering is useful for data reduction, developing classification schemes, and suggestion or supporting hypotheses about the structure of the data [<xref ref-type="bibr" rid="scirp.67514-ref11">11</xref>] .</p></sec><sec id="s2"><title>2. Clustering</title><p>Clustering techniques have been used in a wide range of disciplines such as: A novel approach of cluster based optimal ranking of clicked URLs using genetic algorithm for effective personalized web search [<xref ref-type="bibr" rid="scirp.67514-ref12">12</xref>] , Optimal clustering of microgrids based on droop controller for improving reliability using a hybrid of harmony search and GAs [<xref ref-type="bibr" rid="scirp.67514-ref13">13</xref>] , Cluster analysis using optimization algorithms with newly designed objective functions [<xref ref-type="bibr" rid="scirp.67514-ref14">14</xref>] , and GA optimization of defect clusters in crystalline materials [<xref ref-type="bibr" rid="scirp.67514-ref15">15</xref>] .</p><p>The most popular clustering tool used in scientific and industrial applications is The K-means clustering algorithm [<xref ref-type="bibr" rid="scirp.67514-ref16">16</xref>] - [<xref ref-type="bibr" rid="scirp.67514-ref20">20</xref>] . It proceeds as follows: Firstly, K objects are randomly selected; where each of which initially represents a cluster mean or center. Secondly, for each of the remaining objects, based on the distance between the object and the center, an object is assigned to the cluster to which it is the most similar. Finally, the new center for each cluster is computed and the process iterates until the criterion function converges. Typically, the squared-error criterion is used.</p><p>K-means works well when the clusters are compact clouds that are rather well separated from one another by adopting the squared-error criterion. On the other hand, when clusters have widely different sizes, densities, or non-spherical shapes it has difficulty detecting the natural clusters [<xref ref-type="bibr" rid="scirp.67514-ref21">21</xref>] . It will divide the objects in one cluster into two or more clusters to attempt to minimize the square-error criterion. In addition to that, the optimal cluster corresponds to the extremum when applying this criterion to evaluate the clustering results. Moreover, the algorithm will terminate at local optimum if the results of initialization are exactly near the local minimal point. So, this paper intends to present hybrid GA with K-means cluster algorithm that efficiently eliminates this drawbacks of K-means.</p><p>The rest of this paper is organized as follows: Previous work in clustering is presented in Section 2. GA is de- scribed in Section 3. Hybrid genetic algorithm with k-means is introduced in Section 4. The experimental results are discussed in Section 5. Finally, we conclude the paper in Section 6.</p><p>Clustering [<xref ref-type="bibr" rid="scirp.67514-ref22">22</xref>] - [<xref ref-type="bibr" rid="scirp.67514-ref26">26</xref>] is an important unsupervised classification technique where a set of patterns are grouped into clusters in such a way that patterns in the same cluster are similar in some sense and patterns in different clusters are dissimilar in the same sense. Clustering in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x7.png" xlink:type="simple"/></inline-formula> (d-dimensional Euclidean) space is the process of partitioning a given set of n points into a number, say K, of clusters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x8.png" xlink:type="simple"/></inline-formula> based on some similarity/dissimilarity metric. The value of K may or may not be known a priori. The main objective of any clustering technique is to produce a <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x9.png" xlink:type="simple"/></inline-formula> partition matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x10.png" xlink:type="simple"/></inline-formula> of the given dataset X consisting of n patterns,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x11.png" xlink:type="simple"/></inline-formula>. The partition matrix may be represented as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x12.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x13.png" xlink:type="simple"/></inline-formula>; where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x14.png" xlink:type="simple"/></inline-formula> is the membership of pattern <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x15.png" xlink:type="simple"/></inline-formula> to cluster<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x16.png" xlink:type="simple"/></inline-formula>. In the case of hard or crisp partitioning,</p><disp-formula id="scirp.67514-formula526"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x17.png"  xlink:type="simple"/></disp-formula><p>In the following, some popular distance measures are described; which are used to characterize the clusters.</p><sec id="s2_1"><title>2.1. Distance Measure</title><p>A distance measure is used to compute the amount of dissimilarity between two data points. The choice of distance function plays an important role in cluster analysis. Suppose the given dataset X contains n points, i.e.,</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x18.png" xlink:type="simple"/></inline-formula>. If d is the dimension of the data, then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x19.png" xlink:type="simple"/></inline-formula> denotes the value of the i-th point in the j-th dimension. The distance between two data points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x20.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x21.png" xlink:type="simple"/></inline-formula> is denoted by <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x22.png" xlink:type="simple"/></inline-formula> and should be satisfying the following properties:</p><p>1) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x23.png" xlink:type="simple"/></inline-formula>for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x24.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x25.png" xlink:type="simple"/></inline-formula> only if i = j.</p><p>2) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x26.png" xlink:type="simple"/></inline-formula>for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x27.png" xlink:type="simple"/></inline-formula>; and</p><p>3) <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x28.png" xlink:type="simple"/></inline-formula>for all<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x29.png" xlink:type="simple"/></inline-formula>.</p><p>Two widely used distance measures, Euclidean distance and correlation-based distance [<xref ref-type="bibr" rid="scirp.67514-ref11">11</xref>] , are defined as follows.</p><sec id="s2_1_1"><title>2.1.1. Euclidean Distance Measure</title><p>The Euclidean distance <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x30.png" xlink:type="simple"/></inline-formula> between two feature vectors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x31.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x32.png" xlink:type="simple"/></inline-formula> is computed as</p><disp-formula id="scirp.67514-formula527"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x33.png"  xlink:type="simple"/></disp-formula></sec><sec id="s2_1_2"><title>2.1.2. Pearson Correlation-Based Distance Measure</title><p>The Pearson correlation coefficient <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x34.png" xlink:type="simple"/></inline-formula> between two feature vectors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x35.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x36.png" xlink:type="simple"/></inline-formula> is computed as:</p><disp-formula id="scirp.67514-formula528"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x37.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula> represent the arithmetic means of the components of the feature vectors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x40.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x41.png" xlink:type="simple"/></inline-formula>, respectively. The Pearson correlation coefficient is a measure of similarity between two points in the feature space. The distance between two points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x42.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x43.png" xlink:type="simple"/></inline-formula> is computed as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x44.png" xlink:type="simple"/></inline-formula>, which represents the dissimilarity between those two points.</p><p>Clustering methods can be broadly classified into hierarchical, partitional and density-based. In the following, some basic clustering techniques from each category are described.</p></sec></sec><sec id="s2_2"><title>2.2. Hierarchical Clustering</title><p>In hierarchical clustering, the clusters are generated in a hierarchy, where every level of the hierarchy provides a particular clustering of the data, ranging from a single cluster to n clusters. For generating hierarchical clustering, there are two basic approaches either agglomerative or divisive.</p><p>Agglomerative: start with singleton clusters, and merge the two least distant clusters at each step, and hence the number of clusters reduces by 1. This proceeds iteratively in a hierarchy, providing a possible partitioning of the data at every level. The algorithm is terminated when the target number of clusters K is achieved. Single, average and complete linkage agglomerative algorithms differ only in the linkage metric used. The distance</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x45.png" xlink:type="simple"/></inline-formula>between two clusters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x46.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x47.png" xlink:type="simple"/></inline-formula> for the three linkage algorithms are defined as follows:</p><p>For single linkage,</p><disp-formula id="scirp.67514-formula529"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x48.png"  xlink:type="simple"/></disp-formula><p>For average linkage,</p><disp-formula id="scirp.67514-formula530"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x49.png"  xlink:type="simple"/></disp-formula><p>For complete linkage,</p><disp-formula id="scirp.67514-formula531"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x50.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x51.png" xlink:type="simple"/></inline-formula> denotes the distance between the data points x and y, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x52.png" xlink:type="simple"/></inline-formula> denotes the number points in cluster<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x53.png" xlink:type="simple"/></inline-formula>.</p><p>Divisive clustering just follows the reverse process, i.e., it starts from a single cluster containing all the points. At each step, the biggest cluster is divided into two clusters until the target number of clusters is achieved.</p><p>One of the main advantages of hierarchical clustering is that it offers flexibility regarding the levels of granularity and it can adopt any kind of distance metric easily. While the drawbacks of this clustering technique are its inability to improve already constructed clusters and the problem of choosing suitable stopping criteria.</p></sec><sec id="s2_3"><title>2.3. Partitional Clustering</title><p>The partitional clustering algorithms obtain a single clustering solution for a dataset instead of a hierarchical clu- stering structure. Partitional methods are more computationally efficient compared to hierarchical techniques. K-means [<xref ref-type="bibr" rid="scirp.67514-ref26">26</xref>] and its fuzzy version [<xref ref-type="bibr" rid="scirp.67514-ref27">27</xref>] are the two partitional clustering algorithms that are widely used. K-means clustering is described in following subsection.</p>K-Means Clustering<p>The K-means clustering algorithm consists of the following steps:</p><p>1) K initial cluster centers <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x54.png" xlink:type="simple"/></inline-formula> are chosen randomly from the n points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x55.png" xlink:type="simple"/></inline-formula></p><p>2) Assign point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x56.png" xlink:type="simple"/></inline-formula> to cluster <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x57.png" xlink:type="simple"/></inline-formula> iff</p><disp-formula id="scirp.67514-formula532"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x58.png"  xlink:type="simple"/></disp-formula><p>3) New cluster centers <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x59.png" xlink:type="simple"/></inline-formula> are computed as follows:</p><disp-formula id="scirp.67514-formula533"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x60.png"  xlink:type="simple"/></disp-formula><p>where n<sub>i</sub> is the number of elements belonging to cluster C<sub>i</sub>.</p><p>4) If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x61.png" xlink:type="simple"/></inline-formula> then terminate. Otherwise continue from Step 2.</p><p>K-means algorithm may converge to values that are not optimal [<xref ref-type="bibr" rid="scirp.67514-ref28">28</xref>] . Also, for large problems global solutions cannot be found with a reasonable amount of computation effort [<xref ref-type="bibr" rid="scirp.67514-ref29">29</xref>] .</p></sec><sec id="s2_4"><title>2.4. Density-Based Clustering</title><p>In density-based clustering methods, clusters are considered as zones in the data set space, where the points are densely situated, and which are separated by regions of low point density (noise). These zones may have arbitrary shapes and the interior points may be arbitrarily distributed.</p><p>Density-based spatial clustering of applications with noise D-BSCAN [<xref ref-type="bibr" rid="scirp.67514-ref30">30</xref>] is a popularly used density-based clustering method, where a cluster is defined using the notion of density-reachability. A point y is said to be directly density-reachable from another point x if it is within a given distance ε (i.e., y is a part of x’s ε-neighbor- hood), and if x is surrounded by sufficiently many points in its ε-neighborhood such that x and y may be considered as a part of a cluster. Again, y is called indirectly density-reachable from x if there is a sequence of points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x62.png" xlink:type="simple"/></inline-formula> with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x63.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x64.png" xlink:type="simple"/></inline-formula> in which each <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x65.png" xlink:type="simple"/></inline-formula> is directly density-reachable from<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x66.png" xlink:type="simple"/></inline-formula>. Two input parameters are required as the input of D-BSCAN: ε (neighborhood radius of a point) and the minimum number of points (Min-pts) required to form a cluster. First, it starts with an arbitrary starting data point that has not been visited yet. This point’s ε-neighborhood radius is found, and if it contains at least Min-pts points, a cluster formation is started. Otherwise, the point is considered as noise. It should be noted that this point may later be found within the ε-neighborhood radius of another point that contains at least Min-pts points. Hence the point can be assigned to some cluster at a later stage. D-BSCAN clusters a dataset by a single scan over all the data points. D-BSCAN can be implemented for non convex, non-uniformly, large scale sized clusters. Also, D-BSCAN can be used to find the number of clusters and it can work efficiently in the presence of noise in the data set. On the other hand, the behavior of D-BSCAN is highly depends on the input parameters (neighborhood radius of a point and the minimum number of points required to form a cluster).</p></sec></sec><sec id="s3"><title>3. Genetic Algorithm (GA)</title><p>GAs were introduced by Holland [<xref ref-type="bibr" rid="scirp.67514-ref1">1</xref>] and further described by Goldberg [<xref ref-type="bibr" rid="scirp.67514-ref2">2</xref>] as optimization approaches to find a global or near-global optimal solution. GA starts with a set of potential solutions (chromosomes). Next, genetic operators (selection, mutation and crossover) are applied one after another to obtain a new generation of chromosomes. This process is repeated until the termination criterion is met. Algorithmically, the basic steps of GAs are outlined as below [<xref ref-type="bibr" rid="scirp.67514-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.67514-ref7">7</xref>] :</p><p>Step I [Start]: random population of chromosomes is generated, that is, suitable solutions for the problem.</p><p>Step II [Fitness]: the fitness of each chromosome in the population is evaluated.</p><p>Step III [New population]: a new population is created by repeating the following steps:</p><p>1) Selection: Select two parents (chromosomes) from a population according to their fitness value. The chance for each chromosome to be selected, as a parent, is determined according to its fitness.</p><p>2) Crossover: According to the crossover probability (Pc), new offspring (children) is generated from parents.</p><p>3) Mutation: According to mutation probability (Pm), new offspring at each locus (position in chromosome) is mutated.</p><p>4) Accepting: new offspring is placed in the new population.</p><p>Step IV [Replace]: Use new generated population for a further run of the algorithm.</p><p>Step V [Test]: If the end condition is satisfied, return the best solution in current population and stop.</p><p>Step VI [Loop]: Go to step II.</p><p>The Flowchart of Simple GAs is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p></sec><sec id="s4"><title>4. Hybrid Genetic Algorithm with K-Means for Clustering Problems</title><p>The K-means cluster algorithm is one of the most widely used clustering algorithms and has been applied in many fields of science and technology. The major problems of the K-means algorithm are that:</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The flowchart of simple GA</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x67.png"/></fig><p>・ It may produce empty clusters depending on initial centre vectors.</p><p>・ May converge to values that are not optimal.</p><p>・ For large problems global solutions cannot be found with a reasonable amount of computation effort.</p><p>This paper presents hybrid genetic algorithm with K-means cluster algorithm that efficiently eliminates this drawbacks.</p><sec id="s4_1"><title>4.1. Phase I: K-Means Algorithm</title><p>Step 1: K initial cluster centres <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x68.png" xlink:type="simple"/></inline-formula> are chosen randomly from the n observations<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x69.png" xlink:type="simple"/></inline-formula>.</p><p>Step 2: A point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x70.png" xlink:type="simple"/></inline-formula> is assigned to cluster <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x71.png" xlink:type="simple"/></inline-formula> iff</p><disp-formula id="scirp.67514-formula534"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x72.png"  xlink:type="simple"/></disp-formula><p>Step 3: New cluster centres <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x73.png" xlink:type="simple"/></inline-formula> are computed as follows:</p><disp-formula id="scirp.67514-formula535"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x74.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x75.png" xlink:type="simple"/></inline-formula> is the number of elements belonging to cluster<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x76.png" xlink:type="simple"/></inline-formula>.</p><p>Step 4: If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x77.png" xlink:type="simple"/></inline-formula> then terminate, otherwise continue from step 2.</p><p>After this phase we get an initial centre for all predetermined clusters.</p></sec><sec id="s4_2"><title>4.2. Phase II: Genetic algorithm</title><p>Step 1: Population initialization</p><p>Each individual represent a row-matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x78.png" xlink:type="simple"/></inline-formula> where n is the number of observation, each gene contain integer <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x79.png" xlink:type="simple"/></inline-formula> which represent the cluster which this observation belongs to it. E.g., let there is ten observation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x80.png" xlink:type="simple"/></inline-formula> which must be assigned to four cluster<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x80.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x81.png" xlink:type="simple"/></inline-formula>. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows the structure of the individual. Also <xref ref-type="fig" rid="fig3">Figure 3</xref> represents the four clusters classification.</p><p>Step 2: Evaluation</p><p>Evaluate the desired objective function; where the task is to searching for appropriate cluster classifications such that the fitness function is minimized. The clustering fitness function for the K clusters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x82.png" xlink:type="simple"/></inline-formula> is given by</p><disp-formula id="scirp.67514-formula536"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x83.png"  xlink:type="simple"/></disp-formula><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> The structure of the individual</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x84.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Classification of the four clusters</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x85.png"/></fig><p>Step 3: Selection</p><p>The aim of selection is to direct GA search towards promising regions in the search space. We employ roulette wheel selection in this study; where the individuals on each generation are selected for survival into the next generation according to a probability value. The probability of variable selection is proportional to its fitness value in the population, according to the formula below:</p><disp-formula id="scirp.67514-formula537"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x86.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x87.png" xlink:type="simple"/></inline-formula>, selection probability of a string x in a population <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x88.png" xlink:type="simple"/></inline-formula> and</p><disp-formula id="scirp.67514-formula538"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-2730133x89.png"  xlink:type="simple"/></disp-formula><p>Step 4: crossover operator</p><p>In this step, we present a modified uniform crossover as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, where the crossover is done on each individual, in such a way that offspring is constructed by choosing the individual with a probability<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x90.png" xlink:type="simple"/></inline-formula>.</p><p>Step 5: mutation operator</p><p>For each individual, mutation operator is implemented as follows, first select two columns randomly from ith individual and then generate two new columns as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>Step 6: Keep the best solutions of the existing population; where GA keeps the best solutions found so far during the process.</p></sec><sec id="s4_3"><title>4.3. Implementation Results</title><p>The experimental results for the proposed algorithm are provided for 4 problems containing artificial data set (problem 1, problem 2, problem 3, and problem 4) which described as follows:</p><sec id="s4_3_1"><title>4.3.1. Problem 1</title><p>This problem containing a no overlapping data which has two attribute (two-dimensional data), where the number of cluster is varied from two to five<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x91.png" xlink:type="simple"/></inline-formula>, it has 1000 points as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. Figures 7-10 show the results for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x92.png" xlink:type="simple"/></inline-formula></p></sec><sec id="s4_3_2"><title>4.3.2. Problem 2</title><p>This problem containing a no overlapping, data which has two attribute (two-dimensional data), where the num- ber of clusters is five<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x93.png" xlink:type="simple"/></inline-formula>. <xref ref-type="fig" rid="fig1">Figure 1</xref>1 shows the data set for problem 2 while, <xref ref-type="fig" rid="fig1">Figure 1</xref>2 shows the results for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x94.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s4_3_3"><title>4.3.3. Problem 3</title><p>This problem containing a no overlapping, data which has two attribute (two-dimensional data), where the num- ber of cluster is three<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x95.png" xlink:type="simple"/></inline-formula>. It has 300 data points. The ranges for the three classes are as follows:</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Modified uniform crossover</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x96.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Mutation operator of GA</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x97.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Data set for problem 1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x98.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Results for k = 2 for problem 1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x99.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Results for k = 3 for problem 1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x100.png"/></fig><fig-group id="fig9"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> Results for k = 4 for problem 1.</title></caption><fig id ="fig9_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x101.png"/></fig><fig id ="fig9_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x102.png"/></fig></fig-group><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Results for k = 5 for problem 1</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x103.png"/></fig><fig id="fig11"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>1</label><caption><title> Data set for problem 2</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x104.png"/></fig><p><xref ref-type="fig" rid="fig1">Figure 1</xref>3 shows the data set for problem 3 while, <xref ref-type="fig" rid="fig1">Figure 1</xref>4 shows the results for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x105.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s4_3_4"><title>4.3.4. Problem 4</title><p>This problem containing a no overlapping, data which has two attribute (two-dimensional data), where the number of cluster is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x106.png" xlink:type="simple"/></inline-formula>, It has 900 data points, having nine classes where all the classes are</p><fig id="fig12"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>2</label><caption><title> Results for k = 5 for problem 2</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x107.png"/></fig><fig id="fig13"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>3</label><caption><title> Data set for problem 3</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x108.png"/></fig><fig id="fig14"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>4</label><caption><title> Results for k = 3 for problem 3</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x109.png"/></fig><p>assumed to have equal a priori probabilities. The ranges for the nine classes [<xref ref-type="bibr" rid="scirp.67514-ref31">31</xref>] are as follows:</p><disp-formula id="scirp.67514-formula539"><graphic  xlink:href="http://html.scirp.org/file/2-2730133x110.png"  xlink:type="simple"/></disp-formula><p>Thus the domain for the triangular distribution for each class and for each axis is 2.6. The data set is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>5, while Figures 16-18 show the results for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730133x111.png" xlink:type="simple"/></inline-formula></p></sec></sec></sec><sec id="s5"><title>5. Conclusion</title><p>This paper proposes a hybrid version of the well-known K-means clustering algorithm with GA. The modified</p><fig-group id="fig15"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>5</label><caption><title> Data set for problem 4.</title></caption><fig id ="fig15_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x112.png"/></fig></fig-group><fig id="fig16"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>6</label><caption><title> Results for k = 3 for problem 4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x113.png"/></fig><fig id="fig17"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>7</label><caption><title> Results for k = 6 for problem 4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x114.png"/></fig><fig id="fig18"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>8</label><caption><title> Results for k = 9 for problem 4</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730133x115.png"/></fig><p>algorithm maintains all important characteristic features of the basic K-means and at the same time eliminates the possibility of generation of empty clusters. Experimental results show that the proposed clustering algorithm is able to solve the clustering problem. Results of simulation experiments using several data sets prove our claim.</p></sec><sec id="s6"><title>Cite this paper</title><p>Ahamed Al Malki,Mohamed M. Rizk,M. A. El-Shorbagy,A. A. Mousa, (2016) Hybrid Genetic Algorithm with K-Means for Clustering Problems. Open Journal of Optimization,05,71-83. doi: 10.4236/ojop.2016.52009</p></sec><sec id="s7"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.67514-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Holland, J.H. (1975) Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor.</mixed-citation></ref><ref id="scirp.67514-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Goldberg, D.E. (1989) Genetic Algorithms in Search, Optimization and Machine Learning. Addison Wesley Publishing Company, Boston.</mixed-citation></ref><ref id="scirp.67514-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Deb, K. (1999) An Introduction to Genetic Algorithms. Sadhana, 24, 293-315. http://dx.doi.org/10.1007/BF02823145</mixed-citation></ref><ref id="scirp.67514-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Michalewicz, Z. (1996) Genetic Algorithms + Data Structures = Evolution Programs. 3rd Edition, Springer-Verlag, USA. http://dx.doi.org/10.1007/978-3-662-03315-9</mixed-citation></ref><ref id="scirp.67514-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">EL-Sawy, A.A., Hussein, M.A., Zaki, E.M. and Mousa, A.A. (2014) An Introduction to Genetic Algorithms: A Survey A Practical Issues. International Journal of Scientific &amp; Engineering Research, 5, 252-262.</mixed-citation></ref><ref id="scirp.67514-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Osman, M.S., Abo-Sinna, M A. and Mousa, A.A. (2006) IT-CEMOP: An Iterative Co-Evolutionary Algorithm for Multiobjective Optimization Problem with Nonlinear Constraints. Journal of Applied Mathematics &amp; Computation, 183, 373-389. http://dx.doi.org/10.1016/j.amc.2006.05.095</mixed-citation></ref><ref id="scirp.67514-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Abd El-Wahed, W.F., Mousa, A.A. and El-Shorbagy, M.A. (2011) Integrating Particle Swarm Optimization with Genetic Algorithms for Solving Nonlinear Optimization Problems. Journal of Computational and Applied Mathematics, 235, 1446-1453. http://dx.doi.org/10.1016/j.cam.2010.08.030</mixed-citation></ref><ref id="scirp.67514-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">El-Shorbagy, M.A., Mousa, A.A. and Nasr, S.M. (2016) A Chaos-Based Evolutionary Algorithm for General Nonlinear Programming Problems, Chaos, Solitons and Fractals, 85, 8-21. http://dx.doi.org/10.1016/j.chaos.2016.01.007</mixed-citation></ref><ref id="scirp.67514-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Mousa, A.A., El-Shorbagy, M.A. and Abd El-Wahed, W.F. (2012) Local Search Based Hybrid Particle Swarm Optimization for Multiobjective Optimization. Swarm and Evolutionary Computation, 3, 1-14.</mixed-citation></ref><ref id="scirp.67514-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Fayyad, U.M., Piatetsky-Shapiro, G. and Smyth, P. and Uthurusamy, R. (1996) Advances in Knowledge Discovery and Data Mining. MIT Press, Menlo Park.</mixed-citation></ref><ref id="scirp.67514-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Han, J. and Kamber, M. (2000) Data Mining: Concepts and Techniques. Morgan Kaufmann, San Francisco.</mixed-citation></ref><ref id="scirp.67514-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Chawla, S. (2016) A Novel Approach of Cluster Based Optimal Ranking of Clicked URLs Using Genetic Algorithm for Effective Personalized Web Search. Applied Soft Computing, 46, 90-103. http://dx.doi.org/10.1016/j.asoc.2016.04.042</mixed-citation></ref><ref id="scirp.67514-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Abedini, M., Moradi, M.H. and Hosseinian, S.M. (2016) Optimal Clustering of MGs Based on Droop Controller for Improving Reliability Using a Hybrid of Harmony Search and Genetic Algorithms. ISA Transactions, 61, 119-128. http://dx.doi.org/10.1016/j.isatra.2015.12.012</mixed-citation></ref><ref id="scirp.67514-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Binu, D. (2015) Cluster Analysis Using Optimization Algorithms with Newly Designed Objective Functions. Expert Systems with Applications, 42, 5848-5859. http://dx.doi.org/10.1016/j.eswa.2015.03.031</mixed-citation></ref><ref id="scirp.67514-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Kaczmarowski, A., Yang, S., Szlufarska, I. and Morgan, D. (2015) Genetic Algorithm Optimization of Defect Clusters in Crystalline Materials. Computational Materials Science, 98, 234-244. http://dx.doi.org/10.1016/j.commatsci.2014.10.062</mixed-citation></ref><ref id="scirp.67514-ref16"><label>16</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Forgy</surname><given-names> E.W. </given-names></name>,<etal>et al</etal>. (<year>1965</year>)<article-title>Cluster Analysis of Multivariate Data: Efficiency vs Interpretability of Classifications</article-title><source> Biometrics</source><volume> 21</volume>,<fpage> 768</fpage>-<lpage>780</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.67514-ref17"><label>17</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>McQueen</surname><given-names> J. </given-names></name>,<etal>et al</etal>. (<year>1967</year>)<article-title>Some Methods for Classification and Analysis of Multivariate Observations</article-title><source> Computer and Chemistry</source><volume> 4</volume>,<fpage> 257</fpage>-<lpage>272</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.67514-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Rahman, M.A. and Islam, M.Z. (2014) A Hybrid Clustering Technique Combining a Novel Genetic Algorithm with K-Means. Knowledge-Based Systems, 71, 345-365. http://dx.doi.org/10.1016/j.knosys.2014.08.011</mixed-citation></ref><ref id="scirp.67514-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Farag, M.A., El-Shorbagy, M.A., El-Desoky, I.M., El-Sawy, A.A. and Mousa, A.A. (2015) Genetic Algorithm Based on K-Means-Clustering Technique for Multi-Objective Resource Allocation Problems. British Journal of Applied Science &amp; Technology, 8, 80-96. http://dx.doi.org/10.9734/BJAST/2015/16570</mixed-citation></ref><ref id="scirp.67514-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Farag, M.A., El-Shorbagy, M.A., El-Desoky, I.M., El-Sawy, A.A. and Mousa, A.A. (2015) Binary-Real Coded Genetic Algorithm Based K-Means Clustering for Unit Commitment Problem. Applied Mathematics, 6, 1873-1890. http://dx.doi.org/10.4236/am.2015.611165</mixed-citation></ref><ref id="scirp.67514-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Jiang, S.-Y. and Xu, Y.-M. (2004) An Efficient Clustering Algorithm. International Conference on Machine Learning and Cybernetics, 3, 1513-1518.</mixed-citation></ref><ref id="scirp.67514-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Anderberg, M.R. (1973) Cluster Analysis for Application. Academic Press, New York.</mixed-citation></ref><ref id="scirp.67514-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Devijver, P.A. and Kittler, J. (1982) Pattern Recognition: A Statistical Approach. Prentice-Hall, London.</mixed-citation></ref><ref id="scirp.67514-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Hartigan, J.A. (1975) Clustering Algorithms, Wiley</mixed-citation></ref><ref id="scirp.67514-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Jain, A.K. and Dubes, R.C. (1988) Algorithms for Clustering Data. Prentice-Hall, Englewood Cliffs.</mixed-citation></ref><ref id="scirp.67514-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Tou, J.T. and Gonzalez, R.C. (1974) Pattern Recognition Principles. Addison-Wesley, Reading.</mixed-citation></ref><ref id="scirp.67514-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Bezdek, J.C. (1981) Pattern Recognition with Fuzzy Objective Function Algorithms. Plenum, New York. http://dx.doi.org/10.1007/978-1-4757-0450-1</mixed-citation></ref><ref id="scirp.67514-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Selim, S.Z. and Ismail, M.A. (1984) K-Means Type Algorithms: A Generalized Convergence Theorem and Characterization of Local Optimality. IEEE Transactions on Pattern Analysis and Machine Intelligence, 6, 81-87. http://dx.doi.org/10.1109/TPAMI.1984.4767478</mixed-citation></ref><ref id="scirp.67514-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Spath, H. (1989) Cluster Analysis Algorithms. Ellis Horwood, Chichester.</mixed-citation></ref><ref id="scirp.67514-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Ester, M., Kriegel, H.-P., Sander, J. and Xu, X. (1996) A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise. 2nd International Conference on Knowledge Discovery and Data Mining, Portland, OR, August 1996, 226-231.</mixed-citation></ref><ref id="scirp.67514-ref31"><label>31</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Maulik</surname><given-names> U. </given-names></name>,<etal>et al</etal>. (<year>2000</year>)<article-title>“Bandyopadhyay, Sanghamitra” Genetic Algorithm-Based Clustering Technique</article-title><source> Pattern Recognition</source><volume> 33</volume>,<fpage> 1455</fpage>-<lpage>1465</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref></ref-list></back></article>