trains a self organizing map (SOM).
[SOMWeights] = TrainSOM(Samples, InitialWeights, GridSize, LearningRate, LearningRateParameter, Neighborhood, NeighborhoodParameter, NormType)
matrix that includes training vectors as rows
matrix that includes initial weight vectors as rows
vector or scalar, specifies the number of neurons per SOM dimension. All elements must be greater than one.
function of time step and an additional parameter
2nd parameter passed to LearningRate(), can be of any type
function of distance, time step and an additional parameter
3rd parameter passed to Neighborhood(), can be of any type
norm of vectors, must be a scalar greater than zeros, can be %inf
matrix that includes resulting weight vectors as rows
This function trains a self organizing map (SOM).
T. Kohonen, 'Self-organizing maps', Springer Verlag, Berlin, 2001