Principal Component Analysis (PCA) is one of the most popular unsupervised machine learning techniques for dimensionality reduction, data…