Coursera

Catalog
  • Browse
  • Search
  • For Enterprise
  • Log In
  • Sign Up
  • Explore
  • For Enterprise
  • Sign Up
  • Log In
Coursera

Mathematics for Machine Learning: Linear Algebra

OverviewSyllabusFAQsCreatorsPricingRatings and Reviews

HomeData ScienceMachine Learning

Mathematics for Machine Learning: Linear Algebra

Imperial College London

About this course: In this course on Linear Algebra we look at what linear algebra is and how it relates to vectors and matrices. Then we look through what vectors and matrices are and how to work with them, including the knotty problem of eigenvalues and eigenvectors, and how to use these to solve problems. Finally we look at how to use these to do fun things with datasets - like how to rotate images of faces and how to extract eigenvectors to look at how the Pagerank algorithm works. Since we're aiming at data-driven applications, we'll be implementing some of these ideas in code, not just on pencil and paper. Towards the end of the course, you'll write code blocks and encounter Jupyter notebooks in Python, but don't worry, these will be quite short, focussed on the concepts, and will guide you through if you’ve not coded before. At the end of this course you will have an intuitive understanding of vectors and matrices that will help you bridge the gap into linear algebra problems, and how to apply these concepts to machine learning.

Who is this class for: This course is for people who want to refresh their maths skills in linear algebra, particularly for the purposes of doing data science and machine learning, or learning about data science and machine learning. We look at vectors, matrices and how to apply these to solve linear systems of equations, and how to apply these to computational problems.


Created by:  Imperial College London
Imperial College London

  • Taught by:  David Dye, Professor of Metallurgy

    Department of Materials

  • Taught by:  Samuel J. Cooper, Lecturer

    Dyson School of Design Engineering

  • Taught by:  A. Freddie Page, Strategic Teaching Fellow

    Dyson School of Design Engineering
Basic Info
Course 1 of 3 in the Mathematics for Machine Learning Specialization
LevelBeginner
Commitment5 weeks of study, 2-5 hours/week
Language
English
Hardware ReqNo additional hardware is needed to complete this course
How To PassPass all graded assignments to complete the course.
User Ratings
4.6 stars
Average User Rating 4.6See what learners said
Syllabus
WEEK 1
Introduction to Linear Algebra and to Mathematics for Machine Learning
In this first module we look at how linear algebra is relevant to machine learning and data science. Then we'll wind up the module with an initial introduction to vectors. Throughout, we're focussing on developing your mathematical intuition, not of crunching through algebra or doing long pen-and-paper examples. For many of these operations, there are callable functions in Python that can do the adding up - the point is to appreciate what they do and how they work so that, when things go wrong or there are special cases, you can understand why and what to do.
5 videos, 4 readings, 3 practice quizzes
  1. Video: Introduction: Solving data science challenges with mathematics
  2. Reading: About Imperial College & the team
  3. Reading: How to be successful in this course
  4. Reading: Grading policy
  5. Reading: Additional readings & helpful references
  6. Discussion Prompt: Nice to meet you!
  7. Ungraded Plugin: Complete our short pre-course survey
  8. Video: Motivations for linear algebra
  9. Practice Quiz: Solving some simultaneous equations
  10. Video: Getting a handle on vectors
  11. Practice Quiz: Exploring parameter space
  12. Video: Operations with vectors
  13. Practice Quiz: Doing some vector operations
  14. Video: Summary
WEEK 2
Vectors are objects that move around space
In this module, we look at operations we can do with vectors - finding the modulus (size), angle between vectors (dot or inner product) and projections of one vector onto another. We can then examine how the entries describing a vector will depend on what vectors we use to define the axes - the basis. That will then let us determine whether a proposed set of basis vectors are what's called 'linearly independent.' This will complete our examination of vectors, allowing us to move on to matrices in module 3 and then start to solve linear algebra problems.
8 videos, 3 practice quizzes
  1. Video: Introduction to module 2 - Vectors
  2. Video: Modulus & inner product
  3. Video: Cosine & dot product
  4. Video: Projection
  5. Practice Quiz: Dot product of vectors
  6. Video: Changing basis
  7. Practice Quiz: Changing basis
  8. Video: Basis, vector space, and linear independence
  9. Video: Applications of changing basis
  10. Practice Quiz: Linear dependency of a set of vectors
  11. Video: Summary
Graded: Vector operations assessment
WEEK 3
Matrices in Linear Algebra: Objects that operate on Vectors
Now that we've looked at vectors, we can turn to matrices. First we look at how to use matrices as tools to solve linear algebra problems, and as objects that transform vectors. Then we look at how to solve systems of linear equations using matrices, which will then take us on to look at inverse matrices and determinants, and to think about what the determinant really is, intuitively speaking. Finally, we'll look at cases of special matrices that mean that the determinant is zero or where the matrix isn't invertible - cases where algorithms that need to invert a matrix will fail.
8 videos, 2 practice quizzes
  1. Video: Matrices, vectors, and solving simultaneous equation problems
  2. Video: How matrices transform space
  3. Video: Types of matrix transformation
  4. Video: Composition or combination of matrix transformations
  5. Practice Quiz: Using matrices to make transformations
  6. Video: Solving the apples and bananas problem: Gaussian elimination
  7. Video: Going from Gaussian elimination to finding the inverse matrix
  8. Practice Quiz: Solving linear equations using the inverse matrix
  9. Video: Determinants and inverses
  10. Notebook: Identifying special matrices
  11. Video: Summary
