I am experiencing a problem implementing sequential feature selection

1 次查看(过去 30 天)
function misclass = PartLDA(XT,yT,Xt,yt) lda = fitcdiscr(XT,yT,'discrimType','pseudolinear'); %perform LDA ldaClass = resubPredict(lda); %prediction misclass=sum(ldaClass ~= yT); %calculate missclassification rate end
[fs,history] = sequentialfs(@PartLDA,X,Y,'cv',C,'options',opts,'direction',direction) Error using sequentialfs (line 345) All input arguments must be tables.
Error in Untitled22 (line 84) [fs,history] = sequentialfs(@PartLDA,X,Y,'cv',C,'options',opts,'direction',direction)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by