Recursive Feature Elimination with Cross-validation
7 views (last 30 days)
Show older comments
I want to do Recursive Feature Elimination with Cross-validation in matlab code. How can I do this with functions?
0 Comments
Answers (1)
Christopher McCausland
on 5 Nov 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
0 Comments
See Also
Categories
Find more on Get Started with Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!