/Matlab-Stuff

Collection of methods written for matlab. Mainly concerned with clustering.

Primary LanguageMATLAB

Contains so far: ##Rand Index Implements RandIndex that measures the similarity between two clusterings. Add the randIndex folder to your path and try this:

data = [randn(10,2)+ones(10,2);randn(10,2)-ones(10,2)]
clusterA = kmeans(data,2)
clusterB = kmeans(data,3)
randIndex(clusterA,clusterB)
% returns: ans = 0.8105 (or a similar value since data is random)

###Development notes: Needs MATLAB xUnit Test Framework to run the unit tests.