测试集变化对SVM分类模型有影响-fenlei.mat clear all clc load fenlei %排序 y=z; T=[label,y]; [T,pos]=sort);%pos为排序后的下标,c为第一行的排序结果; T=T;% label=T; y=T; %选择训练集和标签 train1=y; train1_label=label; train1_label = ismember; train1_label=double; %训练集归一化 [train1,pstrain] = mapminmax; pstrain.ymin = 0