フィルターのクリア

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 Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by