%%% YSA demo 3
clc
clear all
close all

[x,t] = iris_dataset;
net=patternnet(10);
net=train(net,x,t);
view(net)

y=net(x);
perf=perform(net,t,y)
classes=vec2ind(y)