Recursive Feature Elimination with Cross-validation

I want to do Recursive Feature Elimination with Cross-validation in matlab code. How can I do this with functions?

Respuestas (1)

Christopher McCausland
Christopher McCausland el 5 de Nov. de 2023
Hi,
You can use the sequentialfs() function to preform recusive feature elimination: https://uk.mathworks.com/help/stats/sequentialfs.html.
Remeber to select the name pairs "Direction","backward".
Christopher

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 31 de En. de 2022

Respondida:

el 5 de Nov. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by