MCLUSTCERR Cluster classification error based on combining clusterings
[E,N} = MCLUSTCERR(LABC,LABT)
DescriptionThis routine evaluates a clustering of a dataset A by comparing the true labels LABT of A with cluster labels derived from a cluster prototype object by combining the multilevel clustering LABC using CLUSTC. This can be understood as evaluating the clusterings by active labeling. A is a labeled dataset with M objects. LABT should be a vertical vector containing the true numeric labels of A. LABT = GETNLAB(A). LABC is a set of K clustering results with indices pointing for every object to a cluster prototype in A. E is the fraction of misclassified objects in A. It reports an error for every clustering (column of LABC). Use CLUSTCERR for a faster result that does not combine cluster levels and which has thereby usually a smaller performance. The length of E and N might differ from K. Example(s)
A = gendat(mnist8,25000);
See alsodatasets, mappings, knnc, cluste, clusth, clustk, clustkh, clustm, clustf, clustr, dcluste, dclustf, dclusth, dclustk, dclustm, dclustr, clusteval, clustc, clustnum, clustcerr, mclustlcurve,
|