Principal Component Analysis (PCA)

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • Announcement: New Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML
    40% discount code: serranoyt
    A conceptual description of principal component analysis, including:
    - variance and covariance
    - eigenvectors and eigenvalues
    - applications
    As usual, very little formulas, lots and lots of pictures!
    0:00 Introduction
    0:46 Taking a picture
    1:13 Dimensionality Reduction
    2:02 Housing Data
    5:09 Mean
    7:46 Variance?
    12:47 Covariance matrix
    13:58 Linear Transformations
    18:12 Eigenstuff
    19:16 Eigenvalues
    19:53 Eigenvectors
    20:51 Principal Component Analysis (PCA)
    26:05 Thank you!
  • Věda a technologie

Komentáře • 943

  • @rutger5983
    @rutger5983 Před 5 lety +279

    I haven't seen any clearer explanation of PCA on the internet than this one. Many thanks!

  • @AdamTibi
    @AdamTibi Před 3 lety +129

    Judging by how much you simplified the lesson without sacrificing the actual concept, I trust you have spent good time preparing for your lesson and animation. Thank you very much

  • @varsharathnam9844
    @varsharathnam9844 Před 5 lety +293

    I haven't seen a better explanation for PCA. Love it! And I always had trouble to conceptually understand covariance. I knew it was related to direction but always found it difficult to conceptualize. Thank you for your explanation.

    • @zilezile4942
      @zilezile4942 Před 4 lety

      @@rishabhkapoor3338 www.amazon.com/Data-Analysis-functional-principal-regression/dp/B088BM4FCB/ref=sr_1_6?dchild=1&keywords=nizar+soilihi&qid=1589823715&sr=8-6

    • @1amitnagar
      @1amitnagar Před 3 lety

      Excellent video. Very intuitive. Thanks

    • @satyamsubhash4569
      @satyamsubhash4569 Před 3 lety

      hi

  • @ArvindDevaraj1
    @ArvindDevaraj1 Před 4 lety +134

    we may be aware of terms like mean, variance, covariance, linear-transforms, eigenvectors and eigenvalues, PCA. This video puts together all the relationships in an amazing way

  • @manan4436
    @manan4436 Před 5 lety +120

    I have confusion even after watching videos of 2+ hours...
    26 minutes solved all doubts.
    I like the way how you put all the concepts together.
    Thanks.

  • @scikick
    @scikick Před 5 lety +16

    You are the tutor we all need but don't deserve.

  • @akankshamaurya8419
    @akankshamaurya8419 Před 2 měsíci

    Quite literally the best video on PCA. You explained everything without skipping the math and the basics, amazing!

  • @omkarghadge8432
    @omkarghadge8432 Před 3 lety +1

    This is without a doubt the best explanation on youtube.

  • @alekseihaidukevich3697
    @alekseihaidukevich3697 Před 5 lety +4

    That arguably might be the best tutorial I've ever watched on CZcams. Thanks.

  • @srishtikumar5544
    @srishtikumar5544 Před 4 lety +4

    This was AMAZING!!! You reconciled so many disparate concepts I had learned in college...I understand how it fits together now. Very down-to-earth explanation, and amazing animations!

  • @sidneyaburi
    @sidneyaburi Před 16 dny

    I am yet to see a clearer explanation of PCA in my life! Thank you so much!

  • @_erika.be.bee_
    @_erika.be.bee_ Před 9 dny

    I've watched so many videos, read through so many websites, and asked so many questions to chatgpt about pca. I have to learn it as quick as possible for a research program. This is by far the best explanation I've seen!!

  • @AndresGonzalez-hn6mz
    @AndresGonzalez-hn6mz Před 5 lety +15

    Great explanation Luis! It took me a whole class and a conversation after with an instructor to get PCA, and still your video cleared up so much uncertainty/misconceptions I had on the subject.

  • @haoyiwang6869
    @haoyiwang6869 Před 5 lety +4

    This is the best PCA video ever seen, it's quite easy to follow and understand deeply.Thanks!

  • @Justjemming
    @Justjemming Před 9 měsíci +2

    I would literally clap for you if you gave this lecture in person. Thanks for this man. Keep doing what u do

  • @rVnikov
    @rVnikov Před 5 lety +2

    Well Luis, that's the best and most intuitive PCA tutorial I've seen so far.
    Bravo!

  • @Pidgey95
    @Pidgey95 Před 5 lety +4

    This is the clearest explanation of PCA I've ever seen. As a wannabe analytical chemist, this is pure gold because it gives you hints about the true meaning of PCA without excessively digging into statistics and pure mathematics which just blows your mind.
    Congrats for the amazing explanation and the effort to make this video!

  • @davibelo
    @davibelo Před 4 lety +4

    far better PCA explanation on youtube, I saw a lot of videos, but only learned with this one.

  • @manojpaul4377
    @manojpaul4377 Před 6 měsíci +1

    have never seen a better explanation of pca than this

  • @skoppisetti
    @skoppisetti Před 5 lety +1

    I watched many videos on PCA over the last year and by far this is the best. Thank you.

  • @caronkanareck6250
    @caronkanareck6250 Před 5 lety +4

    wow! this was VERY worthwhile. thank you! so many lights switched on

  • @SantosEnoque
    @SantosEnoque Před rokem +9

    I am impresed with the level of information you were able to put together in a 20 minutes video. I mean you summarized a whole semester in such a way that a beginner could follow. Thats amazing

  • @pramitthapa283
    @pramitthapa283 Před 8 měsíci +1

    PCA, that I couldn’t really understand in five years (although I have been using in analysis without being clear), I am now crystal clear. There are so many articles and videos. Those are like a parroting. This lesson is the best.

  • @chyldstudios
    @chyldstudios Před 5 lety +2

    One of the most lucid presentations on PCA I've ever seen. Nice work!

  • @patrikhora
    @patrikhora Před 4 lety +7

    well thats the best explanation i have ever seen, great job sir, thank you so much !

  • @anudeepk7390
    @anudeepk7390 Před 4 lety +2

    Thank you for taking time to explain small detail

  • @carlavirhuez4785
    @carlavirhuez4785 Před 4 lety +1

    Dear Sir, you are the best at explaining PCA!. I thank you very much.

  • @batuhanbaykara2003
    @batuhanbaykara2003 Před 5 lety +1

    By far the best conceptual and visual explanation online. Great work. Thanks!

  • @vivek2319
    @vivek2319 Před 5 lety +4

    Most comprehensive explanation, thank you so much. Tomorrow, I have interview for big tech company and now after watching whole video, I feel confident to answer questions on PCA. \m/

  • @yashu25shetty
    @yashu25shetty Před 5 lety +39

    Awesome explanation for PCA beats any in youtube tilll date

  • @HitAndMissLab
    @HitAndMissLab Před 10 dny

    Just discovered it. Phenomenally perfect balance between intuition and quantitative explanation.

  • @mosunchao
    @mosunchao Před 7 měsíci +1

    This is the best PCA explanation. If only I had this explanation 11 years ago...

  • @clementchidozie4009
    @clementchidozie4009 Před 4 lety +7

    HIT THE LIKE BUTTON IF YOU LOVE THIS VIDEO!!!
    You did it! You nailed it!! You killed it!!!
    Just when I was about to give up on this topic after watching a series on PCA, I ran into yours and BOOM!!! IT WAS THE BEST THING I DID!!!!
    I am going to watch it again because you gave me an ideal explanation of the topic.
    You started off with related background knowledge necessary for perfect understanding.
    THANKS A LOT!

  • @andresrojas8486
    @andresrojas8486 Před 5 lety +3

    This excellent, Luis. My only thought to improve the video would be to pull the thread through using your original example of housing data. Good job, and thank you!

  • @sandhyaranidash2429
    @sandhyaranidash2429 Před rokem

    This is the best explanation of PCA, individual components broken down, emphasis on visualization instead of just the method and then all the components put together for the big picture. I cant thank you enough for the fantastic teaching style that clicks with me.

  • @meghakalal4264
    @meghakalal4264 Před 5 lety +1

    Best ever explanation on PCA. You put so much effort into this. Thanks!!

  • @footfalcon
    @footfalcon Před 5 lety +12

    Recognizing your name from your Udacity lectures, I was thrilled to have stumbled upon your youtube channel today - really gentle, concise, intuitive explanation of a complex topic. Nice shout out to 3blue1brown - watching this reminded me of his videos and style (though his visualizations are insane :] ). One question: from the end of your video, it seems to me that eigenvalues can be thought of as measures of feature importance, but in your housing example, multiple similar features (size, #rooms, etc) become a new single representative feature. How do we know what the features are that we are left with after PCA in much higher dimensional examples? Say we reduce a 100 dimensional data set to 10 dimensions, how do we know what those 10 dimensions represent? Thanks again - looking forward to diving into your channel.

    • @SerranoAcademy
      @SerranoAcademy  Před 5 lety +5

      footfalcon thank you for the kind message! (And sorry for the late reply). The new features are combinations of previous ones, but in general they may not mean much. However, since you know what combinations they are, you can look for example at the biggest coefficients in the linear combination, and see if you find trends. For example, if the top feature has big coefficients for several features that are size related (in a house) and small coefficients for other features that are not related to size, you can associate that feature with size in general. But it’s more of an observation than a mathematical way to do it.

  • @RANJEETTHAKUR1983
    @RANJEETTHAKUR1983 Před 5 lety +24

    This is great tutorial.
    Can you make a similar video about - Markov Chain Monte Carlo, since its too complicated to understand why are we doing what we do?

  • @suryag7408
    @suryag7408 Před 4 lety

    Only explanation which has core PCA explained in a very simple yet effective and useful manner.
    His teaching skills are exemplary.

  • @yalslaus
    @yalslaus Před 2 lety +1

    You have a very intuitive way of teaching things that's hard to infer when reading or watching lectures from other teachers.

  • @andyn6053
    @andyn6053 Před 9 měsíci +1

    Thanks! Very good explanation of how projections, eigenvectors and eigenvalues all come together in PCA analysis!

  • @rajivpanda4189
    @rajivpanda4189 Před 5 lety +2

    One of best explanation after going through lot of PCA videos. Now it will make sense to drill down further.
    Thanks!

  • @anilboppuri2067
    @anilboppuri2067 Před 5 lety +4

    Awesome Luis! very informative graphics to understand the complex concepts. Great Job :)

  • @j9779398758
    @j9779398758 Před 3 lety +2

    Thank you for making this video!! PCA and linear algebra have never been so easy and understandable to beginners, but you’ve made things clear and logical!

  • @chyldstudios
    @chyldstudios Před 4 lety +1

    One of the best descriptions of PCA I've seen. Bravo!

  • @neelanjanmanna6292
    @neelanjanmanna6292 Před 3 lety

    Never have I understood PCA in such a simplified and intuitive way. You're a magician! ❤️

  • @soffipiven8757
    @soffipiven8757 Před 4 lety

    The most informative but graspable explanation of PCA I have encountered online ever. Thanks so much!

  • @giuliomattolin517
    @giuliomattolin517 Před 4 lety +1

    Thank you! This is the most comprehensible and complete video about PCA I've found!

  • @qingdai40
    @qingdai40 Před 5 lety

    Best PCA explanation I have ever seen. Thank you so much Luis.

  • @vatsal_gamit
    @vatsal_gamit Před 3 lety +1

    Best explanation available on CZcams for PCA!! Amazing work Luis :)

  • @pauldmanuel
    @pauldmanuel Před 4 lety +2

    This is one of the best tutorials which I have ever seen. Being a teacher, I appreciate the way how difficult concepts are explained in a simple way. It is must-to-read video for all students who want to understand PCA.

  • @tomorrowcut
    @tomorrowcut Před 4 lety

    Probably the best explanation of PCA. Mean, variance, covariance, correlation such a smooth explanation, great.

  • @ramielkady938
    @ramielkady938 Před 6 měsíci +1

    I have spent 3 days chasing eigenvectors and eigenvalues, and then I found you video. It puts it all together very nice, and mentally delivers it with ease - like a boss. I was very close to spending two weeks on Khan academy to understand what you delivered in 26 minutes. Thank you so much.

  • @priyangijain1356
    @priyangijain1356 Před rokem +1

    Just amazing. I have an exam and I have gone through so much material already but nothing could have summed PCA better than you did. Thank you!

  • @ashrithchandramouli6735

    I spent so many hours looking at other videos and content online and could not make sense of it. This video really helped me a lot. Especially in understanding the role of eigenvectors and eigenvalues. Thank you so much!

  • @prahaladprabhakar6275
    @prahaladprabhakar6275 Před 3 lety

    This is by far the best PCA video i have come across. Thank You!!

  • @amrohassan5942
    @amrohassan5942 Před 2 lety

    One of the best explanation to PCA on youtube , amazing video

  • @anonymouse221
    @anonymouse221 Před rokem +1

    This is how you teach!! I wish my professors from university could do even 1% of this... I am paying thousands of dollars for something I get for free on youtube!! Very good job!!

  • @javiergonzalezarmas8250

    The best explanation of PCA on CZcams!! Thank you very much!

  • @ashokmahato6870
    @ashokmahato6870 Před 6 měsíci +1

    Best video i have even seen about PCA. Thank you so much sir.

  • @prajjwalsingh6490
    @prajjwalsingh6490 Před 5 lety +1

    You're a hero!
    Great explanation!
    Probably the best video kn PCA on CZcams.

  • @tanim980
    @tanim980 Před rokem

    This is the best explanation of PCA in the whole CZcams!Thanks so much!!

  • @li-pingho1441
    @li-pingho1441 Před 2 lety +1

    i search all the pca tutorial on youtube, and this is the best one.

  • @diddivamshikrishna4602
    @diddivamshikrishna4602 Před 3 lety +1

    This is my first comment ever in youtube ,I was searching for PCA videos and was unable to figure out how exactly PCA works,but this video gave me complete clarity on the topic....Thanks Luis Serrano!!!

  • @myweg7806
    @myweg7806 Před 2 lety

    Amazing. Perhaps the best PCA explanation video in the internet.

  • @stephenlashley6313
    @stephenlashley6313 Před měsícem

    All these CZcams videos are great. There is a 100% mapping between this and all the AI stuff with real brain observations and computational neuroscience. This author is brilliant!

  • @ayushimittal6496
    @ayushimittal6496 Před rokem +1

    Thank you so much for this amazing explanation Luis!! This is the best and most intuitive explanation of PCA I've found on the internet! I was literally struggling to understand this concept for weeks! :')

  • @petros-estin-petra-
    @petros-estin-petra- Před 5 lety

    By far the very best PCA explanation! Very clear and understandable for everyone!

  • @swetajoshi6557
    @swetajoshi6557 Před 3 lety

    Luis, I have seen so many videos for PCA but this one is the best that I came across. Really appreciate your work and thank you for making the video. It's really awesome.

  • @puiyincheung2476
    @puiyincheung2476 Před 3 lety +1

    This video is amazing! Many students in college are taught how to compute the eigenvector and eigenvalue but the college seldom explained its geometrical meaning, but you did this which helped me a lot! Thank you!

  • @ozielh
    @ozielh Před rokem

    The best PCA explanation in CZcams! felicidades Luis!

  • @kpmaynard
    @kpmaynard Před 3 lety

    You are a gifted lecturer. You know how to motivate the theory and provide that understanding of WHY we're taking all the computational steps. That is rare!

  • @nikhilraikar88
    @nikhilraikar88 Před 4 lety

    By far the best video on PCA. Explanation was top notch! Thank You!

  • @lonewolf2547
    @lonewolf2547 Před 4 lety

    This was by far the best explanation that I found on youtube. Keep up the good work man

  • @muskanvij4811
    @muskanvij4811 Před 3 lety

    This is the best video on PCA I have come across. Its so well explained

  • @LeastKnownFacts
    @LeastKnownFacts Před 4 lety +1

    One of the best explanation I have ever come across. Thank you very much

  • @lakshminarayan1155
    @lakshminarayan1155 Před rokem

    I went over at-least 30+ videos + materials , articles from 2 weeks , At last you made it so clear . You are wonderful teacher 🙏

  • @haoteli2122
    @haoteli2122 Před 4 lety

    There are so many videos on the internet but none explained to this detailed and fundamental level as you did! Thank you sir!

  • @anchitagarwal8080
    @anchitagarwal8080 Před 5 lety +1

    One of the best explanations ever, PCA or no PCA!

  • @dannymatsuo2531
    @dannymatsuo2531 Před 4 lety

    Thank you!! Out of all the videos I watched on CZcams this one helped me understand the most about what PCA is, how it works, and when to use it.

  • @taluunal745
    @taluunal745 Před 5 lety +1

    Great explanation, focussing only on the necessary things and giving hints to look further if necessary.
    Thank you for your efforts!

  • @shekhargarg6578
    @shekhargarg6578 Před 4 lety

    Simply awesome. PCA conceptually cannot be explained better than this.

  • @zafarnasim9267
    @zafarnasim9267 Před 2 lety

    Very comprehensively explained,cleared a lot of concepts.Bravo!

  • @malikadabare3719
    @malikadabare3719 Před 4 lety

    This is the best explanation for PCA. I have tried with so many videos, but this saves me. Thank you

  • @shawazeahmer8103
    @shawazeahmer8103 Před 2 lety

    This is one the simplest and most precise explanation of PCA. Thanks !!

  • @wahyuagungsugimartanto3340

    The covariance explanation just struck me unguarded, it blew my mind. Thank you

  • @steveholland7165
    @steveholland7165 Před 4 lety

    Well done, Luis. The recap at the end brought it all together. Thank you for posting.

  • @rohitnath5545
    @rohitnath5545 Před 2 lety

    the best PCA video on the internet. i always struggled with eigen value and eigen vectors thanks man

  • @NM-vw6xq
    @NM-vw6xq Před 2 lety

    By far the best basic explanation of PCA on the internet! Thank you so much, I did not think I could ever understand this without being an expert mathematician.

  • @likhithreddy1339
    @likhithreddy1339 Před 4 lety

    This is the best of all lectures about PCA! Thanks a lot.

  • @muhammadhamza4494
    @muhammadhamza4494 Před 10 měsíci +1

    You explain the concepts sooooo simply. Hats off! Funny how I saw this video and then took your course on Coursera and it led back to this video .

  • @pranapavan
    @pranapavan Před 4 lety

    The best PCA Explanation I've ever seen

  • @rice3855
    @rice3855 Před 5 lety +1

    Great explanation! It's always easy to find these things with complicated math but then you lose the idea, your video was easy to follow and I felt like I actually understood these concepts :D Thank you!

  • @NycToTx
    @NycToTx Před 5 lety +2

    This is an excellent explainer. Beautiful job. Thank you

  • @CrypticPulsar
    @CrypticPulsar Před rokem

    The best and neatest explanation of PCA.. bravo, and you’ve earned a lifelong fan and follower!!

  • @osamaakhtar6525
    @osamaakhtar6525 Před 3 lety

    I cannot state how intuitive this video is! Even a layman can now understand this! Loved it, subscribed and looking for more!!

  • @wandag3684
    @wandag3684 Před 3 lety

    Luis, thank you so much for sharing your knowledge. I've seen countless videos on data science and this PCA explanation is one of (if not the) best ones out there! This is the first of your videos that I've seen, but I'm excited to find others now. Again, thank you!

  • @PeymanSayyadi
    @PeymanSayyadi Před 3 lety

    The best PCA tutorial I have seen anywhere on youtube. Thanks.

  • @emrullahcelik7704
    @emrullahcelik7704 Před 2 lety +1

    This was fantastic. You made the concept so intuitive and easy to understand. Thank you.

  • @inbapandian8818
    @inbapandian8818 Před 3 lety

    Wow..One of the best explanation about PCA..The best part is that you explained clearly the purpose of PCA in simple way!!!Billion thanks.