%% Initialize data and labels: labels tax001 %The data is in X, the labels in G. Run Matlab's built-in version of the % self-organizing map, using a grid of 100 clusters in a 10 x 10 % rectangular array (rectangular='gridtop') net=newsom(minmax(X),[10,10],'gridtop'); net.trainParam.epochs=200; net=train(net,X); %Plot the result using plotcell.m (a function we downloaded) plotcell(net,X,G);