O'Reilly logo

Hands-On Machine Learning with C# by Matt R. Cole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Under the hood of an SOM

So, the inevitable question now arises: how do these things work?

In a nutshell, we have neurons on the grid; gradually, via iterations, they adapt themselves to the shape of our data (in our example, shown in the following image on the left-hand side in the Points panel). Let's talk a bit more about the iterative process itself.

  1. The first step is to randomly position data on the grid. We will randomly be placing our grid's neurons in our data space, as follows:
  1. The second step is where our algorithm will select a single data point.
  2. In the third step, we need to find the neuron (data point) that is closest to the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required