Last answered:

01 Aug 2022

Posted on:

29 Jul 2022

1

Extraction of components from high dimension dataset to perform PCA and LDA

How to extract first 30 components if there are 1000 features?There is a dataset I am working with which has 10000 features and 1 million rows.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

01 Aug 2022

1

Hi Swapnil!
Great to have you in the course and thanks for reaching out!
PCA will construct as many PCs as the dimension of the data if we do not specify an exact number. To specify the number, we can use the parameter n_components.
Hope this helps.
Best,
Ivan

Submit an answer