%% 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)



