<?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">JBiSE</journal-id><journal-title-group><journal-title>Journal of Biomedical Science and Engineering</journal-title></journal-title-group><issn pub-type="epub">1937-6871</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jbise.2012.52012</article-id><article-id pub-id-type="publisher-id">JBiSE-17641</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  Estimating the number of data clusters via the contrast statistic
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>uriy</surname><given-names>Lyakh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Vitaliy</surname><given-names>Gurianov</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Oleg</surname><given-names>Gorshkov</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yuriy</surname><given-names>Vihovanets</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Medical Biophysics, Medical Informatics and Biostatistics, National Medical University, Donetsk, Ukraine</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>liakh@dsmu.edu.ua(UL)</email>;<email>vitaliy.gurianov@dsmu.edu.ua(VG)</email>;<email>olgor22@yahoo.com(OG)</email>;<email>rogder1964@dsmu.edu.ua(YV)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>02</month><year>2012</year></pub-date><volume>05</volume><issue>02</issue><fpage>95</fpage><lpage>99</lpage><history><date date-type="received"><day>13</day>	<month>September</month>	<year>2011</year></date><date date-type="rev-recd"><day>7</day>	<month>November</month>	<year>2011</year>	</date><date date-type="accepted"><day>21</day>	<month>November</month>	<year>2011</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>
 
 
  A new method (the Contrast statistic) for estimating the number of clusters in a set of data is proposed. The technique uses the output of self-organising map clustering algorithm, comparing the change in dependency of “Contrast” value upon clusters number to that expected under a uniform distribution. A simulation study shows that the Contrast statistic can be used successfully either, when variables describing the object in a multi-dimensional space are independent (ideal objects) or dependent (real biological objects).
 
