The Self-Organizing Map is a kind of neural network used for unsupervised learning. In this project based on Swift and made for the iPhone, you can see how randomly distributed colors are grouped. Watch on Github.