clear name={'SCV1V1','SVC1VA','SVR','CSSVC','SVMOP','NNOP','ELMOP','GPOR','KDLOR','POM',... 'NNPOM', 'SVOREX','SVORIM','SVORIMLin','REDSVM','ORBALL' }; path0={'E:\datasets-orreview\DetailedResultsREVIEW\Real\csv\',... 'E:\datasets-orreview\DetailedResultsREVIEW\Regression\csv\'}; Index{1}=[1 2 3 4 5 12 14 22 24 16 18 20 ]; Index{2}=[6 7 8 9 10 11 13 21 23 15 17 19]; j=2 MZEResult5=[];MAEResult5=[]; MZEResult10=[];MAEResult10=[]; for i=1:length(name) fname= strcat(path0{j}, 'Results-', name{i},'.','csv'); D=importdata(fname,','); Data=D.data; Data5=[];Data10=[]; for k=1:12 Data5=[Data5 Data(:,(Index{1}(k)-1)*3+[1 2] )]; Data10=[Data10 Data(:,(Index{2}(k)-1)*3+[1 2])]; end A5=[mean(Data5,1);std(Data5,1)]; A10=[mean(Data10,1);std(Data10,1)]; % MZEResult5(i,:)=reshape(A5(:,1:2:end),[1,24]); % MZEResult10(i,:)=reshape(A10(:,1:2:end),[1,24]); MAEResult5(2*(i-1)+1:2*i,:)=A5(:,2:2:end); MAEResult10(2*(i-1)+1:2*i,:)=A10(:,2:2:end); end MAEResult5=MAEResult5';