</p></abstract><kwd-group><kwd>SOM Neural Network; Clustering; Gap Statistic; Silhouette Statistic</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. INTRODUCTION</title><p>The first stage of data analysis is in its presentation. Cluster analysis can be used for analyzing of multi-dimensional data set [<xref ref-type="bibr" rid="scirp.17641-ref1">1</xref>]. Cluster analysis groups objects based on the information found in the data describing the objects. The goal is that the objects in a group will be similar to one other and different from the objects in other groups. There are many different clustering techniques. One of them is the self-organizing map (SOM) [<xref ref-type="bibr" rid="scirp.17641-ref2">2</xref>] with its related extensions is the most popular artificial neural algorithm for use in unsupervised learning, clustering, classification and data visualization. One of the major challenges in cluster analysis is estimation of the optimal number of “clusters”.</p><p>There have been many methods proposed for estimating the number of clusters: gap statistic [<xref ref-type="bibr" rid="scirp.17641-ref3">3</xref>], silhouette statistic [<xref ref-type="bibr" rid="scirp.17641-ref4">4</xref>], jump methods [<xref ref-type="bibr" rid="scirp.17641-ref5">5</xref>], prediction strength [<xref ref-type="bibr" rid="scirp.17641-ref6">6</xref>], methods based on mixture models and inference of Bayesian factors [7,8].</p><p>Nowadays this method and its like are widely used for solving various bio-medical problems. Thus, in paper [<xref ref-type="bibr" rid="scirp.17641-ref9">9</xref>] we are offered the method of features phenotype modeling and iterative cluster merging using improved gap statistics. A Gaussian Mixture Model (GMM) is employed to estimate the distribution of each existing phenotype, and then used as reference distribution in gap-statistics. Applying of this algorithm proves very fruitful for imagebased datasets.</p><p>In many of bio-medical issues we have to deal with a very large data set [<xref ref-type="bibr" rid="scirp.17641-ref10">10</xref>]. Considerable interest is studies in genes cauterization [11,12]. Thus, study [<xref ref-type="bibr" rid="scirp.17641-ref13">13</xref>] presents method of clustering analysis of large micro array datasets with individual dimension-based clustering (CLIC), which meets the requirements of clustering analysis particularly but not limited to large micro-array data sets. CLIC is based on a novel concept in which genes are clustered in individual dimensions first and in which the ordinal labels of clusters in each dimension are then used for further full dimension-wide clustering. CLIC enables iterative sub-clustering into more homogeneous groups and the identification of common expression patterns. The method in question enables to carry out a very substation analysis of data-sets; however its application is a laborious, full-time job.</p><p>While solving biological and especially medico-biological problems we often face the problem of defining not only the optimal number of clusters which characterize this or that pathology, but also of estimating the number of independent factor attributes, i.e. decrease of space dimensionality. One of the reasons that cause it is a high cost of medical attention.</p><p>Exposing of strongly correlating attributes will make it possible to lessen the amount of attributes that are necessary for the analysis, and also to cut the number of medico-biological parameters, that characterize this or that pathology. The methods have enumerated don’t solve this problem.</p><p>In this paper we suggest a new method called Contrast statistics that enables to estimate effectively the optimal number of clusters, also making possible to estimate the number of independent factorial attributes. Since many methods of estimating the optimal clusters number [9,13] are based on the methods of Gap statistics and Silhouette statistics, which are nowadays considered classical, it’s only natural that these are the methods we used for the comparative analysis with our method. The second section presents the method description. The third contains the results of this method application.</p></sec><sec id="s2"><title>2. METHOD</title><p>Let X be a set with N points in a m-dimensional data space. Data is distributed in k clusters (O<sup>1</sup>, O<sup>2</sup>, <img src="7-9101360\fccf7393-c69c-49d7-8e08-72accc284188.jpg" />, O<sup>k</sup> are centres of these clusters). We examine a C point, which belongs to the O<sup>0</sup> cluster. Then we define the Contrast of C(Cr) by Eq.1</p><disp-formula id="scirp.17641-formula139230"><label>(1)</label><graphic position="anchor" xlink:href="7-9101360\3427d031-5e2d-4d87-8c96-35c983689a07.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="7-9101360\dcfe8275-cbb3-4ba4-a921-714ffb2fa929.jpg" /> is Euclidean distance C to the centre it’s cluster, <img src="7-9101360\0288973a-7331-4109-bd39-338aba88cb2c.jpg" />is Euclidean distance C to the nearest cluster besides its own nearest. Points with large<img src="7-9101360\b54fb7e4-b592-44ae-b11d-dfa28547d2ea.jpg" />, are well clustered, whereas those with small<img src="7-9101360\ae4d1b42-2e1e-42fe-94ba-456e7a180ee6.jpg" />, tend to lie between clusters. Then we characterize quality of the division (k clusters) by Eq.2 (Contrast index)</p><disp-formula id="scirp.17641-formula139231"><label>(2)</label><graphic position="anchor" xlink:href="7-9101360\730d890f-3499-4226-b4b4-bf7f0fc65598.jpg"  xlink:type="simple"/></disp-formula><p>Intuitively, when points concentrates in the cluster centres, Contrast (k) will have a high value, when points are distributed uniformly, this value will be low. It will enable us to make a conclusion about the efficiency of the division into the given number of clusters.</p></sec><sec id="s3"><title>3. RESULTS</title><sec id="s3_1"><title>3.1. Uniform Dataset</title><p>We generated datasets (10,000 points uniformly distributed) in m-dimensional space. Then we divided data in k clusters, using SOM technique. Then we calculated Contrast (k) of the division. <xref ref-type="fig" rid="fig1">Figure 1</xref> presents results of the calculation for m = 3, 4, 6, 12 and k = 2, 3, <img src="7-9101360\c0040e2b-c3fe-40e3-8a11-22a0d93e21ae.jpg" />, 64.</p><p>The following conclusions can be formulated from this analysis (<xref ref-type="fig" rid="fig1">Figure 1</xref>):</p><p>1) In the situation of uniformly distributed points (under condition of not great clusters number) dependence Contrast index upon clusters number is described by Eq.3:</p><disp-formula id="scirp.17641-formula139232"><label>(3)</label><graphic position="anchor" xlink:href="7-9101360\c343726f-ac2f-48db-b7b0-42b65f0bd1a0.jpg"  xlink:type="simple"/></disp-formula><p>where a and l are constants.</p><p>2) l (Eq.1) is a positive value and it decreases when dimension of space m increases.</p><p>3) When clusters number are great (for the given dimension of space m) the Contrast index doesn’t depend on k (Contrast = Const).</p></sec><sec id="s3_2"><title>3.2. Computational Implementation</title><p><xref ref-type="fig" rid="fig2">Figure 2</xref> represents an example of Contrast statistic calculation. Five clusters in 4-dimensional space were simulated (total 10,000 points). Contrast indexes for k = 2, 3, <img src="7-9101360\dab692ec-1f96-47c6-a1f4-473636d22370.jpg" />, 36 clusters were calculated.</p><p>The algorithm optimal number of clusters computation can be proposed:</p><p>1) Cluster the observed data, varying the total number of clusters from k = 1, 2, <img src="7-9101360\ed7d0935-5950-4252-ad7a-8e6f4e45db32.jpg" />K, calculating Contrast (k).</p><p>2) Obtain the regression line (ln(Contrast) vs ln(k)), which corresponds to uniform distribution, using great k values.</p><p>3) Estimate dimension of space number via line slope.</p><p>4) Finally choose the optimal number of clusters via Contrast (k<sub>opt</sub>) greatest deviates from the regression line.</p></sec><sec id="s3_3"><title>3.3. Contrast Statistic and the Others Techniques</title><p>There have been many methods proposed for estimating the optimal number of clusters: Gap statistic [<xref ref-type="bibr" rid="scirp.17641-ref3">3</xref>], Silhouette statistic [<xref ref-type="bibr" rid="scirp.17641-ref4">4</xref>] and so on. In the case of [<xref ref-type="bibr" rid="scirp.17641-ref3">3</xref>] with a large number of model examples the effectiveness of the proposed by author Gap statistics is most convincingly</p><p>demonstrated. For application of this approach in the case of k-means the value is calculated by Eq.4,</p><disp-formula id="scirp.17641-formula139233"><label>(4)</label><graphic position="anchor" xlink:href="7-9101360\3d91f436-59c8-4647-9bff-9b3a569ee625.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="7-9101360\bae00234-cb94-4e8a-b25b-db3517d9e44e.jpg" />—average Euclidean distance from the object to the centre of its cluster in the case of objects distribution under analysis in i-cluster (the quantity of objects in the referent distribution being equal to those the distribution under analysis ). In [<xref ref-type="bibr" rid="scirp.17641-ref3">3</xref>] we presume to compute the <img src="7-9101360\66365713-6a51-4eee-bb4a-e200d0edcafa.jpg" /> value for several reference samples on the basis of which we calculate the average value and compute the standard deviation of this value sd (i). As the optimal clusters number such a minimal k is chosen, for which <img src="7-9101360\090046dd-4ce2-4add-bb3a-8080c6de4481.jpg" /> [<xref ref-type="bibr" rid="scirp.17641-ref3">3</xref>].</p><p>While computing Silhouette statistics [<xref ref-type="bibr" rid="scirp.17641-ref4">4</xref>] in the case of cauterization by method of average k, for every j-object of the distribution under analysis the value is calculated by Eq.5.</p><disp-formula id="scirp.17641-formula139234"><label>(5)</label><graphic position="anchor" xlink:href="7-9101360\def5d6c7-cc64-49f3-bed8-70fa9a2d0e6c.jpg"  xlink:type="simple"/></disp-formula><p>where a(j) is the average Euclidean distance from the objects to the other objects of the same cluster, b(j) the average Euclidean distance from the object to the objects of the nearest cluster, to which it doesn’t belong. The optimal number of clusters k should be considered as such, for which the average (for all the objects) values s(j) is maximal.</p><p>Further on we demonstrate the comparative analysis of application for the optimal cluster number selection the Contrast statistic, the Gap statistic and the Silhouette statistic.</p><p>For estimation the Contrast statistic efficiency we analyze some datasets:</p><p>1) Datasets simulated in a multi-dimensional space (independent variables), small and large point’s number.</p><p>2) Datasets simulated in a multi-dimensional space (dependent variables), small and large point’s number.</p><p>3) Practical datasets (real medical and biological data, dependent variables), small and large point’s number.</p><p>We applied three different methods for estimating the optimal number of clusters: Gap statistic, Silhouette statistic, Contrast statistic.</p><p>The following results can be formulated:</p><p>1) For independent variables the Gap statistic is an efficient method of optimal clusters number calculation. The similar results give both Silhouette statistic and Contrast statistic.</p><p>2) For dependent variables the Gap statistic isn’t the efficient method. There is a problem on generation of reference distribution (unknown true number of space dimension). Both Silhouette statistic and Contrast statistic can be efficiently used.</p><p>3) Total time of Silhouette statistic calculation is as square of cluster size, total time of Contrast statistic calculation is as cluster size.</p><p>4) Additionally Contrast statistic allows estimating dimensional number of space for dependent variables (slope the regression line, using great k values) however one of the shortcomings of the estimation is that it is possible only with a small number of independent variables (m &lt; 12).</p></sec><sec id="s3_4"><title>3.4. Examples</title><p>There are measurement data for 150 irises specimen, in equal parts (50 specimen each) belonging to three species (iris setosa, iris versicollor, iris virginica) [<xref ref-type="bibr" rid="scirp.17641-ref14">14</xref>]. For each iris specimen 4 parameters are known. Sepal length, sepal width, petal length, petal width. The task was first set by Fisher and its frequently used in mathematical statistics as a test-trial. While performing the correlation analysis the correlation connection for all the coordinates has been revealed. For finding out the minimal clusters number of this objects set the above proposed method has been applied. The set has been consequently broken up into 1, 2, <img src="7-9101360\292e107a-9a68-4dcc-a913-e866cae5576e.jpg" />, 16 clusters, and for each of these cases Gap statistic, Silhouette statistic, Contrast statistic have been calculated. <xref ref-type="fig" rid="fig3">Figure 3</xref> presents results of the calculation.</p><p>Analysis performed for the model task indicates that Gap statistics, Silhouette statistic and Contrast statistics all define the optimal cluster number as equaling to four.</p><p>A substantial analysis for each one of the separated clusters clearly demonstrates the biological importance of the solution obtained. In addition to the obtained optimal clusters number, considering the Contrast index dependency on k, we may safely assume, that the number of independent variables, in which the mentioned objects are distributed, is close to 3.</p><p>Contrast statistics method was used for analysis of Data of the National Insulin-treated Diabetics Register [<xref ref-type="bibr" rid="scirp.17641-ref15">15</xref>]. Clustering was conducted on a 6324 patients data holding sample. During the SOM mapping, the number of clusters varied from 25 to 3. The clearest data representation structure turned out to be with 3 clusters.</p><p>The distinction of the mortality cases from diabetes for differentiated clusters is statistically essential on the significance level p &lt; 0.05 (chi-square test). Difference in disability occurrence in these clusters have the significance level p &lt; 0.05. This allows to conclude, that cluster differentiation in 135-deimensional item space has not just been conducted formally, but content-dependent. In this case, following the analysis results we can say that “less serious cases” were related to the 1<sup>st</sup> cluster, “most</p><p>serious” related to the 3<sup>rd</sup> cluster. The 2<sup>nd</sup> cluster contained modest cases [<xref ref-type="bibr" rid="scirp.17641-ref15">15</xref>].</p></sec></sec><sec id="s4"><title>4. CONCLUSION</title><p>New Contrast statistic technique the number of data clusters estimation is proposed. The method can be efficiently used for the real large medical and biological dataset. Contrast statistic additionally allows estimating dimensional number of space (only in the case of small space dimentionality) for dependent variables.</p><p><img src="7-9101360.files/image003.gif" /> <img src="7-9101360.files/image004.gif" /></p></sec><sec id="s5"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.17641-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Behbahani, S., Nasrabadi, A. (2009) Application of SOM neural network in clustering. Journal Biomedical Science and Engineering, 2, 637-643.  
doi:10.4236/jbise.2009.28093</mixed-citation></ref><ref id="scirp.17641-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple"> 
Kohonen, T. (1982) Self-organized formation of topologically correct feature maps. Biological Cybernetics, 43, 59-69. doi:10.1007/BF00337288</mixed-citation></ref><ref id="scirp.17641-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple"> 
Tibshirani, R., Walther, G. and Hastie, T. (2000) Estimating the number of cluster in a dataset via the gap statistic. Technical Report, Department of Biostatistics, Stanford University, Stanford.</mixed-citation></ref><ref id="scirp.17641-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple"> 
Dudoit, S. and Fridlyand, J. (2002) A prediction—based resampling method for estimating the number of clusters in a dataset. Genome Biology, 3, 1-21.  
doi:10.1186/gb-2002-3-7-research0036</mixed-citation></ref><ref id="scirp.17641-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple"> 
Sugar, C. and James, G. (2003) Finding the number of clusters in a dataset: An information-theoretic approach. Journal of the American Statistical Association, 98, 750-763. doi:10.1198/016214503000000666</mixed-citation></ref><ref id="scirp.17641-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple"> 
Tibshirani, R. and Walther, G. (2005) Cluster validation by prediction strength. Journal of Computational &amp; Graphical Statistics, 14, 511-528.  
doi:10.1198/106186005X59243</mixed-citation></ref><ref id="scirp.17641-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple"> 
Guo, P., Chen, P. and Lyu, M. (2002) Cluster number selection for a small set of samples using the Bayesian Ying-Yang model. IEEE Transactions on Neural Networks, 13, 757-763. doi:10.1109/TNN.2002.1000144</mixed-citation></ref><ref id="scirp.17641-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple"> 
Gangnon, R. and Clayton, M. (2007) Cluster detection using Bayes factors from over-parameterized cluster models. Environmental and Ecological Statistics; 14, 69-82.  
doi:10.1007/s10651-006-0007-7</mixed-citation></ref><ref id="scirp.17641-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple"> 
Yin, Z., Zhou, X.B., Bakal, C., Li1, F.H., Sun, Y.X., Perrimon, N. and Wong, S.T.C. (2008) Using iterative cluster merging with improved gap statistics to perform online phenotype discovery in the context of high-throughput RNAi screensBMC. Bioinformatics, 9, 264.</mixed-citation></ref><ref id="scirp.17641-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Sharma, A., Podolsky, R., Zhao, J. and McIndoe, R.A. (2009) A modified hyperplane clustering algorithm allows for efficient and accurate clustering of extremely large datasets. Bioinformatics, 25, 1152-1157.  
doi:10.1093/bioinformatics/btp123</mixed-citation></ref><ref id="scirp.17641-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Medvedovic, M. and Sivaganesan, S. (2002) Bayesian infinite mixture model based clustering of gene expression profiles. Bioinformatics, 18, 1194-1206.  
doi:10.1093/bioinformatics/18.9.1194</mixed-citation></ref><ref id="scirp.17641-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple"> 
Qin, Z.S. (2006) Clustering microarray gene expression data using weighted Chinese restaurant process. Bioinformatics, 22, 1988-1997.  
doi:10.1093/bioinformatics/btl284</mixed-citation></ref><ref id="scirp.17641-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple"> 
Yun, T.Y., Hwang, T.H., Cha, K. and Yi, G.-S. (2010) CLIC: Clustering analysis of large microarray datasets with individual dimension-based clustering. Nucleic Acids Research; 38, W246-W253. doi:10.1093/nar/gkq516</mixed-citation></ref><ref id="scirp.17641-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple"> 
Kim, J.H., Kohane, I.S. and Ohno-Machado, L. (2002) Visualization and evaluation of clusters for exploratory analysis of gene expression data. Journal of Biomedical Informatics, 35, 25-36.  
doi:10.1016/S1532-0464(02)00001-1</mixed-citation></ref><ref id="scirp.17641-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple"> 
Khalangot, N., Gurianov, V., Misko, L. and Harris, N. (2004) Analysis of large diabetic registers: metthodology and some results. Proceedings of the Ninth International Symposium on Health Information Management Research, Sheffield, 15-17 June 2004, 145-150.</mixed-citation></ref></ref-list></back></article>