Skip to main content
100%

Kohonen SOM

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 4, 2017
Created on Mar 4, 2017

This visualization demonstrates a Kohonen self-organizing map (SOM) training on 500 random 3D data points, projecting them onto a grid of 144 hexagon neurons. The animation shows the neurons and data points transitioning over 4 seconds as the map converges, with colors assigned using the d3.cubehelix color space. Built with d3.js and the seracio/kohonen library, it uses the `kohonen.hexagonHelper.generateGrid()` function to create the hexagonal lattice and animates the training process via `transition().duration(4000)` on both the neuron colors and data point positions.

AI-generated description

Creating a self-organizing map (SOM)

First tentative.

Made by Philippe Rivière with <a href="https://d3js.org/">d3.js</a> and <a href="https://github.com/seracio/kohonen">seracio/kohonen</a>.

Same maths, differents color spaces:

<a href='http://bl.ocks.org/Fil/ae11126ae728cb2af627db6a3dfa756b'>d3.rgb()</a>

<a href='http://bl.ocks.org/Fil/77442da6f83ad6e36076b5ebe38d63da'>d3.hsl()</a>

<a href='http://bl.ocks.org/Fil/1832095c0cc2ccfa07c11e2fcb8f723d'>d3.lab()</a>

<a href='http://bl.ocks.org/Fil/70dccbad91ffcf253387645fadb94614'>d3.cubehelix()</a>

forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/70dccbad91ffcf253387645fadb94614'>Kohonen / SOM with CubeHelix</a>

mit Licensed

Similar vizzes