Self Organising Map (SOM)
no vote
This is an example of Self Organising Maps (SOM) for 16 variables by using Matlab software.
Here's the preview of the code :
C #
W=rand(10,10,13)/10;
x=[1,0,0,1,0,0,0,0,1,0,0,1,0;
1,0,0,1,0,0,0,0,1,0,0,0,0;
1,0,0,1,0,0,0,0,1,0,0,1,1;
1,0,0,1,0,0,0,0,1,0,0,1,1;
1,0,0,1,0,0,0,0,1,1,0,1,0;
1,0,0,1,0,0,0,0,1,1,0,1,0;
0,1,0,1,0,0,0,0,1,1,0,1,0;
0,1,0,0,1,1,0,0,0,1,0,0,0;
0,1,0,0,1,1,0,0,0,0,1,0,0;
0,1,0,0,1,1,0,1,0,1,1,0,0;
1,0,0,0,1,1,0,0,0,1,0,0,0;
0,0,1,0,1,1,0,0,0,1,1,0