Gap Staticstics Implementation

Does anyone know the reference link of matlab implementation of "Gap Statistics" mentioned in this paper.

Answers (1)

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);

Asked:

on 5 Jun 2011

Community Treasure Hunt

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

Start Hunting!