www.gusucode.com > nnet 案例源码 matlab代码程序 > nnet/GsSelfOrgExample.m
%% GsSelfOrg % %% load data % Copyright 2015 The MathWorks, Inc. load iris_dataset inputs = irisInputs; %% create network dimension1 = 10; dimension2 = 10; net = selforgmap([dimension1 dimension2]); %% train network [net,tr] = train(net,inputs); %% test network outputs = net(inputs); %% view network view(net) %% view som figure, plotsomtop(net)