mrmr特征选择和SVM分类器m的意思是什么?

时间:2015-06-23 07:30:18

标签: matlab svm feature-selection

我正在尝试进行mrmr功能选择和SVM分类。我从penglab web site获得了谨慎的nci数据集。

nci=importdata('test_nci9_s3.csv');
ncid=nci.data(:,1);
ncif=nci.data(:,2:9713);
[feanciq] = mrmr_miq_d(ncif, ncid, 60);
[feancid] = mrmr_mid_d(ncif, ncid, 60);
 for i=1:10,
    for j=1:60,
        testnciq(i,j)=ncif(i,feanciq(j));
    end;
 end;
 for i=11:60,
    for j=1:60,
        trainnciq(i-10,j)=ncif(i,feanciq(j));
    end;
 end; 
 for i=1:10,
    for j=1:3,
        testncid(i,j)=ncif(i,feancid(j));
    end;
 end;
 for i=11:60,
    for j=1:3,
        trainncid(i-10,j)=ncif(i,feancid(j));
    end;
 end;
 SVMStructq=fitcecoc(trainnciq,ncid(11:60));
 SVMStructd=fitcecoc(trainncid,ncid(11:60));
 td=predict(SVMStructd,trainncid(2,:));
 tq=predict(SVMStructq,trainnciq(2,:));
 disp(tq);
 disp(td);

table

上页中第194页的m(m = 3,6,9 .... 48,54,60)表的含义是什么? 如何获得这些MID和MIQ变量如表?

0 个答案:

没有答案