Description: Clustering Evaluation: Evaluate the clustering result by accuracy and normalized mutual information
Deng Cai, Xiaofei He, and Jiawei Han, "Document Clustering Using Locality Preserving Indexing", in IEEE TKDE, 2005. Bibtex source
bestMap
hungarian
MutualInfo
===========================================
fea = rand(50,70)
gnd = [ones(10,1) ones(15,1)*2 ones(10,1)*3 ones(15,1)*4]
res = kmeans(fea,4)
res = bestMap(gnd,res)
============= evaluate AC: accuracy ==============
AC = length(find(gnd == res))/length(gnd)
============= evaluate MIhat: nomalized mutual information =================
MIhat = MutualInfo(gnd,res)
===========================================
To Search:
File list (Check if you may need any files):
bestMap.m
hungarian.m
MutualInfo.m