CD.2: Principal Components Analysis
Printer-friendly version
R codes for
Principal Component Analysis
With such a high degree of dependency it is recommended that a PCA is done on the data and only the top few components are used for classification.
From the table and the screeplot above it is clear that it is sufficient to consider only the first 8 PCs. They are given below.
For classification, therefore, only the first 8 PCs will be used, instead of all the 40 attributes.