StatQuest: Principal Component Analysis (PCA), Step-by-Step

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 2024
  • Principal Component Analysis, is one of the most useful data analysis and machine learning methods out there. It can be used to identify patterns in highly complex datasets and it can tell you what variables in your data are the most important. Lastly, it can tell you how accurate your new understanding of the data actually is.
    In this video, I go one step at a time through PCA, and the method used to solve it, Singular Value Decomposition. I take it nice and slowly so that the simplicity of the method is revealed and clearly explained.
    If you are interested in doing PCA in R see: • StatQuest: PCA in R
    If you are interested in learning more about how to determine the number of principal components, see: • StatQuest: PCA - Pract...
    For a complete index of all the StatQuest videos, check out:
    statquest.org/video-index/
    If you'd like to support StatQuest, please consider...
    Buying The StatQuest Illustrated Guide to Machine Learning!!!
    PDF - statquest.gumroad.com/l/wvtmc
    Paperback - www.amazon.com/dp/B09ZCKR4H6
    Kindle eBook - www.amazon.com/dp/B09ZG79HXC
    Patreon: / statquest
    ...or...
    TH-cam Membership: / @statquest
    ...a cool StatQuest t-shirt or sweatshirt:
    shop.spreadshirt.com/statques...
    ...buying one or two of my songs (or go large and get a whole album!)
    joshuastarmer.bandcamp.com/
    ...or just donating to StatQuest!
    www.paypal.me/statquest
    Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
    / joshuastarmer
    0:00 Awesome song and introduction
    0:30 Conceptual motivation for PCA
    3:23 PCA worked out for 2-Dimensional data
    5:03 Finding PC1
    12:08 Singular vector/value, Eigenvector/value and loading scores defined
    12:56 Finding PC2
    14:14 Drawing the PCA graph
    15:03 Calculating percent variation for each PC and scree plot
    16:30 PCA worked out for 3-Dimensional data
    #statquest #PCA #ML

