In this video we take a look at Principal Component Analysis (PCA) and some of the math behind it including Eigenvalues, Eigenvectors, Singular Values and computing variation. After understand this and going through an example with 2 principal components, we move to using PCA in Python by using the sklearn implementation with the iris flower dataset. Then we practice visualizing the results with plotly. We also discuss the importance of normalizing your dataset for PCA and in general for machine learning and I show you how to do so via standardization and min-max normalization. Finally we revisit the crypto dataset from previous videos and apply PCA for dimensionality reduction and look at the results.
My initial example is heavily based off of StatQuest's great video on PCA. Check it out:
StatQuest. “Principal Component Analysis (PCA), Step-by-Step” YouTube, Joshua Starmer, 2 Apr. 2018, • StatQuest: Principal Component Analysis (P...
Useful Reference(s):
Scikit-Learn Documentation on the Principal Component Analysis: https://scikit-learn.org/stable/modul...
Scikit-Learn PCA Example on the Iris Dataset: https://scikit-learn.org/stable/auto_...
Plotly Graphing Library: PCA Visualization in Python: https://plotly.com/python/pca-visuali...
StatQuest: PCA in R: • StatQuest: PCA in R
A good reference on PCA with examples. Also source of the gif rotating image: https://builtin.com/data-science/step...
More tutorials of PCA: https://towardsdatascience.com/pca-us...
A nice article of PCA and finance: https://riskprep.com/tutorials/unders...
PCA vs t-SNE (if you want to learn other algorithms of the same type: / pca-vs-t-sne
Scikit-Learn Documentation on Normalization: https://scikit-learn.org/stable/modul...
Tutorial on how to Normalize data in Python: https://www.journaldev.com/45109/norm...
Standardization Reference: https://www.statisticshowto.com/stand...
The Crypto Dataset: https://www.kaggle.com/odins0n/top-50...
Previous Videos: • Machine Learning: Predicting Ethereum's Pr...
Credits where Credits are Due:
-Subscribe End Screen: Graphicki • Video
-Live Animation: Motion Chroma | Leader • Livestream Intro [Free to Use] ♥
-Music: Song: Without You, Artist: MNRVA, / ximertracks
-Streaming Software: OBS
Thank you for watching!