Graded: Identifying special matrices
WEEK 4
Matrices make linear mappings
In Module 4, we continue our discussion of matrices; first we think about how to code up matrix multiplication and matrix operations using the Einstein Summation Convention, which is a widely used notation in more advanced linear algebra courses. Then, we look at how matrices can transform a description of a vector from one basis (set of axes) to another. This will allow us to, for example, figure out how to apply a reflection to an image and manipulate images. We'll also look at how to construct a convenient basis vector set in order to do such transformations. Then, we'll write some code to do these transformations and apply this work computationally.
6 videos, 2 practice quizzes
  1. Video: Introduction: Einstein summation convention and the symmetry of the dot product
  2. Practice Quiz: Non-square matrix multiplication
  3. Video: Matrices changing basis
  4. Video: Doing a transformation in a changed basis
  5. Practice Quiz: Mappings to spaces with different numbers of dimensions
  6. Video: Orthogonal matrices
  7. Video: The Gram–Schmidt process
  8. Notebook: Gram-Schmidt process
  9. Video: Example: Reflecting in a plane
  10. Notebook: Reflecting Bear
Graded: Gram-Schmidt Process
Graded: Reflecting Bear
WEEK 5
Eigenvalues and Eigenvectors: Application to Data Problems
Eigenvectors are particular vectors that are unrotated by a transformation matrix, and eigenvalues are the amount by which the eigenvectors are stretched. These special 'eigen-things' are very useful in linear algebra and will let us examine Google's famous PageRank algorithm for presenting web search results. Then we'll apply this in code, which will wrap up the course.
9 videos, 1 reading, 3 practice quizzes
  1. Video: Welcome to module 5
  2. Video: What are eigenvalues and eigenvectors?
  3. Practice Quiz: Selecting eigenvectors by inspection
  4. Video: Special eigen-cases
  5. Video: Calculating eigenvectors
  6. Practice Quiz: Characteristic polynomials, eigenvalues and eigenvectors
  7. Video: Changing to the eigenbasis
  8. Video: Eigenbasis example
  9. Practice Quiz: Diagonalisation and applications
  10. Video: Introduction to PageRank
  11. Notebook: PageRank
  12. Video: Summary
  13. Video: Wrap up of this linear algebra course
  14. Ungraded Plugin: Post-Course Survey
  15. Reading: Congratulations! Ready for course 2?
Graded: Page Rank
Graded: Eigenvalues and eigenvectors

FAQs
How It Works
Coursework
Coursework

Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.

Help from Your Peers
Help from Your Peers

Connect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.

Certificates
Certificates

Earn official recognition for your work, and share your success with friends, colleagues, and employers.

Creators
Imperial College London
Imperial College London is a world top ten university with an international reputation for excellence in science, engineering, medicine and business. located in the heart of London. Imperial is a multidisciplinary space for education, research, translation and commercialisation, harnessing science and innovation to tackle global challenges. Imperial students benefit from a world-leading, inclusive educational experience, rooted in the College’s world-leading research. Our online courses are designed to promote interactivity, learning and the development of core skills, through the use of cutting-edge digital technology.
Pricing
Purchase Course
Access to course materials

Available

Access to graded materials

Available

Receive a final grade

Available

Earn a shareable Course Certificate

Available

Ratings and Reviews
Rated 4.6 out of 5 of 1,125 ratings
Cirus Iniesta

A fun way to review Linear Algebra basics focused on its applications on Machine Learning.

Good structure, nice pace, solid content.

PL

Great way to learn about applied Linear Algebra. Should be fairly easy if you have any background with linear algebra, but looks at concepts through the scope of geometric application, which is fresh.

Hamza ali

A Very good course to get knowledge of linear algebra and its applications to ML and data science

RZ

great course. gave me lots of intuition of linear algebra



You May Also Like
Imperial College London
Mathematics for Machine Learning: PCA
1 course
Imperial College London
Mathematics for Machine Learning: PCA
View course
Imperial College London
Mathematics for Machine Learning: Multivariate Calculus
1 course
Imperial College London
Mathematics for Machine Learning: Multivariate Calculus
View course
National Research University Higher School of Economics
Bayesian Methods for Machine Learning
1 course
National Research University Higher School of Economics
Bayesian Methods for Machine Learning
View course
National Research University Higher School of Economics
Introduction to Deep Learning
1 course
National Research University Higher School of Economics
Introduction to Deep Learning
View course
National Research University Higher School of Economics
Practical Reinforcement Learning
1 course
National Research University Higher School of Economics
Practical Reinforcement Learning
View course
Coursera
Coursera provides universal access to the world’s best education, partnering with top universities and organizations to offer courses online.
© 2018 Coursera Inc. All rights reserved.
Download on the App StoreGet it on Google Play
  • Coursera
  • About
  • Leadership
  • Careers
  • Catalog
  • Certificates
  • Degrees
  • For Business
  • For Government
  • Community
  • Partners
  • Mentors
  • Translators
  • Developers
  • Beta Testers
  • Connect
  • Blog
  • Facebook
  • LinkedIn
  • Twitter
  • Google+
  • Tech Blog
  • More
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Press
  • Contact
  • Directory
  • Affiliates