Feature selection / Dimensionality reduction for tall array

3 vues (au cours des 30 derniers jours)
Santiago Cepeda
Santiago Cepeda le 22 Oct 2021
Commenté : Santiago Cepeda le 29 Oct 2021
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.

Réponses (1)

Kumar Pallav
Kumar Pallav le 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 commentaires
Kumar Pallav
Kumar Pallav le 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.
Santiago Cepeda
Santiago Cepeda le 29 Oct 2021
I’m working with tall arrays so, how should I write the command?

Connectez-vous pour commenter.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by