Extraction of components from high dimension dataset to perform PCA and LDA
in
Linear Algebra and Feature Selection
/
A Step-by-Step Explanation of PCA on California Estates – Example
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)
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