A step-by-step guide on how PCA can be used to reduce dimensionality.
The dataset used for this is the famous IRIS dataset. The dataset includes 4 features and 1 label.
The code is a step-by-step guide on how PCA actually works and how it can be used to reduce dimensionality. In this case, it is used to reduce the 4 features into 2 features.