该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
A1=d(1:15,:);A2=d(16:30,:);A3=d(31:45,:);A4=d(46:60,:);A5=d(61:75,:);A6=d(76:90,:);B1=d(91:105,:);B2=d(106:120,:);B3=d(121:135,:);B4=d(136:150,:);B5=d(151:165,:);B6=d(166:180,:);B7=d(181:195,:);B8=d(196:210,:);B9=d(211:225,:);C1=d(226:240,:);C2=d(241:255,:);C3=d(256:270,:);C4=d(271:285,:);C5=d(286:300,:);C6=d(301:315,:);
Q = [1*ones(90,1);2*ones(135,1);3*ones(90,1)];
train_data = [A1(1:12,:);A2(1:12,:);A3(1:12,:);A4(1:12,:);A5(1:12,:);A6(1:12,:);B1(1:12,:);B2(1:12,:);B3(1:12,:);B4(1:12,:);B5(1:12,:);B6(1:12,:);B7(1:12,:);B8(1:12,:);B9(1:12,:);C1(1:12,:);C2(1:12,:);C3(1:12,:);C4(1:12,:);C5(1:12,:);C6(1:12,:)];
train_label = [Q(1:72,:);Q(91:198,:);Q(226:297,:)];
test_data = [A1(13:15,:);A2(13:15,:);A3(13:15,:);A4(13:15,:);A5(13:15,:);A6(13:15,:);B1(13:15,:);B2(13:15,:);B3(13:15,:);B4(13:15,:);B5(13:15,:);B6(13:15,:);B7(13:15,:);B8(13:15,:);B9(13:15,:);C1(13:15,:);C2(13:15,:);C3(13:15,:);C4(13:15,:);C5(13:15,:);C6(13:15,:)];
test_label = [Q(73:90,:);Q(199:225,:);Q(298:315,:)];