To get started, download and unzip the file som.zip change to the som directory, launch Matlab, and type
>> addpath src >> addpath demo >> somdemo(@nicering, 200);This will run a two-dimensional demo using a ring shape as the input data set. Instead of nicering, you can also use the other nice* shape functions. You can run a three-dimensional example, with the interior of a cube as the data set, by typing
>> somdemo(@nicecube, 300);or however many iterations you want to try. The src directory contains code that you can use in actual applications. Most users will probably just want to use som.m, the two-dimensional grid version. The code in somlearn.m supports learning in higher dimensions. Have fun, and contact me with any questions.