Borrar filtros
Borrar filtros

the squential feature selection with Sequentialfs function

2 visualizaciones (últimos 30 días)
lebed toufik
lebed toufik el 27 de Nov. de 2022
Editada: lebed toufik el 27 de Nov. de 2022
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:

Respuestas (0)

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by