StatQuest: PCA in Python
You asked for it, you got it! Now I walk you through how to do PCA in Python, step-by-step. It's not too bad, and I'll show you how to generate test data, do the analysis, draw fancy graphs and interpret the results. If you want to download the code, here's the link to the StatQuest GitHub:
https://github.com/StatQuest/pca_demo/blob/master/pca_demo.py
⭐ NOTE: When I code, I use Kite, a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I love it! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=statquest&utm_content=description-only
For a complete index of all the StatQuest videos, check out:
https://statquest.org/video-index/
If you'd like to support StatQuest, please consider...
Patreon: https://www.patreon.com/statquest
...or...
YouTube Membership: https://www.youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...a cool StatQuest t-shirt or sweatshirt (USA/Europe): https://teespring.com/stores/statquest
(everywhere):
https://www.redbubble.com/people/starmer/works/40421224-statquest-double-bam?asc=u&p=t-shirt
...buying one or two of my songs (or go large and get a whole album!)
https://joshuastarmer.bandcamp.com/
...or just donating to StatQuest!
https://www.paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
https://twitter.com/joshuastarmer
0:00 Awesome song and introduction
1:06 Load modules and generate data
5:03 Scaling and centering data
7:31 Use scikit for PCA
8:34 Draw a scree plot
9:18 Draw a PCA plot
10:18 Examine the loading scores
#statquest #PCA
Видео StatQuest: PCA in Python канала StatQuest with Josh Starmer
https://github.com/StatQuest/pca_demo/blob/master/pca_demo.py
⭐ NOTE: When I code, I use Kite, a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I love it! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=statquest&utm_content=description-only
For a complete index of all the StatQuest videos, check out:
https://statquest.org/video-index/
If you'd like to support StatQuest, please consider...
Patreon: https://www.patreon.com/statquest
...or...
YouTube Membership: https://www.youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...a cool StatQuest t-shirt or sweatshirt (USA/Europe): https://teespring.com/stores/statquest
(everywhere):
https://www.redbubble.com/people/starmer/works/40421224-statquest-double-bam?asc=u&p=t-shirt
...buying one or two of my songs (or go large and get a whole album!)
https://joshuastarmer.bandcamp.com/
...or just donating to StatQuest!
https://www.paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
https://twitter.com/joshuastarmer
0:00 Awesome song and introduction
1:06 Load modules and generate data
5:03 Scaling and centering data
7:31 Use scikit for PCA
8:34 Draw a scree plot
9:18 Draw a PCA plot
10:18 Examine the loading scores
#statquest #PCA
Видео StatQuest: PCA in Python канала StatQuest with Josh Starmer
Показать
Комментарии отсутствуют
Информация о видео
9 января 2018 г. 2:06:15
00:11:37
Другие видео канала
![StatQuest: Principal Component Analysis (PCA), Step-by-Step](https://i.ytimg.com/vi/FgakZw6K1QQ/default.jpg)
![](https://i.ytimg.com/vi/Re5jo8JlgUY/default.jpg)
![Principal Component Analysis (PCA) 1 [Python]](https://i.ytimg.com/vi/Oi4SJqJIL2E/default.jpg)
![Principle Component Analysis (PCA) using sklearn and python](https://i.ytimg.com/vi/QdBy02ExhGI/default.jpg)
![StatQuest: K-means clustering](https://i.ytimg.com/vi/4b5d3muPQmA/default.jpg)
![Machine Learning in Python: Principal Component Analysis (PCA) for Handling High-Dimensional Data](https://i.ytimg.com/vi/oiusrJ0btwA/default.jpg)
![PCA algorithm step by step with python code](https://i.ytimg.com/vi/xebPVQ1f7nM/default.jpg)
![Principal Component Analysis (PCA) in Python and MATLAB](https://i.ytimg.com/vi/uBIi9xctaT0/default.jpg)
![Principal Component Analysis (PCA)](https://i.ytimg.com/vi/g-Hb26agBFg/default.jpg)
![5 Years of Coding - Everything I've Learned](https://i.ytimg.com/vi/Zn_f6el0TKw/default.jpg)
![StatQuest: Hierarchical Clustering](https://i.ytimg.com/vi/7xHsRkOdVwo/default.jpg)
![Using My Python Skills To Punish Credit Card Scammers](https://i.ytimg.com/vi/StmNWzHbQJU/default.jpg)
![StatQuest: PCA main ideas in only 5 minutes!!!](https://i.ytimg.com/vi/HMOI_lkzW08/default.jpg)
![StatQuest: PCA - Practical Tips](https://i.ytimg.com/vi/oRvgq966yZg/default.jpg)
![ROC and AUC, Clearly Explained!](https://i.ytimg.com/vi/4jRBRDbJemM/default.jpg)
![StatQuest: t-SNE, Clearly Explained](https://i.ytimg.com/vi/NEaUSP4YerM/default.jpg)
![A.I. teaches itself to drive in Trackmania](https://i.ytimg.com/vi/a8Bo2DHrrow/default.jpg)
![Principal Component Analysis (PCA) using Microsoft Excel video](https://i.ytimg.com/vi/4zbUcgfycTU/default.jpg)
![Data Analysis 6: Principal Component Analysis (PCA) - Computerphile](https://i.ytimg.com/vi/TJdH6rPA-TI/default.jpg)
![How to Prune Regression Trees, Clearly Explained!!!](https://i.ytimg.com/vi/D0efHEJsfHo/default.jpg)