A self-organising map has three neurons on a line with weight vectors , and . The input is , the learning rate is and the neighbourhood is with , where is the distance on the map between neurons (neurons 1, 2, 3 are at positions 1, 2, 3). Which neuron wins, and what are the three weight vectors after one update?
Unsupervised learning, Self-organising maps
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can find the best-matching unit and apply the neighbourhood-weighted update .
Key idea
The winner (best-matching unit, BMU) is . Every neuron moves towards by a factor , where decays with the map distance to the winner. Neighbours on the map are pulled together, so the map becomes topology preserving.
Steps
- Squared distances to : , , . Neuron 2 wins.
- Neighbourhood values: the winner has so . Neurons 1 and 3 have , so .
- Winner: .
- Neuron 1: factor . .
- Neuron 3: .
- In training, and both shrink over time, so the map first orders globally and then fine-tunes locally.
Common mistakes
- Updating only the winner. That is online k-means, not an SOM.
- Measuring the neighbourhood distance in the input space instead of on the map grid.
- Using a constant and . Without shrinking, the map never settles.
How long your answer should be
Half a page; 4–5 minutes.
Read this
Previous in Unsupervised learning: Four items have dissimilarities , , , , , . If you run agglomerative clustering with single, complete and average linkage, what are the merge order and heights for each, and which linkage shows the chaining effect?
Next in Unsupervised learning: The covariance matrix of a 4-dimensional dataset has eigenvalues , , and . (a) What fraction of the variance does each principal component explain? (b) How many components are needed to keep at least 90% of the variance? (c) What is the average squared reconstruction error per point when you keep that many?