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

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

View Full Document Right Arrow Icon
SOM Toolbox Online documentation 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

This note was uploaded on 05/23/2010 for the course CS 245 taught by Professor Dunno during the Spring '10 term at Aarhus Universitet.

Ask a homework question - tutors are online