MATLAB Answers

1

Gap Staticstics Implementation

Asked by Arunachalam on 5 Jun 2011
Latest activity Answered by Franck Dernoncourt on 3 Nov 2013
Does anyone know the reference link of matlab implementation of "Gap Statistics" mentioned in this paper.

  0 Comments

Sign in to comment.

1 Answer

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

  0 Comments

Sign in to comment.