Source:
https://www.codementor.io/divyeshaegis/when-to-use-pca-before-or-after-a-train-test-split-vxdrlu6ci
How to avoid such mistakes while using PCA for any data?
How to avoid such mistakes while using PCA for any data?