function [res,stats] = IAS_multi_driver(num_trials,samps)
%

n = length(samps);
stats = zeros(n,4);

for k = 1:n
    [k,n]
    [net,ac,res1,am] = CENN_driver(num_trials,0,samps(k),0);
    [nets,acs,ress,ams] = CENN_driver(num_trials,0,samps(k),1);
    res(k).net = net;
    res(k).ac = ac;
    res(k).res = res1;
    res(k).am = am;
    res(k).nets = nets;
    res(k).acs = acs;
    res(k).ress = ress;
    res(k).ams = ams;
    stats(k,1) = samps(k);
    stats(k,2) = ac;
    stats(k,3) = am;
    stats(k,4) = ams;
end
