Gap Staticstics Implementation
Show older comments
Does anyone know the reference link of matlab implementation of "Gap Statistics" mentioned in this paper.
Answers (1)
Franck Dernoncourt
on 3 Nov 2013
The Statistics Toolbox implements the gap statistic as a class in the package `clustering.evaluation` since R2013b: http://www.mathworks.com/help/stats/clustering.evaluation.gapevaluationclass.html
load fisheriris;
rng('default'); % For reproducibility
eva = evalclusters(meas,'kmeans','gap','KList',[1:6])
figure;
plot(eva);

You can also use this file exchange: http://www.mathworks.com/matlabcentral/fileexchange/37905-gap-statistics
Categories
Find more on Resampling Techniques in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!