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
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
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!