SDKMEANS k-means classifier or clustering P=SDKMEANS(DATA,options) P=SDKMEANS(DATA,K,options) INPUT DATA training dataset K number of clusters per class OPTIONS 'k' number of clusters per class, may be vector (required) 'all' execute k-means on entire data set (not per class) 'iter' number of iterations (opt, def:20) 'cluster' return one output per cluster (default: return one output per class=classifier) 'nodisplay' do not show any output 'no pruning' do not prune the k-means classifier (returns all trained prototypes but yields lower performance) 'prefix' Custom cluster name prefix (default: 'C') OUTPUT P pipeline object DESCRIPTION SDKMEANS describes data by means of k clusters. The clusters are defined by an iterative algorithm started from randomly selected samples. By default SDKMEANS trains a classifier which handles each class in DATA separately and returns one output per class (square Euclidean distance to the closest cluster). By default, per-class prototypes are pruned removing the ones causing errors on the training set. Use 'no pruning' option to return all per-class prototypes. Data clustering may be performed using 'cluster' option. SDKMEANS then returns one output per cluster. The number of centers may be specified using 'k' parameter (vector of 'k', one per class is supported') READ MORE http://perclass.com/doc/guide/clustering.html#sdkmeans SEE ALSO SDMIXTURE, SDKCENTRES, SDCLUSTER
sdkmeans is referenced in examples:
