Back to Mathematics for Machine Learning: PCA

stars

2,809 ratings

•

698 reviews

This intermediate-level course introduces the mathematical foundations to derive Principal Component Analysis (PCA), a fundamental dimensionality reduction technique. We'll cover some basic statistics of data sets, such as mean values and variances, we'll compute distances and angles between vectors using inner products and derive orthogonal projections of data onto lower-dimensional subspaces. Using all these tools, we'll then derive PCA as a method that minimizes the average squared reconstruction error between data points and their reconstruction.
At the end of this course, you'll be familiar with important mathematical concepts and you can implement PCA all by yourself. If you’re struggling, you'll find a set of jupyter notebooks that will allow you to explore properties of the techniques and walk you through what you need to do to get on track. If you are already an expert, this course may refresh some of your knowledge.
The lectures, examples and exercises require:
1. Some ability of abstract thinking
2. Good background in linear algebra (e.g., matrix and vector algebra, linear independence, basis)
3. Basic background in multivariate calculus (e.g., partial derivatives, basic optimization)
4. Basic knowledge in python programming and numpy
Disclaimer: This course is substantially more abstract and requires more programming than the other two courses of the specialization. However, this type of abstract thinking, algebraic manipulation and programming is necessary if you want to understand and develop machine learning algorithms....

WS

Jul 6, 2021

Now i feel confident about pursuing machine learning courses in the future as I have learned most of the mathematics which will be helpful in building the base for machine learning, data science.

JS

Jul 16, 2018

This is one hell of an inspiring course that demystified the difficult concepts and math behind PCA. Excellent instructors in imparting the these knowledge with easy-to-understand illustrations.

Filter by:

By Aniket D B

•Oct 2, 2020

Do not take this course. This course is just a waste of time, money, and effort. The instructions in this course are vague and useless. You have to learn everything from the internet in order to answer the quiz. The programming assignments are so poorly designed that there is no difference between a blank notebook and programming assignments in this course. The grader will grade everything wrong even when your code is correct. You have to do extra maneuvers in order to get your assignment graded correctly. IF I HAD AN OPTION OF GIVING A NEGATIVE RATING I WOULD HAVE GIVEN THIS COURSE A MAXIMUM NEGATIVE RATING. EVEN 1 STAR RATING IS TOO MUCH FOR THIS COURSE.

By Pavel S

•Dec 12, 2019

The course has two problems:

complete lack of participation of staff in maintaining it. This leads to students giving each other incorrect advice and sharing incorrect code which passes the grader function check ( the grades are assigned automatically). The advice students give each other are frankly so wrong it is shocking.

the teacher focuses on formalised proof rather than concepts. Hence the lectures turn into lecturer applying mathematical transfomations which end in a formal argument without any intuitive understanding of the underlying subject. This course is the worst of the module with linear algebra and multivariate calculus being much better

By Indira P

•Mar 26, 2021

I'm sorry but it is hard to understand. My expectation before starting this course is I'll be able to understand mathematic in an easier and better way but this is too complex to understand. I think you need to simplify this or make the course in a more fun way. Other than that, the course give me so much knowledge and it was so fun to learn all of these even though it require most of my time

By Raghav G

•Jul 13, 2020

The course is very monotonic and boring and it is quite difficult to understand much of what the extremely mathematical terms that the instructor does. I am an M.Sc. Mathematics student and even I could not understand nor enjoy more than half of the course. I would strongly advise against taking this course, however the other two courses from this specialization are good and interesting.

By Deleted A

•Jul 31, 2019

Feedback for the assignments sucks! The discussion forums don't help. I have to submit the last assignment last 6 times until it work, and I still don't know why my previous versions didn't pass. Other than that, the lectures are actually very good, but the only one worth the time is the fourth one, the other three are just the first course (Linear Algebra) all over again.

By Galina F

•Jan 8, 2020

Mathematical concepts are clear, but no explanation how to apply them to python to solve machine learning ussies. But you need this for python assignments.

Scripts checking assignments work uncorrectly such a way that one can submit the same piece of working(!) code and get 0/10 and then submit the same code and get 10/10.

All in all, it's very annoying and disappointing.

By Cy L

•Jun 9, 2018

The course is mathematics for Machine Learning. Yet, they require that you are proficient in python. I understand the mathematics. However, no one will answer my questions on the python we are suppose to code. I passed both of the previous courses. I've taken and passed Statistics with python on edX. I've very disappointed in this course.

By Shubhayu D

•Jun 13, 2020

The first two courses in the specialization were extremely good. However, this course is nowhere close to them. Neither does the instructor provide enough intuition, nor do the assignments help in the learning process.

By Abhishek S

•Jun 7, 2020

The first two courses of this specialisation were awesome PCA being a hard topic is difficult to understand but the course was boring and not good compared to previous two.

By Nathaniel F

•Mar 14, 2021

I think there are broken graded assessment in week 4 'test_normalization'

By Gita A S

•Mar 12, 2021

So many bugs on the programming assignment!

By Anton K

•Nov 14, 2020

By far, this is the best out of 3 courses in this specialization. It is hard though and in the weeks 3 and 4 I had to pause and rewind almost every 10 seconds of the videos and search some error in code labs on the web. But in the end this course showed me in great detail the process of PCA and I also learned a bit of linear algebra alongside it. Considering problems with this course, there were some points that got me a little bit dissapointed. I still don't get it why are we using the biased version of variance, sometimes the notation changed a little bit, (which is not a big problem but introduces some inconvience if the material is completely new to the learner), some of the math concepts were not covered in the "linear algebra" course. But the worst problem was a technical one: some parts of the labs that are not necessary for grading but are very important for learning were throwing errors. I hope that in the future versions they will be resolved.

By Marco v Z

•Jul 19, 2020

I was somewhat put off by critical comments about the third course in this series, but have to disagree with the reviewers. Yes, it is tougher and, yes, the instructor doesn't have the "schwung" of the other two instructors, but that doesn't affect the quality of this course. His walkthrough of the derivation of PCA is thorough and systematic, and builds on material that has been presented in the earlier lectures.

