Skip to content

Commit bcd6fba

Browse files
Add picture and revise the text
1 parent 2b7cfce commit bcd6fba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/images/studyclust14.png

52.3 KB
Loading

tutorials/10_Group_analysis/component_clustering_tools.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,13 @@ Press *Ok*. The cluster editing interface detailed in one of the following secti
309309

310310
Optimal Kmeans clustering
311311
-----------------
312-
We have recently added a new feature to the *kmeans* clustering algorithm in EEGLAB. This feature allows you to find the optimal number of clusters for your data. To use this feature, you need to have the [MATLAB Statistics and Machine Learning Toolbox](https://www.mathworks.com/products/statistics.html) installed.
312+
We have recently added *Optimal Kmeans* algorithm to the `pop_clust` function. This feature allows you to find the optimal number of clusters for your data. To use this feature, you need to have the [MATLAB Statistics and Machine Learning Toolbox](https://www.mathworks.com/products/statistics.html) installed.
313313

314314
To use this feature, you need to select the *Optimal Kmeans* option from the *Clustering algorithm* dropdown menu. Then, you need to input a range of cluster numbers to test (in the screenshot below minimum is set to 10 and maximum is set to 30). The algorithm will then test the clustering for each number of clusters in the range and chooses the optimal number of clusters based on the *silhouette* score. The *silhouette* score is a measure of how similar an object is to its own cluster compared to other clusters. The optimal number of clusters is the one that maximizes the *silhouette* score. Read more about the *silhouette* score from the [MATLAB documentation](https://www.mathworks.com/help/stats/clustering.evaluation.silhouetteevaluation.html).
315315

316-
*Recommended number of clusters:* Following the estimated number of clusters above, we recommend setting the lower bound of the cluster range to the half the average number of components per subject. For example, if you have 20 components per subject, set the lower bound to 10. Similarly, set the upper bound to 1.5 times the average number of components per subject. For example, if you have 20 components per subject, set the upper bound to 30. If the returned number of clusters is at its lower or upper bound, consider expanding the range. We also strongly recommend using the option to separate outliers.
316+
*Recommended number of clusters:* Following the rationale for estimated number of clusters above, we recommend setting the lower bound of the cluster range to the half the average number of components per subject. For example, if there are 20 components per subject, set the lower bound to 10. Similarly, set the upper bound to 1.5 times the average number of components per subject. For example, for 20 components per subject, set the upper bound to 30. If the returned number of clusters is at its lower or upper bound, consider expanding the range. We also strongly recommend using the option to separate outliers.
317317

318-
![](/assets/images/studyclust5.png)
318+
![](/assets/images/studyclust14.png)
319319

320320
Other clustering methods
321321
-----------------

0 commit comments

Comments
 (0)