ความคิดเห็น • 4.4K

  • @statquest
    @statquest  4 ปีที่แล้ว +88

    NOTE 1: The StatQuest PCA Study Guide is available! app.gumroad.com/statquest
    NOTE 2: A lot of people ask about how, in 3-D, the 3rd PC can be perpendicular to both PC1 and PC2. Regardless of the number of dimensions, all principal components are perpendicular to each other. If that sounds insane, consider a 2-d graph, the x and y axes are perpendicular to each other. Now consider a 3-d graph, the x, y and z axes are all perpendicular to each other. Now consider a 4-d graph..... etc.
    NOTE 3: A lot of people ask about the covariance matrix. There are two ways to do PCA: 1) The old way, which applies eigen-decomposition to the covariance matrix and 2) The new way, which applies singular value decomposition to the raw data. This video describes the new way, which is preferred because, from a computational stand point, it is more stable.
    NOTE 4: A lot of people ask how fitting this line is different from Linear Regression. In Linear Regression we are trying to maintain a relationship between a value on the x-axis, and the value it would predict on the y-axis. In other words, the x-axis is used to predict values on the y-axis. This is why we use the vertical distance to measure error - because that tells us how far off our prediction is for the true value. In PCA, no such relationship exists, so we minimize the perpendicular distances between the data and the line.
    NOTE 5: A lot of people wonder why we divide the sums of the squares by n-1 instead of n. To be honest, in this context, you can probably use 'n' or 'n-1'. 'n-1' is traditionally used because it prevents us from underestimating the variance - in other words, it's related to how statistics are calculated. If you want to learn more, see: th-cam.com/video/vikkiwjQqfU/w-d-xo.html th-cam.com/video/SzZ6GpcfoQY/w-d-xo.html and th-cam.com/video/sHRBg6BhKjI/w-d-xo.html (the last video specifically addresses the 'n' vs 'n-1' thing, but the first two give background that you need to understand first).
    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @statquest
      @statquest  4 ปีที่แล้ว +7

      @@clydemccoy1768 If you can tell me how to draw a 5-dimensional graph on a 2-dimensional plane (the computer screen), then we have a deal.

    • @statquest
      @statquest  4 ปีที่แล้ว +7

      @@clydemccoy1768 There are two ways to do PCA. The original way was to apply eigendecomposition of the covariance matrix. However, that method is not numerically stable, so no one uses it anymore (even though it is still taught as if it is used). The preferred and more modern approach is to use Singular Value Decomposition (SVD), and this is what I cover in this video. At least, I cover the concepts behind how it works. However, I may dive into the math behind singular value decomposition one day. It's a long term goal of mine, but it won't happen for a while.

    • @KarthikNagadevara7791
      @KarthikNagadevara7791 4 ปีที่แล้ว +1

      @@statquest Thank you Josh :)

    • @ersincine3248
      @ersincine3248 ปีที่แล้ว

      2:40 Actually 4-D data can be plotted easily. 4th dimension can be specified by color. Shades of gray would be sufficient. For example a very dark gray (i.e. low "intensity") indicates a small number.

    • @kacodemonio
      @kacodemonio ปีที่แล้ว

      Could you please clarify me the following: some sources mention that in addition to centering the data (subtraction of the corresponding mean), it must be also standarized, i.e., divided by their corresponding standard deviation. Why is the data not being normalized here?

  • @safaabdeljabbar8080
    @safaabdeljabbar8080 3 ปีที่แล้ว +1552

    For someone who is trying to be a data scientist, this channel is the best thing on the internet. You're better than any other teacher that I've ever had. THANK YOU.

    • @statquest
      @statquest  3 ปีที่แล้ว +47

      Wow! Thank you very much!

    • @cindywang8852
      @cindywang8852 3 ปีที่แล้ว +17

      Can't agree more! This is my second time viewing this PCA video!

    • @grahamjoss4643
      @grahamjoss4643 3 ปีที่แล้ว +2

      @@statquest Safa is right !

    • @joshuasheppard7433
      @joshuasheppard7433 3 ปีที่แล้ว +3

      @@statquest I agree entirely, very well explained.

    • @ZenithClown
      @ZenithClown 3 ปีที่แล้ว +4

      Exactly, I still sometimes come back to this channel to refresh my memories!

  • @futurefriendly77
    @futurefriendly77 3 ปีที่แล้ว +585

    6 years into my phd and I finally understand how a PCA plot actually works. Thank you!

  • @rayskum1
    @rayskum1 ปีที่แล้ว +416

    Dr. Starmer - I really really wish I had you as my stats teacher during my student days. I can't put in words how much I appreciate your videos and how to go about explaining core concepts. Thank you very much!

    • @statquest
      @statquest  ปีที่แล้ว +70

      Wow, thank you very much!!! I really appreciate your support! It means a lot to me that you care enough to contribute.

  • @aizazkhan5439
    @aizazkhan5439 7 หลายเดือนก่อน +50

    I can say without a shadow of doubt that you are one of the world's best teachers. Mr. Starmer I can never thank you enough.

    • @statquest
      @statquest  7 หลายเดือนก่อน +5

      Hooray! Thank you very much!!! :)

  • @kushnigam2000
    @kushnigam2000 3 ปีที่แล้ว +397

    I am a data scientist and have performed PCA using advanced statistical softwares . I have even taken company sponsored expensive MVA courses. THIS is the best explanation of PCA I have seen and cleared my fundamental doubts and missing links. THANK YOU.

    • @statquest
      @statquest  3 ปีที่แล้ว +20

      Hooray! I'm glad the video was helpful. :)

    • @AD-dy1hi
      @AD-dy1hi 2 ปีที่แล้ว

      Can you please help me with the names of best software for PCA analysis!?

    • @SHARMAKUMAR-zl6ku
      @SHARMAKUMAR-zl6ku ปีที่แล้ว

      Hi kush i request you to guide me to become a data scientist like you

  • @stephaniechen5536
    @stephaniechen5536 4 ปีที่แล้ว +326

    uni student day 14 of self-quarantine: the first thing to do in the morning is to watch StatQuest.
    Thank you Josh. Your videos help me surviving thru my uni in the time of covid19

    • @statquest
      @statquest  4 ปีที่แล้ว +26

      Awesome!!!! I'm so glad to hear my videos are helpful and good luck with your courses.

  • @ap4558
    @ap4558 ปีที่แล้ว +40

    This is the most helpful video on PCA I have ever seen. I'm a neuro PhD student and I was struggling to understand this concept for a year. This video is a life saver!

  • @FranFerioli
    @FranFerioli 3 ปีที่แล้ว +56

    "Mathematicians call this recipe a linear combination". I would have called it a Gene tonic!

    • @statquest
      @statquest  3 ปีที่แล้ว +9

      This might be the best comment ever. BAM! :)

  • @manisharyal4239
    @manisharyal4239 5 ปีที่แล้ว +717

    This is honestly the best explanation on PCA. connects lot of loose strings of ideas. thanks !!

    • @statquest
      @statquest  5 ปีที่แล้ว +25

      I'm so glad to hear that you like this video! :)

    • @sahej97
      @sahej97 5 ปีที่แล้ว +3

      Then you haven't watched any other PCA videos

    • @DragonDaron
      @DragonDaron 4 ปีที่แล้ว

      I agree 👍

    • @AnanyaPandeyIndia
      @AnanyaPandeyIndia 3 ปีที่แล้ว +5

      @@sahej97 Not everyone is a born genius like you some others need detailed explanation. You know Albert Einstein said if you cannot explain to a 6 year old you have not understood it yourself.

    • @fisherh9111
      @fisherh9111 3 ปีที่แล้ว +1

      Josh is brilliant.

  • @edchavez9960
    @edchavez9960 4 ปีที่แล้ว +340

    I'm studying for a final and this is way better explained than the entire semester.

    • @statquest
      @statquest  4 ปีที่แล้ว +9

      Awesome! Good luck on your final. :)

    • @user-xn4yu5rn9q
      @user-xn4yu5rn9q 4 ปีที่แล้ว +1

      Hi, what class is this you are preparing? Just curious

    • @ireliatt2190
      @ireliatt2190 4 ปีที่แล้ว +4

      @@user-xn4yu5rn9qFor me it's Multivariate Data Analysis. Honestly, I got totally lost when just reading the lecture notes.

    • @edchavez9960
      @edchavez9960 3 ปีที่แล้ว +1

      @@user-xn4yu5rn9q Exploratory Data Analysis quite similar to @irelia tt

    • @edchavez9960
      @edchavez9960 3 ปีที่แล้ว +1

      @@ireliatt2190 ha! mine was Exploratory Data Analysis, which included Supervised/Unsupervised learning and multivariate data analysis

  • @endouyuu269
    @endouyuu269 3 ปีที่แล้ว +166

    I lost it at "Little BAM!!!"

    • @statquest
      @statquest  3 ปีที่แล้ว +11

      :)

    • @cate9541
      @cate9541 หลายเดือนก่อน

      Same😂

  • @kidkaitou1412
    @kidkaitou1412 9 หลายเดือนก่อน +6

    I have forgotten how much I love maths. You are such a good teacher.❤❤. Instead of wasting time on shorts or tiktok, I am gonna watch this, learn something and improve my life instead. Thanks.

    • @statquest
      @statquest  9 หลายเดือนก่อน

      bam!

  • @bechumathew8819
    @bechumathew8819 5 ปีที่แล้ว +157

    All i can say after watching the video is "Double BAM"😂

  • @ajinkyaghadge3106
    @ajinkyaghadge3106 4 ปีที่แล้ว +72

    Your work, with 3Blue1Brown, and other online material like Dr.Gilbert Strang, has given me a whole new perspective about Maths, learning and machine learning.

    • @statquest
      @statquest  4 ปีที่แล้ว +17

      Awesome! Those guys are my heros!

  • @josiahnielsen9972
    @josiahnielsen9972 3 ปีที่แล้ว +47

    I'm in my first semester of grad school for stats.. and you are single-handedly going to save me! I already knew of all of the concepts of eigenvalues/eigenvectors, loadings, etc. but you summarized the 60 pages of theorems/proofs my prof had us read, and helped my intuition immensely. Please never stop making videos!

    • @statquest
      @statquest  3 ปีที่แล้ว +3

      Thank you very much and good luck with graduate school. :)

  • @rebecagarcia1071
    @rebecagarcia1071 7 หลายเดือนก่อน +8

    I had to pause and let you know, that this is gold! The way you simply describe terrifying names, it just makes it look so easy. Thank you so much

    • @statquest
      @statquest  7 หลายเดือนก่อน +2

      Glad you liked it!

  • @kyoosikkim749
    @kyoosikkim749 5 ปีที่แล้ว +63

    I just took some other online course for hours only to struggle... this video helped me understand the concept, which that course couldn't! Even in way shorter time! And even with the minimum animation! Always grateful

    • @statquest
      @statquest  5 ปีที่แล้ว +11

      Thank you very much!!! I'm glad to hear that the video was so effective, even though it's not very fancy. :)

  • @dummmkopfff
    @dummmkopfff 4 ปีที่แล้ว +7

    I've been watching quite a lot of your videos for the past few days to study for my finals and I'm so glad your videos exist! I'd be very desperate without them. Thank you so much for the amazing work! You have a natural talent of expressing complicated ideas so simply!

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Good luck with your finals and let me know how they go. :)

  • @arianetalosig575
    @arianetalosig575 3 ปีที่แล้ว +11

    I love how you explained "linear combination is just basically this... no big deal" when my lecturer makes it such a BIG DEAL! Thank you!!!

    • @statquest
      @statquest  3 ปีที่แล้ว +4

      Hooray! I'm glad the video was helpful. :)

  • @FabianoRodriguesPereira-je8su
    @FabianoRodriguesPereira-je8su หลายเดือนก่อน +1

    It is unbelievable how Dr. Starmer makes such complex concepts so easily understandable!!! Thanks a lot!

    • @statquest
      @statquest  หลายเดือนก่อน

      Glad it was helpful!

  • @takethegaussian7548
    @takethegaussian7548 3 ปีที่แล้ว +13

    I have seen no book explaining this topic better than you. Your skills and efforts are invaluable!

    • @statquest
      @statquest  3 ปีที่แล้ว

      Wow, thank you!

  • @noli-timere-crede-tantum
    @noli-timere-crede-tantum 6 ปีที่แล้ว +135

    *with sad voice* "Little bam..."
    Awesome video. Thanks!

    • @cyclone975
      @cyclone975 4 ปีที่แล้ว

      Little bam got me too 🤣

  • @kushagrachaturvedy2821
    @kushagrachaturvedy2821 3 ปีที่แล้ว +6

    You are a real godsend. Teaching such advanced concepts in such a simple manner and that too in just 20 mins is exceptional

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you very much! :)

  • @AC-wk6hh
    @AC-wk6hh ปีที่แล้ว +2

    Please never stop making videos. This is the only explanation of PCA I've seen that makes intuitive sense.

  • @princeebenezeradjei3008
    @princeebenezeradjei3008 4 ปีที่แล้ว +32

    I honestly think you deserve a noble prize or something. You're amazing. Like, just amazing!

    • @statquest
      @statquest  4 ปีที่แล้ว +3

      Thank you! :)

  • @ArcenisRojas
    @ArcenisRojas 4 ปีที่แล้ว +35

    This is simply amazing! Josh, you communicated this idea so incredibly clearly and simply. As a practitioner in the stats/data science world I'm so impressed by how you were able to describe PCA so intuitively and without using the word "orthogonal." I've done the math behind PCA and I actually feel like I have a better understanding of it by watching your video. Thanks for demystifying stats for us all.

    • @statquest
      @statquest  4 ปีที่แล้ว +4

      Thank you so much! I'm glad you picked up on my omission of the word "orthogonal". :)

  • @Oliver-2103
    @Oliver-2103 ปีที่แล้ว +6

    Buddy you are an awesome guy. I wish one day I could give you a big hug of appreciation, but my honest thank you much has to be sufficient. I'd bet that there are people out there that would not be alive today without you. With your amount of views, there is probably at least one person who succeeded an important test that he would not have without you which may ended in a bad life. You're doing pure good with those videos.

    • @statquest
      @statquest  ปีที่แล้ว +2

      Thank you very much! :)

  • @himanshu8006
    @himanshu8006 ปีที่แล้ว +14

    This is such a complex topic and with the visualization you made it so simple, you really are magical in explaining the concepts, a million thanks for this Josh

  • @BBBBBBAAAl
    @BBBBBBAAAl 2 ปีที่แล้ว +7

    simply amazing. I just hope u never stop teaching us those 'complex' topics in such friendly and clear way.

    • @statquest
      @statquest  2 ปีที่แล้ว +2

      That's the plan!

  • @subbuktek
    @subbuktek 6 ปีที่แล้ว +479

    Thanks dude. You are a godsend

  • @user-zg9qx6yz4s
    @user-zg9qx6yz4s 2 ปีที่แล้ว +2

    Very impressive! I searched a lot of websites and you are the only one that make the conceptions clear. Your graphs and explanations are vivid and easy to understand.

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thank you very much! :)

  • @buihung3704
    @buihung3704 6 หลายเดือนก่อน +2

    The true definition of genius: teach other a very complex concept in a very simple way.

    • @statquest
      @statquest  6 หลายเดือนก่อน

      Thanks!

  • @maximmazurov1102
    @maximmazurov1102 4 ปีที่แล้ว +15

    As a current high-ranked uni student may say this channel is a lifesaver for people who cannot understand something without guided decomposition of relatively more complex algorithm than OLS. Thank you Josh.

  • @emmanuel3929
    @emmanuel3929 10 หลายเดือนก่อน +2

    Explained it so much better than a 2 hour lecture. The concept makes more sense now.

    • @statquest
      @statquest  10 หลายเดือนก่อน

      Thanks!

  • @longnguyenhoang764
    @longnguyenhoang764 2 ปีที่แล้ว +2

    As a non-English speaker, I just like, I have no words, I don't no how to tell you how much I appreciate the way you put almost your "lyrics" or whatever you said on the videos that help me a lot. Many thanks to you, Josh!

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thank you! :)

  • @lucasparisi7394
    @lucasparisi7394 5 ปีที่แล้ว +12

    you took 10 minutes to blow my mind with your amazing explanation. Thanks!

  • @abhijithmnair
    @abhijithmnair 3 ปีที่แล้ว +4

    Hi Josh , I should say this that you make even the more complicated logic so simple for us to understand . For people like us who are in learning phase , that means a lot . Thank you very much .

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      Thank you! :)

  • @Marcos61783
    @Marcos61783 2 ปีที่แล้ว +5

    Congratulations! This is the best explanation of PCA without overcomplicating things with matrixes. In my opinion, everyone who explain PCA should start from an explanation like this... Thank you for the amazing video!

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Wow, thanks!

  • @beshr1993
    @beshr1993 ปีที่แล้ว +4

    I took a whole seminar on this thing complete with a mini project and I didn't understand a single thing. Then comes along this little video and makes it all crystal clear in just 20 min! Hats off to you sir.

  • @raisaoliveira7
    @raisaoliveira7 3 ปีที่แล้ว +4

    No words to tell how this video helped me! Thanks a lot, Josh! Your way to explain is extremely simple and makes anything easy for us.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you very much! :)

  • @LaylaMiki
    @LaylaMiki 5 ปีที่แล้ว +5

    This video is really awesome !!!
    I wish I have a teacher like you ! Yours explanations are so clear !
    Thank you very much for sharing your knowledge !!!

  • @daily-news-update-with-john
    @daily-news-update-with-john 6 หลายเดือนก่อน +1

    You boil all of this down into very understandable bite-sized steps. Amazing job! thanks for your work in explaining this.

    • @statquest
      @statquest  6 หลายเดือนก่อน

      Thank you!

  • @vivekcraman5489
    @vivekcraman5489 2 ปีที่แล้ว +6

    The quality of the content you provide is top-notch and is incomparable with some of the paid courses I've taken before. Thanks a lot for the effort you put into making these amazing videos. :)

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Much appreciated!

  • @sheanaynay8
    @sheanaynay8 4 ปีที่แล้ว +10

    Wow man thank you! Just had a moment of clarity, teachers like you are rare!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Hooray!!! I'm glad the video was helpful. :)

  • @Ga18bo03
    @Ga18bo03 5 ปีที่แล้ว +3

    I love the exitement of the "BAM!" moments, thanks really helpful

  • @jonathandunscombe6951
    @jonathandunscombe6951 2 ปีที่แล้ว +1

    the best PCA explanation that exists. very clearly eplained and without the technical jargon that over complicates supposedly uncomplicated explanations! thanks so much!!!

    • @statquest
      @statquest  2 ปีที่แล้ว

      Wow, thanks!

  • @pouetpouet704
    @pouetpouet704 3 หลายเดือนก่อน +1

    Great job. I've rewatched this countless times today until it became as easy to explain to others as it was to understand ! You're truly a gifted teacher ! Keep up the great work !
    Cheers from France !

    • @statquest
      @statquest  3 หลายเดือนก่อน +1

      Merci!

  • @srishtis6896
    @srishtis6896 4 ปีที่แล้ว +3

    This man is helping me get through my diploma in Business Analytics. I have no background of stats or programming whatsoever. Could you imagine how intimidating the situation is for me. man thank you!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Hooray! Good luck with your degree. :)

  • @fade-touched
    @fade-touched 6 ปีที่แล้ว +3

    You have no idea how grateful I am!!! Your channel is the best!

    • @statquest
      @statquest  6 ปีที่แล้ว

      Thank you so much!!! I'm glad you like the channel. :)

  • @shanthinagasubramanian2866
    @shanthinagasubramanian2866 2 ปีที่แล้ว +1

    This youtube channel has created a lot of interest in me for Machine learning concepts. I totally appreciate the efforts by Josh Starmer. Thanks Josh for the excellent explanations. By the far, the best tutorial videos on data science in the internet.. Free of cost !!!

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thank you very much!!! :)

  • @nikhilgoparapu1001
    @nikhilgoparapu1001 3 ปีที่แล้ว +2

    Hello Josh,
    I wanted to thank you. You are one of those great teachers who makes learning fun and easy. I’d prefer watching your videos again over a good movie.
    Thank you so much for all of your videos.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Wow! Thank you! :)

  • @BoZhaoengineering
    @BoZhaoengineering 4 ปีที่แล้ว +5

    one of best interpretation of PCA. It is like turning several math techniques into one idea.

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! :)

  • @kachappillyjean
    @kachappillyjean 4 ปีที่แล้ว +3

    This is what a good teacher can do to you ! Now I can explain PCA even when I am woken up from sleep ! Thank you Josh ! You have amazing talent at teaching !

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you very much! :)

  • @ahmedboughammoura5990
    @ahmedboughammoura5990 3 ปีที่แล้ว +1

    The ability to just explain complexe idea is just amazing! Thank you !

  • @user-vb1no5lq1e
    @user-vb1no5lq1e 3 หลายเดือนก่อน +1

    I am a cloud architect taking an MIT ADSP course. If I see things are overwhelming there, I come and watch Statquest. What I like the best about Statquest is how you explain terminology alerts in simple layman's terms. Your channel is something I am more than happy to support. Indeed this is a great service.

    • @statquest
      @statquest  3 หลายเดือนก่อน

      Thank you very much!

  • @franciszhang1809
    @franciszhang1809 4 ปีที่แล้ว +6

    This is the best PCA video ever, finally understand how PCs come out, Josh u r genius

    • @statquest
      @statquest  4 ปีที่แล้ว

      Wow, thanks!

  • @JohnEusebioToronto
    @JohnEusebioToronto 4 ปีที่แล้ว +3

    This is without question the best explanation for PCA I have ever seen. Much clearer than my PhD multivariate statistics course. Thanks so much!

  • @blueicer101
    @blueicer101 หลายเดือนก่อน +1

    Wow, my lecturer just dropped eigenvectors in as an abstract matrix equivalent. Without these graphs and explanations I don't think I'd understand that an eigenvector is a ratio vector that enables you to reduce two correlating values into 1 set of a values and a vector, ultimately losing some information but only losing the most effective variables to lose. Thanks statquest.

    • @statquest
      @statquest  หลายเดือนก่อน

      bam!

  • @laurafigueiredo1098
    @laurafigueiredo1098 3 ปีที่แล้ว +2

    I've been trying to understand PCA for a while and this explanation made it look so simple, thank you!

    • @statquest
      @statquest  3 ปีที่แล้ว

      Glad it helped!

  • @alecvan7143
    @alecvan7143 4 ปีที่แล้ว +15

    Thank you very much! Opening my textbook, I was frightened by the Zs, phi, and "principal component directions" everywhere but as always your videos enable me to see the logic and fearlessly read the jargon :P

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Awesome! :)

  • @wilsonlwtan3975
    @wilsonlwtan3975 3 ปีที่แล้ว +3

    Clearest explanation of PCA to date! better than all university lecturers who usually just regurgitate jargons that students dont appreciate!

  • @mohitdeshpande6210
    @mohitdeshpande6210 9 หลายเดือนก่อน +3

    JUST WOW!! Never I had thought that Stats could be this efficiently & easily understandable!! I feel immensely lucky that the content of this quality is freely available on the internet!! Thanx a lotttt for this magnificent effort from the whole team of StatQuest😇

    • @statquest
      @statquest  9 หลายเดือนก่อน +1

      Glad it helped!

    • @silentassassin4929
      @silentassassin4929 6 หลายเดือนก่อน

      How ur calculating the parts that u said like 4 parts of gene 1 and 1 part of gene 2 please respond cannot understand

  • @ilyabykov2437
    @ilyabykov2437 ปีที่แล้ว

    this is the most mind-bending thing I've ever attempted to learn so far.

    • @statquest
      @statquest  ปีที่แล้ว +1

      I hope the video was helpful! :)

  • @charlespendragon1742
    @charlespendragon1742 4 ปีที่แล้ว +5

    You saved my future!!! Oh my god, this is amazing! You are a talent who can transfer complex to simple.

  • @jaredgoodman6617
    @jaredgoodman6617 3 ปีที่แล้ว +20

    Josh saying "BAM" is one of my favorite things in life

  • @debasisdas2076
    @debasisdas2076 2 ปีที่แล้ว +1

    Hi Josh, You are the gold standard that all teachers from all spheres should aspire to be.

  • @kiaruna
    @kiaruna 3 ปีที่แล้ว +3

    I have a cognitive science exam in one hour, your explanation saved me lots of time, so I wanted to thank you so very much before going.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thanks and good luck with your exam! Let me know how it goes. :)

  • @leandrovegadure9930
    @leandrovegadure9930 4 ปีที่แล้ว +5

    Man, this work of yours is pure gold. can't thank you enough

  • @gunjeet40
    @gunjeet40 4 ปีที่แล้ว +7

    just amazing, how you clearly put across so complex concepts with ease..!

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Thanks! :)

  • @AnkitYadav-sc2sm
    @AnkitYadav-sc2sm 2 ปีที่แล้ว +6

    You really made me feel the mathematics in PCA....... earlier I can solve the math in PCA but now I know what's the purpose of each step in finding PCA components.
    I'm a B.tech student of final year.
    Thank you ❤️

  • @billb3324
    @billb3324 2 ปีที่แล้ว +1

    I think that this is by far the best explanation of a sophisticated statistical concept that I have every seen, bravo!

  • @ZLK2000
    @ZLK2000 4 ปีที่แล้ว +3

    One of the best explanations I’ve seen hands down. Thank you

  • @MauricioPosser
    @MauricioPosser 4 ปีที่แล้ว +6

    The best PCA explanation ever! Plus a linear algebra bonus!!! Thanks a lot!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Thanks! :)

  • @jsb3605
    @jsb3605 ปีที่แล้ว +1

    This is the best explanation out there. Now I understand how the images/audio are compressed with very little loss. Thank you

  • @response2u
    @response2u 2 ปีที่แล้ว +1

    The quality of the teaching material is superb! Thank you, sir!

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Glad you think so!

  • @Ananda110201
    @Ananda110201 4 ปีที่แล้ว +4

    This is the easiest way I understand PCA. I've been working with PCA algorithms for 2 years and two of my university professors provide lesson on PCA but couldn't make it clear. But, watching this 20 minutes video I understand in depth. Such a good lesson. Thank you so much!! ☺️ 😊

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Awesome!!! I'm glad the video was helpful. :)

  • @gesuchter
    @gesuchter 3 ปีที่แล้ว +6

    Glad I found your channel this month! Looking forward in inhaling all of your content :D It's a very great addition to the very emotionless lectures of my prof..

    • @statquest
      @statquest  3 ปีที่แล้ว

      Awesome, thank you! And thank you for your support!!!

  • @DeVirMagician
    @DeVirMagician 2 ปีที่แล้ว +1

    You are probably the best teacher of maths in the world. I salute you.

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thank you very much! :)

  • @bec_Divyansh
    @bec_Divyansh 3 หลายเดือนก่อน +2

    The way you explain these supposed complex topics with ease and in a very interactive way is just out of the world! Best content out there ❤❤

    • @statquest
      @statquest  3 หลายเดือนก่อน

      Thank you very much!

  • @evebogomil2777
    @evebogomil2777 3 ปีที่แล้ว +18

    Have a test on my Data Science course tomorrow, I was so lost with how to visualise what we are doing in every step and this video helped me so much!

    • @statquest
      @statquest  3 ปีที่แล้ว +3

      Best of luck on the exam. Let me know how it goes. :)

  • @toploz_jr5597
    @toploz_jr5597 4 ปีที่แล้ว +3

    i have for the first time in my life visualized eigenvalues and eigenvectors. THANKS MY SAVIOR

  • @JibHyourinmaru
    @JibHyourinmaru 2 ปีที่แล้ว +1

    I like your simple slide with big text and visualisation. Added with your clear, slowly, emphasis the term voice. Perfect!

    • @statquest
      @statquest  2 ปีที่แล้ว

      Awesome, thank you!

  • @onbeatz90
    @onbeatz90 หลายเดือนก่อน +1

    you are straight up saving my phd thesis proposal, I wrote I'm gonna be using PCA but didn't understood it properly until now
    thank you

    • @statquest
      @statquest  หลายเดือนก่อน +1

      Good luck!

  • @royalpkr1390
    @royalpkr1390 4 ปีที่แล้ว +3

    Just incredible!! The best explanation of PCA ever!!! And I'm not even a native speaker of English while I can still understand you better than all the other PCA material written in my mother tongue!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Awesome!!! Thank you very much. :)

  • @bilourkhan3345
    @bilourkhan3345 5 ปีที่แล้ว +21

    genius you are in the presentation of your knowledge...

    • @statquest
      @statquest  5 ปีที่แล้ว +1

      Thank you!

  • @veraz4901
    @veraz4901 2 ปีที่แล้ว +1

    It is very hard for me to understand the content in classes, but it is much easier to understand what you taught. You are a lifesaver!

  • @dannggg
    @dannggg 12 วันที่ผ่านมา +1

    by far the best learning video ever

    • @statquest
      @statquest  12 วันที่ผ่านมา +1

      Thanks!

  • @Pmarmagne
    @Pmarmagne 3 ปีที่แล้ว +3

    I'm probably going to have to watch this video a couple more times to fully understand everything but this is really cool and very digestible.
    I was still able to understand the main concept from the first watch.
    Thank you Josh!

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      Awesome, thank you!

  • @llDietryingll
    @llDietryingll 3 ปีที่แล้ว +3

    You're literally teaching ML better than uni, cheers mate

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you! :)

  • @isaacpope4323
    @isaacpope4323 10 หลายเดือนก่อน +2

    I've always been a bit scared of statistics, but you always make these concepts much easier to understand. Thanks!

    • @statquest
      @statquest  10 หลายเดือนก่อน

      Happy to help!

  • @tranminhhieu9492
    @tranminhhieu9492 3 ปีที่แล้ว +2

    I've been looking for a clear explaination for eigenvector when i accidentally found it in a PCA video by StatQuest.
    You sir is a savior.

  • @kittikajorns1811
    @kittikajorns1811 4 ปีที่แล้ว +3

    Tear really flows from my eyes after I watched this video. I learned several hours from my professor but almost did not understand. But you could teach me in under 30 minutes.

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Wow! Thank you! :)

  • @mamado226
    @mamado226 4 ปีที่แล้ว +3

    This video can not be recommended enough! BAM!! the best PCA explanation in youtube BAM!!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! :)

  • @minweideng4595
    @minweideng4595 2 ปีที่แล้ว +1

    Learning PCA was so daunting before watching this video. I have come back re-watching couple of times when every time I got myself stuck in reading other text books. The really amazing thing for me from your work is the development of intuitions on rather abstract concepts. I don't know about others but my limited brain just can not cope with things that are too abstract and lack of visual cues.... Thank you Mr. Starmer.

    • @statquest
      @statquest  2 ปีที่แล้ว

      I'm glad the video is helpful!

    • @minweideng4595
      @minweideng4595 2 ปีที่แล้ว

      @@statquest I'm also following your recommendation, reading An Introduction to Statistical Learning, which as you said is a great book but not the easiest to read. Your videos help in great deal. Appreciate your knowledge sharing.

    • @statquest
      @statquest  2 ปีที่แล้ว

      @@minweideng4595 BAM!!!

  • @29starfire
    @29starfire ปีที่แล้ว +1

    This was my first every statquest video and I immediately subscribed. Thank you for explaining a knotty concept in such an easy to follow manner, Can't wait to binge your content. You are an excellent teacher.

    • @statquest
      @statquest  ปีที่แล้ว

      Thank you very much! :)

  • @muhammadzulfikararief5966
    @muhammadzulfikararief5966 3 ปีที่แล้ว +4

    This hidden gem channel is so great, yet I found it 1 year after my graduation :/

    • @statquest
      @statquest  3 ปีที่แล้ว

      better late than never? :)

    • @muhammadzulfikararief5966
      @muhammadzulfikararief5966 3 ปีที่แล้ว +1

      @@statquest true, thank you for sharing your knowledge! :D

  • @juansb1509
    @juansb1509 6 ปีที่แล้ว +9

    Awesome videos! Are you planning to make one of Gradient Boosting? It is the worst explained technique for some reason. It would be great to see a StatQuest video explaining it using a simple example; but in detail of course! : )

  • @leventcangultekin3006
    @leventcangultekin3006 3 ปีที่แล้ว +1

    This video is by far the best explanation of PCA

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you! :)

  • @amywilderson85
    @amywilderson85 3 ปีที่แล้ว +1

    When I search for PCA on youtube and I saw that Statquest has a video for it, I was sure that I will learn PCA without any pain. Thank you!!