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?

回答 (1 件)

Christopher McCausland
Christopher McCausland 2023 年 11 月 5 日

0 投票

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

製品

リリース

R2021a

タグ

質問済み:

2022 年 1 月 31 日

回答済み:

2023 年 11 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by