fsrftest appropriate method for feature selection before machine learning fitrensemble LS boost (regression)?

3 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Abhipsa
Abhipsa il 25 Giu 2025
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.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by