som_kmeans - k (scalar) number of centroids [epochs]...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
SOM Toolbox Online documentation http://www.cis.hut.fi/projects/somtoolbox/ kmeans [codes,clusters,err] = som_kmeans(method, D, k, epochs, verbose) SOM_KMEANS K-means algorithm. [codes,clusters,err] = som_kmeans(method, D, k, [epochs], [verbose]) Input and output arguments ([]'s are optional): method (string) k-means algorithm type: 'batch' or 'seq' D (matrix) data matrix (struct) data or map struct
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: k (scalar) number of centroids [epochs] (scalar) number of training epochs [verbose] (scalar) if <> 0 display additonal information codes (matrix) codebook vectors clusters (vector) cluster number for each sample err (scalar) total quantization error for the data set See also KMEANS_CLUSTERS, SOM_MAKE, SOM_BATCHTRAIN, SOM_SEQTRAIN. [ SOM Toolbox online doc ]...
View Full Document

Ask a homework question - tutors are online