# Question about Clustering.silhouettes

**URL:** https://discourse.julialang.org/t/question-about-clustering-silhouettes/46323
**Category:** General Usage
**Tags:** question
**Created:** [September 9, 2020, 11:30am UTC](https://discourse.julialang.org/t/question-about-clustering-silhouettes/46323 "2020-09-09T11:30:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![abcde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abcde/32/16180_2.png) [@abcde](https://discourse.julialang.org/u/abcde)
#### Post date: [September 9, 2020, 11:30am UTC](https://discourse.julialang.org/t/question-about-clustering-silhouettes/46323/1 "2020-09-09T11:30:53Z")

</div>

The silhouettes function can examine the effect of a cluster as well as predict its number.  
But when I apply this method to estimate the number of classes, why do I get a different graph every time I run it?  
the first time:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/0/e04b9f4120dced8b1cc152270705ec60d018289f.png)  
the second time:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/e/ee3c7231c0fad907adfae4a322020c9b0dec94b6.png)  
(The x-coordinate is the cluster number and the y-coordinate is the silhouette value)  
thanks!!