In fact, looking back on the entire specialisation, I would retrospectively grade the first two courses a notch lower (even if they're excellent), simply because they "sailed through" a bit too easily. The exercises in those courses required little thinking apart from recalling what was said in the lectures. In this course, exercises tended to go beyond or ahead of the material presented in the lectures. Solving them required active thinking, reading, and problem solving, which in the end brings a more thorough understanding.

By Ivy W

•Apr 3, 2021

I find this course a good use of my time, I have learnt a number of new things from it and it was quite a fun playing around with the programming assignments. What I especially like are the detailed math explanations/derivations and the reading materials/lecture notes provided (so that I have texts to refer to, instead of always having to view the videos again).

This course is obviously more challenging than the first two in the specialization (I'd say the first two are too easy as 'math' courses), one needs a good understanding of the first two, esp. linear algebra, to know what's going on here. I'm most satisfied with this course among the three, and it's sad to see so many people giving negative reviews on this and complaining on the depth of the contents.

By Fredrick A

•Feb 20, 2020

The coverage of PCA provided by the instructor was wide and provided me with an intuitive basis for executing the PCA algorithm in the wild. Ultimately, the subject and its various steps were easy to understand. That said, I gained many great insights watching Khan Academy videos especially ones on eigenvalues/eigenvectors. By far the hardest part of the class was implementing and executing the python code. There the devil was in, and sometimes, outside of the details. I cursed the name of the Instructor more than once (a lot more). But, in the end, because of the real life, no safety net experience, I was able to jump right into PCA (and other feature engineering projects) adding value to my team at work on day 1.

By Abdurrahman M

•Jan 20, 2019

Best course out of the series so far. A fine balance between theory and derivations, and practice with the programming assignments. It seems that they have solved their programming assignment issues (the first one still has some problems with the grader I believe). This course does require you to have some prior experience, though, so if you are new to programming or linear algebra (not just the concepts but how to apply them) it's bets to take the first two courses with some additional help (maybe Khan academy or even MIT OCW. I will certainly refer to this course in the future, as well as the professor's book on Mathematics for ML.

By ANAMITRA S

•Sep 4, 2020

Even though one might read quite a few negative reviews about this course, I having completed this course certainly can tell that I learnt the most while doing this course. The course was indeed hard and challenging but the good thing that came out of this course was it gave me the ability to learn to study quite a few topics extensively on my own. The course had the book on "Mathematics for Machine Learning" which acted as a great supplement to this course. Overall, I'd ask anyone who is seriously interested in learning the extensive Math behind Machine learning, to take this course.

By Laszlo C

•Dec 6, 2019

This is an excellent course first covers statistics, looks back to inner products and projections, thereafter it connects all of that and introduces PCA. The knowledge that you've gathered throughout the first two courses gets applied here. Granted, it's more abstract and challenging than the others, I wouldn't give a worse rating just because of that. You'll need to dive into certain topics on your own and if you strengthen your coding skills for the programming exercises. Nevertheless, it's just as highly rewarding as the first two.

By Mohit

•Dec 28, 2020

This course is too good ,difficult level of this course from other too of this specialization is more.

Having patience and more practice lead to more successful .

If anyone want to learn Machine learning course then after doing this Machine Learning course is simple because most of the thing you have learn through this course

This specialization makes you better and better and you learn many more new and interesting thing related to real world example with practice assignment

Thanks a lot for this to all the mentors

By Douglas W

•May 22, 2020

This was the most challenging of the three classes in the series. I thought the instructor did an excellent job of moving from theory to practice, and in the end I came away with a good understanding of the topic. As a developer, part of my personal learning style is to shadow these types of lectures in code. I did (or attempted) naive implementations on most slides - that definitely helped my comprehension of this challenging material. Be prepared to work hard, occasionally head scratch and you'll do fine.

By Muhammad Y A

•Nov 5, 2020

Big thanks to the teacher, this is the most challenging course among the other courses on this specialization. It took me a full 24 hours to complete the final assignment, PCA Algorithm. But, it's worth it, I really enjoyed this course besides how hard it is lmao. One more, unfortunately, there will not be much discussion on the forums, since there's a few people enroll in this course compared to others and the assignment, especially the last one was very hard, anyway hope you enjoy this course, see ya.

By Jitesh J T

•Dec 23, 2019

Hi,

The course tries to cover most of the important mathematical concepts in Mathematics applied to PCA. The assignments were a bit tough, but i guess that the road ahead when we do programming for data sets in real world applications would not be that easy. Loved the way the lectures were delivered and the programming assignments help to build a strong base for applications of linear algebra that we have done earlier.

Thanks and Regards

Jitesh Tripathi, PhD in Applied Mathematics

By Taranpreet s

•Sep 26, 2020

Although there are glitches with the submission of assignments and some of the videos by instructor are brief, I will still rate it as a 5 star for the content covered. This is 3rd course of the specialization and need solid understanding of the concepts covered in first 2. Considering the more challenging content covered in this course, Instructor did a great job. All instructors in the specialization are awesome, Would love to do more advanced courses from the same team.

By Tarek L

•Sep 11, 2019

This is a difficult course, but it really gave me an appreciation of the mathematics behind machine learning. I encourage anyone doing this course to read Deisenroth's free book Mathematics for Machine Learning (mml-book.com) to better understand the notation and technique used to get to the proofs. If anything, the rigor of this course inspired me to further pursue learning in mathematics to strengthen my machine learning foundation.

By Ling J

•Apr 18, 2018

The whole content of this course is fantastic, not all details were covered in the video, but main ideas were expressed in a great way buy math formulations. Pay attention to those vectors and matrices, especially their dimensions, this will help you solve problem quickly. More important, matrix is just a way to express a bunch of similar things, knowing the meaning of those basis vectors is important.

- Google Data Analyst
- Google Project Management
- Google UX Design
- Google IT Support
- IBM Data Science
- IBM Data Analyst
- IBM Data Analytics with Excel and R
- IBM Cybersecurity Analyst
- IBM Data Engineering
- IBM Full Stack Cloud Developer
- Facebook Social Media Marketing
- Facebook Marketing Analytics
- Salesforce Sales Development Representative
- Salesforce Sales Operations
- Intuit Bookkeeping
- Preparing for Google Cloud Certification: Cloud Architect
- Preparing for Google Cloud Certification: Cloud Data Engineer
- Launch your career
- Prepare for a certification
- Advance your career

- Skills for Data Science Teams
- Data Driven Decision Making
- Software Engineering Skills
- Soft Skills for Engineering Teams
- Management Skills
- Marketing Skills
- Skills for Sales Teams
- Product Manager Skills
- Skills for Finance
- Popular Data Science Courses in the UK
- Beliebte Technologiekurse in Deutschland
- Popular Cybersecurity Certifications
- Popular IT Certifications
- Popular SQL Certifications
- Marketing Manager Career Guide
- Project Manager Career Guide
- Python Programming Skills
- Web Developer Career Guide
- Data Analyst Skills
- Skills for UX Designers

- MasterTrack® Certificates
- Professional Certificates
- University Certificates
- MBA & Business Degrees
- Data Science Degrees
- Computer Science Degrees
- Data Analytics Degrees
- Public Health Degrees
- Social Sciences Degrees
- Management Degrees
- Degrees from Top European Universities
- Master's Degrees
- Bachelor's Degrees
- Degrees with a Performance Pathway
- Bsc Courses
- What is a Bachelor's Degree?
- How Long Does a Master's Degree Take?
- Is an Online MBA Worth It?
- 7 Ways to Pay for Graduate School
- See all certificates