fsrftest appropriate method for feature selection before machine learning fitrensemble LS boost (regression)?
3 次查看(过去 30 天)
显示 更早的评论
Hello, is fsrftest appropriate method for feature selection before machine learning fitrensemble LS boost (regression)?
The data contains both categorical as well as con features.
Thanks a lot!
0 个评论
回答(1 个)
Abhipsa
2025-6-25
Yes, you can use "fsrftest" for feature selection before training a "fitrensemble" model with LS-Boost, but it is not always necessary.
Tree-based models like LS-Boost already perform feature selection during training by choosing informative splits, so they naturally down-weight unimportant features. Applying "fsrftest" beforehand might help rus to educe dimensionality if we are having hundreds or thousands of features, but there is a risk of discarding useful features, if they interact in ways the filter does not capture.
Since, the results will be depend on the dataset, you can apply "fitrensemble" with and without "fsrftest" and evaluate the performance.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!