Linear Algebra for Machine Learning and Data Science
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Linear Algebra for Machine Learning and Data Science
This course is part of Mathematics for Machine Learning and Data Science Specialization
Instructor: Luis Serrano
204,257 already enrolled
Ask Coursera
2,345 reviews
Recommended experience
2,345 reviews
Recommended experience
What you'll learn
Represent data as vectors and matrices and identify their properties using concepts of singularity, rank, and linear independence
Apply common vector and matrix algebra operations like dot product, inverse, and determinants
Express certain types of matrix operations as linear transformation, and apply concepts of eigenvalues and eigenvectors to machine learning problems
Skills you'll gain
Tools you'll learn
Details to know
9 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
Newly updated for 2024! Mathematics for Machine Learning and Data Science is a foundational online program created by DeepLearning.AI and taught by Luis Serrano. In machine learning, you apply math concepts through programming. And so, in this specialization, youβll apply the math concepts you learn using Python programming in hands-on lab exercises. As a learner in this program, you'll need basic to intermediate Python programming skills to be successful.
After completing this course, you will be able to: β’ Represent data as vectors and matrices and identify their properties using concepts of singularity, rank, and linear independence, etc. β’ Apply common vector and matrix algebra operations like dot product, inverse, and determinants β’ Express certain types of matrix operations as linear transformations β’ Apply concepts of eigenvalues and eigenvectors to machine learning problems Many machine learning engineers and data scientists need help with mathematics, and even experienced practitioners can feel held back by a lack of math skills. This Specialization uses innovative pedagogy in mathematics to help you learn quickly and intuitively, with courses that use easy-to-follow visualizations to help you see how the math behind machine learning actually works. We recommend you have a high school level of mathematics (functions, basic algebra) and familiarity with programming (data structures, loops, functions, conditional statements, debugging). Assignments and labs are written in Python but the course introduces all the machine learning libraries youβll use.
Matrices are commonly used in machine learning and data science to represent data and its transformations. In this week, you will learn how matrices naturally arise from systems of equations and how certain matrix properties can be thought in terms of operations on system of equations.
What's included
14 videos8 readings3 assignments1 app item2 ungraded labs
14 videosβ’Total 78 minutes
- Specialization introductionβ’8 minutes
- Course introductionβ’1 minute
- What to expect and how to succeedβ’1 minute
- A note on programming experienceβ’1 minute
- Linear Algebra Applied Iβ’6 minutes
- Linear Algebra Applied IIβ’7 minutes
- System of sentencesβ’5 minutes
- System of equationsβ’13 minutes
- System of equations as lines and planesβ’12 minutes
- A geometric notion of singularityβ’3 minutes
- Singular vs non-singular matricesβ’5 minutes
- Linear dependence and independenceβ’7 minutes
- The determinantβ’8 minutes
- Conclusionβ’0 minutes
8 readingsβ’Total 72 minutes
- Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!β’2 minutes
- Notationsβ’10 minutes
- Learning Python: Recommended Resourcesβ’10 minutes
- Check your knowledgeβ’10 minutes
- Interactive Tool: Graphical Representation of Linear Systems with 2 variablesβ’10 minutes
- Interactive Tool: System of Equations as Planes (3x3)β’10 minutes
- (Optional) Downloading your Notebook and Refreshing your Workspaceβ’10 minutes
- Week 1 - Slidesβ’10 minutes
3 assignmentsβ’Total 210 minutes
- Practice Quiz 1β’60 minutes
- Practice Quiz 2β’30 minutes
- Graded quizβ’120 minutes
1 app itemβ’Total 1 minute
- Intake Surveyβ’1 minute
2 ungraded labsβ’Total 120 minutes
- Introduction to NumPy Arraysβ’60 minutes
- Linear Systems as Matricesβ’60 minutes
In this week, you will learn how to solve a system of linear equations using the elimination method and the row echelon form. You will also learn about an important property of a matrix: the rank. The concept of the rank of a matrix is useful in computer vision for compressing images.
What's included
12 videos5 readings2 assignments1 programming assignment1 ungraded lab
12 videosβ’Total 49 minutes
- Solving non-singular system of linear equationsβ’7 minutes
- Solving singular system of linear equationsβ’3 minutes
- Solving system of equations with more variablesβ’3 minutes
- Matrix row-reductionβ’4 minutes
- Row operations that preserve singularityβ’4 minutes
- The rank of a matrixβ’6 minutes
- The rank of a matrix in generalβ’2 minutes
- Row echelon formβ’3 minutes
- Row echelon form in generalβ’4 minutes
- Reduced row echelon formβ’4 minutes
- The Gaussian Elimination Algorithmβ’9 minutes
- Conclusionβ’1 minute
5 readingsβ’Total 45 minutes
- Check your knowledgeβ’10 minutes
- Interactive Tool: Graphical Representation of Linear Systems with 3 variablesβ’10 minutes
- (Optional) Assignment Troubleshooting Tipsβ’10 minutes
- (Optional) Partial Grading for Assignmentsβ’10 minutes
- Week 2 - Slidesβ’5 minutes
2 assignmentsβ’Total 150 minutes
- Practice Quizβ’30 minutes
- Graded Quizβ’120 minutes
1 programming assignmentβ’Total 240 minutes
- Gaussian Eliminationβ’240 minutes
1 ungraded labβ’Total 30 minutes
- Introduction to the Numpy.linalg sub-libraryβ’30 minutes
An individual instance (observation) of data is typically represented as a vector in machine learning. In this week, you will learn about properties and operations of vectors. You will also learn about linear transformations, matrix inverse, and one of the most important operations on matrices: the matrix multiplication. You will see how matrix multiplication naturally arises from composition of linear transformations. Finally, you will learn how to apply some of the properties of matrices and vectors that you have learned so far to neural networks.
What's included
14 videos3 readings2 assignments1 programming assignment3 ungraded labs
14 videosβ’Total 54 minutes
- Machine Learning Motivationβ’8 minutes
- Vectors and their propertiesβ’5 minutes
- Vector operationsβ’3 minutes
- The dot productβ’4 minutes
- Geometric Dot Productβ’3 minutes
- Multiplying a matrix by a vectorβ’3 minutes
- Matrices as linear transformationsβ’3 minutes
- Linear transformations as matricesβ’2 minutes
- Matrix multiplicationβ’6 minutes
- The identity matrixβ’1 minute
- Matrix inverseβ’3 minutes
- Which matrices have an inverse?β’2 minutes
- Neural networks and matricesβ’9 minutes
- Conclusionβ’1 minute
3 readingsβ’Total 25 minutes
- Check your knowledgeβ’10 minutes
- Interactive Tool: Linear Transformationsβ’10 minutes
- Week 3 - Slidesβ’5 minutes
2 assignmentsβ’Total 90 minutes
- Practice Quizβ’30 minutes
- Graded Quizβ’60 minutes
1 programming assignmentβ’Total 240 minutes
- Linear Transformations and Neural Networksβ’240 minutes
3 ungraded labsβ’Total 180 minutes
- Vector Operations: Scalar Multiplication, Sum and Dot Product of Vectorsβ’60 minutes
- Matrix Multiplicationβ’60 minutes
- Linear Transformationsβ’60 minutes
In this final week, you will take a deeper look at determinants. You will learn how determinants can be geometrically interpreted as an area and how to calculate determinant of product and inverse of matrices. We conclude this course with eigenvalues and eigenvectors. Eigenvectors are used in dimensionality reduction in machine learning. You will see how eigenvectors naturally follow from the concept of eigenbases.
What's included
20 videos7 readings2 assignments1 programming assignment1 ungraded lab
20 videosβ’Total 99 minutes
- Week 4 Introductionβ’5 minutes
- Singularity and rank of linear transformationsβ’4 minutes
- Determinant as an areaβ’3 minutes
- Determinant of a productβ’4 minutes
- Determinants of inversesβ’3 minutes
- Bases in Linear Algebraβ’3 minutes
- Span in Linear Algebraβ’9 minutes
- Eigenbasesβ’3 minutes
- Eigenvalues and Eigenvectorsβ’6 minutes
- Calculating Eigenvalues and Eigenvectorsβ’9 minutes
- On the Number of Eigenvectorsβ’9 minutes
- Dimensionality Reduction and Projectionβ’8 minutes
- Motivating PCAβ’3 minutes
- Variance and Covarianceβ’7 minutes
- Covariance Matrixβ’8 minutes
- PCA - Overviewβ’5 minutes
- PCA - Why It Worksβ’4 minutes
- PCA - Mathematical Formulationβ’2 minutes
- Discrete Dynamical Systemsβ’5 minutes
- Conclusionβ’0 minutes
7 readingsβ’Total 65 minutes
- Check your knowledgeβ’10 minutes
- Interactive Tool: Linear Spanβ’10 minutes
- Week 4 - Slidesβ’5 minutes
- How is your course experience so far?β’10 minutes
- Reading: Textbooks and resourcesβ’10 minutes
- Referencesβ’10 minutes
- Acknowledgmentsβ’10 minutes
2 assignmentsβ’Total 121 minutes
- Practice Quizβ’1 minute
- Graded Quizβ’120 minutes
1 programming assignmentβ’Total 120 minutes
- Application of Eigenvalues and Eigenvectors: Webpage navigation model and PCAβ’120 minutes
1 ungraded labβ’Total 60 minutes
- Interpreting Eigenvalues and Eigenvectorsβ’60 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Algorithms
- Status: Free TrialD
DeepLearning.AI
Specialization
- Status: Free TrialD
DeepLearning.AI
Course
- Status: Free TrialB
Birla Institute of Technology & Science, Pilani
Course
- Status: PreviewS
Simplilearn
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
74.77%
- 4 stars
17.51%
- 3 stars
3.62%
- 2 stars
1.74%
- 1 star
2.34%
Showing 3 of 2345
Reviewed on Aug 26, 2024
While people focus on teaching how to solve problems basically, It is very good to see people speak about maths like science as a concept with good visualization!. Great work guys.
Reviewed on Sep 22, 2023
I enjoyed the course very much but I found that week 4, especially the Eigenvalues and Eigenvectors explanation were not complete. This section can be definitely improved.
Reviewed on Jul 26, 2023
This course is truly exceptional for individuals eager to strengthen their grasp of Linear Algebra concepts, paving the way for a deeper understanding of machine learning and data science.
Frequently asked questions
This is a beginner-friendly course, aiming to teach the concepts covered with minimal background knowledge necessary. If you're familiar with the concepts of linear algebra, you'll find this course a good review for the next course in the specialization, Calculus for Machine Learning and Data Science.
Yes! We want to break down the barriers that hold people back from advancing their math skills. In this course, we flip the traditional mathematics pedagogy for teaching math, starting with the real world use-cases and working back to theory.
Most people who are good at math simply have more practice doing math, and through that, more comfort with the mindset needed to be successful. This course is the perfect place to start or advance those fundamental skills, and build the mindset required to be good at math.
Linear algebra (matrices, vectors, and their applications)
More questions
Financial aid available,
