Clustering toolbox
Please find toolbox to perform cluster analysis using k-means algorithm. The toolbox implements the following pipline:
1. Denoising of raw-data prior to cluster analysis, using Empirical Mode Decomposition
2. Determining number of clusters using Stability Index, a bootstrap-based method
3. Initialise cluster centroids for k-means using method based on Genetic Algorithms
4. Visualisation of cluster analysis results using PCA-based method
Simplest to run clustering_pipeline_masterscript.m, from which all other functions are called.
Read attached Usage Notes for guidance on use. Originally developed for analysis of EEG (Electroencephalographic) data, but also generally applicable. For details and example application, refer:
Williams NJ, Nasuto SJ, Saddy, JD. Method for exploratory cluster analysis and visualisation
of single-trial ERP ensembles. Journal of Neuroscience Methods 250, 22-33.
http://www.sciencedirect.com/science/article/pii/S016502701500059X
Please also cite above paper when publishing results from applying this code! The pipeline also uses/implements methods from other papers, which have been cited in the code. Please also cite these papers as appropriate.
Any feedback/comments welcome.
Hope useful!
Cite As
Nitin Williams (2025). Clustering toolbox (https://www.mathworks.com/matlabcentral/fileexchange/55938-clustering-toolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
- AI and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection >
- Sciences > Neuroscience > Human Brain Mapping > EEG/MEG/ECoG >
- Control Systems > Predictive Maintenance Toolbox >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Clustering_toolbox/
Clustering_toolbox/utils/
Version | Published | Release Notes | |
---|---|---|---|
1.1 | changed 'ERP_clustering_toolbox' to 'Clustering_toolbox' in Usage notes. |
|
|
1.0.0.0 |
modified Description section to include reference to clustering_pipeline_masterscript.m
|