Quick Guide & Tips

💻   Accessing Utils File and Helper Functions

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Open"

You will be able to see all the notebook files for the lesson, including any helper functions used in the notebook on the left sidebar. See the following image for the steps above.


💻   Downloading Notebooks

In each notebook on the top menu:

1:   Click on "File"

2:   Then, click on "Download as"

3:   Then, click on "Notebook (.ipynb)"


💻   Uploading Your Files

After following the steps shown in the previous section ("File" => "Open"), then click on "Upload" button to upload your files.


📗   See Your Progress

Once you enroll in this course—or any other short course on the DeepLearning.AI platform—and open it, you can click on 'My Learning' at the top right corner of the desktop view. There, you will be able to see all the short courses you have enrolled in and your progress in each one.

Additionally, your progress in each short course is displayed at the bottom-left corner of the learning page for each course (desktop view).


📱   Features to Use

🎞   Adjust Video Speed: Click on the gear icon (⚙) on the video and then from the Speed option, choose your desired video speed.

🗣   Captions (English and Spanish): Click on the gear icon (⚙) on the video and then from the Captions option, choose to see the captions either in English or Spanish.

🔅   Video Quality: If you do not have access to high-speed internet, click on the gear icon (⚙) on the video and then from Quality, choose the quality that works the best for your Internet speed.

🖥   Picture in Picture (PiP): This feature allows you to continue watching the video when you switch to another browser tab or window. Click on the small rectangle shape on the video to go to PiP mode.

√   Hide and Unhide Lesson Navigation Menu: If you do not have a large screen, you may click on the small hamburger icon beside the title of the course to hide the left-side navigation menu. You can then unhide it by clicking on the same icon again.


🧑   Efficient Learning Tips

The following tips can help you have an efficient learning experience with this short course and other courses.

🧑   Create a Dedicated Study Space: Establish a quiet, organized workspace free from distractions. A dedicated learning environment can significantly improve concentration and overall learning efficiency.

📅   Develop a Consistent Learning Schedule: Consistency is key to learning. Set out specific times in your day for study and make it a routine. Consistent study times help build a habit and improve information retention.

Tip: Set a recurring event and reminder in your calendar, with clear action items, to get regular notifications about your study plans and goals.

☕   Take Regular Breaks: Include short breaks in your study sessions. The Pomodoro Technique, which involves studying for 25 minutes followed by a 5-minute break, can be particularly effective.

💬   Engage with the Community: Participate in forums, discussions, and group activities. Engaging with peers can provide additional insights, create a sense of community, and make learning more enjoyable.

✍   Practice Active Learning: Don't just read or run notebooks or watch the material. Engage actively by taking notes, summarizing what you learn, teaching the concept to someone else, or applying the knowledge in your practical projects.


📚   Enroll in Other Short Courses

Keep learning by enrolling in other short courses. We add new short courses regularly. Visit DeepLearning.AI Short Courses page to see our latest courses and begin learning new topics. 👇

👉👉 🔗 DeepLearning.AI – All Short Courses [+]


🙂   Let Us Know What You Think

Your feedback helps us know what you liked and didn't like about the course. We read all your feedback and use them to improve this course and future courses. Please submit your feedback by clicking on "Course Feedback" option at the bottom of the lessons list menu (desktop view).

Also, you are more than welcome to join our community 👉👉 🔗 DeepLearning.AI Forum


Sign in

Create Your Account

Or, sign up with your email
Email Address

Already have an account? Sign in here!

By signing up, you agree to our Terms Of Use and Privacy Policy

Choose Your Learning Path

MonthlyYearly

Change Your Plan

Your subscription plan will change at the end of your current billing period. You’ll continue to have access to your current plan until then.

View All Plans and Features

Manage Your Learning Plan

MonthlyYearly

Change Your Plan

Your subscription plan will change at the end of your current billing period. You’ll continue to have access to your current plan until then.

Welcome back!

Hi ,

We'd like to know you better so we can create more relevant courses. What do you do for work?

Course Syllabus

