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!

回答(1 个)

Abhipsa
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.

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by