%% RefLVQNet
% This example shows 
%% code

% Copyright 2015 The MathWorks, Inc.

[x,t] = iris_dataset;
net = lvqnet(10);
net.trainParam.epochs = 50;
net = train(net,x,t);
view(net)
y = net(x);
perf = perform(net,y,t)
classes = vec2ind(y);