Gap Statistic Algorithm

An algorithm for the estimation of the optimum number of clusters in a 2D dataset.
706 Downloads
Updated 9 Aug 2013

View License

A small 'toolbox' (it's just three files) for the estimation of the optimum number of clusters in a 2D dataset trough Tibshirani, Walther and Hastie's gap statistic algorithm (2001). The code is fully commented, so you should have no problem understanding it. If you have any troubles or questions, feel free to contact me. Further details are in a READ ME text file included in the package. Live long and prosper.

Cite As

Alessandro Scoccia Pappagallo (2024). Gap Statistic Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/42999-gap-statistic-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0