필터 지우기
필터 지우기

the squential feature selection with Sequentialfs function

조회 수: 2 (최근 30일)
lebed toufik
lebed toufik 2022년 11월 27일
편집: lebed toufik 2022년 11월 27일
Hi all,
I'm having trouble with feature selection; could someone please assist me?
My code is:
X = trainingFeatures;
y = trainingLabels;
c = cvpartition(y,'k',10);
opts = statset('display','iter');
fun = @(XT,yT,Xt,yt)...
(sum(~strcmp(yt,classify(Xt,XT,yT,'quadratic'))));
[fs,history] = sequentialfs(fun,X,y,'cv',c,'options',opts);
When we run the code, we get:

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by