Feature selection / Dimensionality reduction for tall array
1 view (last 30 days)
Show older comments
Hi everyone!
I work with a tall array of more than 2 M observations and about 3000 numerical predictor variables. My response variable is binary (no / yes). I would like to know how and what algorithms I can use to select (or rank) the best features to develop a predictive model.
Thanks.
0 Comments
Answers (1)
Kumar Pallav
on 29 Oct 2021
Hi,
Please look at the various feature selection techniques available in Statistics and Machine Learning Toolbox. As an example, you can use fscmrmr function for classification problems. Alternatively, you can use pca to reduce the dimensionality of the feature space.
Hope this helps!
3 Comments
Kumar Pallav
on 29 Oct 2021
Hi,
As an example shown here, if 'salary' is the response variable in the table 'adultdata',you could try the following command:
[idx,scores] = fscmrmr(adultdata,'salary')
Also,the data type supported for Tbl is 'table', so that may be the reason you are not able to run the syntax directly.
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction 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!