| SOM Toolbox | Online documentation | http://www.cis.hut.fi/projects/somtoolbox/ |
[cPCAarg, Pdata, Pproto] = som_projections(D,sM,bmus)
SOM_PROJECTIONS Makes different kinds of projections for the data and the prototypes.
[cPCAarg, Pdata, Pproto] = som_projections(D,sM,[bmus])
sD (struct) data struct
(matrix) size dlen x dim
sM (struct) map struct
(matrix) size munits x dim: prototype vectors
[bmus] (vector) BMU for each data vector (calculated if not specified)
cPCAarg (cell array) PCA arguments: {V, me, l} from pcaproj function
Pdata (matrix) size dlen x 7, consisting of 3 projection coordinates from PCA,
1 residual from the rest of the PCA-projection coordinates,
and 3 color components
Pproto (matrix) size dlen x 7, consisting of 3 projection coordinates from PCA,
1 residual from the rest of the PCA-projection coordinates,
3 color components, and 3 projection coordinates from CCA
See also PCAPROJ, CCA, SAMMON, SOM_PROJECTIONS_PLOT, SOM_COLORING, SOM_COLORCODE,
SOM_CLUSTERCOLOR, SOM_KMEANCOLOR.