DeepLearning.AI
    daily streak fire

    You've achieved today's streak!

    Complete one lesson every day to keep the streak going.

    Su

    Mo

    Tu

    We

    Th

    Fr

    Sa

    free pass got

    You earned a Free Pass!

    Free Passes help protect your daily streak. Complete more lessons to earn up to 3 Free Passes.

    Free PassFree PassFree Pass

    Elevate Your Career with Full Learning Experience

    Unlock Plus AI learning and gain exclusive insights from industry leaders

    Access exclusive features like graded notebooks and quizzes
    Earn unlimited certificates to enhance your resume
    Starting at $1 USD/mo after a free trial – cancel anytime
Hi, and welcome to Math for Machine Learning and Data Science. Concepts like vectors, matrices, gradients, optimization, priority distributions, p-values, occur a lot in machine learning. When you learn about these concepts, you gain a deeper understanding of how and why machine learning algorithms work. And when you understand the math behind machine learning, you'll be able to better go beyond just using out-of-the-box machine learning algorithms to build and customize the models more, and you'll also be better able to judge when to apply which technique. Through learning the math of machine learning, you also become more effective at debugging machine learning algorithms. When I train a machine learning algorithm, it pretty much never works the first time or the first few times I run it. And so the math has frequently helped me, and I'm sure helped you too, to make better decisions about how to efficiently improve the performance of your machine learning algorithms. And who knows, maybe with the mathematical foundation that you gain from this specialization, I hope that you might someday use that skill to even invent new machine learning algorithms. I'm thrilled to introduce to you the instructor for this specialization, Luis Serrano. When DeepLearn.ai set out to create this specialization, I hoped to find an instructor who could bring math to life with visual examples that convey the intuition behind these math concepts. We spoke with many people to try to find the best instructor for these concepts, and I was thrilled when we found Luis, who turned out to be a fantastic fit. Luis is a machine learning engineer, researcher, and an educator with a PhD in pure math. He was a machine learning engineer at Google, where he worked on the YouTube recommended system, and he was also a lead AI educator at Apple. Luis also holds a popular YouTube channel called Serrano Academy, where he puts together math and machine learning concepts in a really illustrative, really delightful visual style. He's also the author of a best-selling book, Rocking Machine Learning. With Luis teaching the specialization, I'm confident you're in good hands, and you enjoy learning these materials about math and machine learning and data science. So I'm thrilled to have you with us, Luis. Well, thank you very much, Andrew. It's great to be here, and it's actually funny because it was about 10 years ago that I started hearing the term machine learning, and I remember I got my computer and Google searched introduction to machine learning courses. I thought it was going to be a very complicated thing, but I looked, and the first hit was your class. So I started taking your class, and I was blown away by how wonderful and simple it was. So thank you for that. And for me, it's very interesting that 10 years later, I'm on the other side of the camera talking to you about machine learning courses. So it's great to be here. Thank you. Thank you. So glad to have you here. And in fact, I did not know that story, but it actually makes me reflect. You know, when you're watching this, learning math from Luis, maybe a few years from now, maybe 10 years, maybe even faster, if you find it in you to teach something online, I think that could be very cool too. Yeah, you'll be on the side of the camera. We have another chair. So this specialization has three courses, and the first one, which is just four weeks long, is on linear algebra. Do you want to say a bit more about what the first course of the three is about? Yes. So the first course is linear algebra, and in this course, we cover anything regarding vectors, matrices, linear transformations, systems of equations, determinants, etc. But we like to see it in a different light. So for example, a matrix can be seen as an array of numbers, but that's like seeing a book as an array of letters. Books have a lot of interesting stories and can take you to places in your mind, and matrices are the same. They can be seen in much, much deeper ways. In fact, one thing I've heard you say is I think that if you look at how a neural network or some learning algorithm manipulates data, a lot of a neural network is built on top of matrix operations to take the data set, rotate it, turn it, warp it, and multiple times with multiple layers of a neural network, so that eventually you get out some answer, like predicting, you know, is this a cat or a dog? And that's what neural networks do, right? They're just a bunch of matrices with activations in the middle that warp space. Yeah. So I think, you know, given that so many of the most important learning algorithms, including neural networks, but many others, are built on top of matrix operations, gaining that deeper intuition about how it all works will give you a better sense of how neural networks and many other learning algorithms actually, you know, do the magic that they do. Exactly. And then the second course is on calculus. Do you want to say a bit more about that? Yes. So calculus is very important in machine learning for many things, but one that's fundamental is maximizing and minimizing functions. Yeah. In fact, the vast majority of learning algorithms are created by creating some cost function and then minimizing it. So knowing how to do that is fundamental to a lot of learning algorithms. And so I found that when I'm using a minimization algorithm, you know, be it gradient descent or some more advanced algorithm like Adam, I think that if you can picture in your head what's the derivative calculation doing, then if it isn't working as well as you want, I find that I'm better able to tune the algorithm to make it do a better job solving this critical minimization task. Yeah, absolutely. Knowing a lot about the calculus and the derivatives can really help demystify these optimizers that at first may look obscure. And then finally, the third course of the specialization is on probability and statistics and even things like hypothesis testing and p-value. So tell us more about the third course. Yeah, the third course is very interesting because a lot of machine learning happens to be probabilities, right? Many times a model outputs a probability and probability can be used to train models. For example, maximum likelihood estimation is very important. In maximum likelihood estimation, what you want to do is let's say you have some evidence and you want to find the scenario that most likely generated this evidence. That's machine learning. Your evidence is your data and you want to find the model that most likely generated this data. So you want to maximize the probability that the model generated that data. So sometimes I've said when it comes to math, I sometimes said, don't worry about it. And actually, stand by that. When you're learning machine learning for the first time, to get it to work, sometimes you don't need to worry about the intricacies of exactly how the math works. But as Lewis was saying, to get to that next level of expertise, when you can then start to gain that deeper understanding of that math as well, you can then learn a better, deeper mastery of the algorithms that you're using in building. And then one exciting element of this specialization is, you know, learners don't just learn the math. You also get to see it in Python code and see it run. Do you want to say more about that? Yes, that's absolutely right. You will be able to put these algorithms in practice. And for that, we have a bunch of Python labs. So we assume some basic knowledge in Python to be able to run them. But we're also going to have the resources for you to get up to speed. Awesome. So this specialization will go from, you know, high school, not very advanced level of math all the way up to the core concepts of math for machine learning and data science. And so with that, I'm excited to have you jump in to this specialization. So please go on to the next video to dive into linear algebra.
specialization detail
  • Mathematics for Machine Learning and Data Science
  • Linear Algebra for Machine Learning and Data Science
  • Week 1
Next Lesson
Week 1: Systems of linear equations
    Specialization & Course Introduction
  • Specialization introduction
    Video
    ・
    7 mins
  • Course introduction
    Video
    ・
    1 min
  • What to expect and how to succeed
    Video
    ・
    1 min
  • A note on programming experience
    Video
    ・
    1 min
  • Notations
    Reading
    ・
    10 mins
  • Learning Python: Recommended Resources
    Reading
    ・
    10 mins
  • Systems of Equations
  • Linear Algebra Applied I
    Video
    ・
    6 mins
  • Linear Algebra Applied II
    Video
    ・
    6 mins
  • Check your knowledge
    Reading
    ・
    10 mins
  • System of sentences
    Video
    ・
    5 mins
  • System of equations
    Video
    ・
    12 mins
  • System of equations as lines and planes
    Video
    ・
    12 mins
  • Interactive Tool: Graphical Representation of Linear Systems with 2 variables
    Reading
    ・
    10 mins
  • Interactive Tool: System of Equations as Planes (3x3)
    Reading
    ・
    10 mins
  • A geometric notion of singularity
    Video
    ・
    3 mins
  • Singular vs non-singular matrices
    Video
    ・
    4 mins
  • Practice Quiz 1
    Practice Quiz
    ・
    1 hour
  • Linear dependence and independence
    Video
    ・
    7 mins
  • The determinant
    Video
    ・
    7 mins
  • Practice Quiz 2
    Practice Quiz
    ・
    30 mins
  • (Optional) Downloading your Notebook and Refreshing your Workspace
    Reading
    ・
    10 mins
  • Introduction to NumPy Arrays
    Code Example
    ・
    1 hour
  • Linear Systems as Matrices
    Code Example
    ・
    1 hour
  • Graded quiz

    Graded・Quiz

    ・
    2 hours
  • Week 1 Wrap Up
  • Conclusion
    Video
    ・
    1 min
  • Week 1 - Slides
    Reading
    ・
    10 mins
  • Next
    Week 2: Solving systems of linear equations
  • Certificate
    Quick Guide & Tips