CLUSTR Random clustering
LAB = CLUSTR(A,K)
DescriptionThe dataset A with M rows (objects) is clustered by selecting a random set of K prototypes out of A. All other objects are assigned to the nearest prototype. In case K is a set, larger sets of prototypes will contain the smaller ones (nested result). The classifiers are based on the nearest neighbor classifier (KNNC) trained by the prototypes found in the clustering using KNNC. Its output labels are the indices in A of these objects. Example(s)
randreset; % take care of reproducability
See alsodatasets, mappings, knnc, cluste, clusth, clustk, clustkh, clustm, clustf, dcluste, dclustf, dclusth, dclustk, dclustm, dclustr, clusteval, clustcerr, clustc, clustnum,
|