This course is part of the Mathematics for Machine Learning Specialization

Offered By

Mathematics for Machine Learning Specialization

Imperial College London

About this Course

310,908 recent views

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.

Start instantly and learn at your own schedule.

Reset deadlines in accordance to your schedule.

Suggested: 5 weeks of study, 2-5 hours/week...

Subtitles: English

Eigenvalues And EigenvectorsBasis (Linear Algebra)Transformation MatrixLinear Algebra

Start instantly and learn at your own schedule.

Reset deadlines in accordance to your schedule.

Suggested: 5 weeks of study, 2-5 hours/week...

Subtitles: English

Week

1In 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 (Total 28 min), 4 readings, 3 quizzes

Motivations for linear algebra3m

Getting a handle on vectors9m

Operations with vectors11m

Summary1m

About Imperial College & the team5m

How to be successful in this course5m

Grading policy5m

Additional readings & helpful references10m

Exploring parameter space20m

Solving some simultaneous equations15m

Doing some vector operations14m

Week

2In 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 (Total 44 min), 4 quizzes

Modulus & inner product10m

Cosine & dot product5m

Projection6m

Changing basis11m

Basis, vector space, and linear independence4m

Applications of changing basis3m

Summary1m

Dot product of vectors15m

Changing basis15m

Linear dependency of a set of vectors15m

Vector operations assessment15m

Week

3Now 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 (Total 57 min), 3 quizzes

How matrices transform space5m

Types of matrix transformation8m

Composition or combination of matrix transformations8m

Solving the apples and bananas problem: Gaussian elimination8m

Going from Gaussian elimination to finding the inverse matrix8m

Determinants and inverses10m

Summary59s

Using matrices to make transformations12m

Solving linear equations using the inverse matrix16m

Week

4In 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 (Total 53 min), 4 quizzes

Matrices changing basis11m

Doing a transformation in a changed basis4m

Orthogonal matrices6m

The Gram–Schmidt process6m

Example: Reflecting in a plane14m

Non-square matrix multiplication20m

Example: Using non-square matrices to do a projection12m

Week

5Eigenvectors 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 (Total 44 min), 1 reading, 5 quizzes

What are eigenvalues and eigenvectors?4m

Special eigen-cases3m

Calculating eigenvectors10m

Changing to the eigenbasis5m

Eigenbasis example7m

Introduction to PageRank8m

Summary1m

Wrap up of this linear algebra course1m

Did you like the course? Let us know!10m

Selecting eigenvectors by inspection20m

Characteristic polynomials, eigenvalues and eigenvectors30m

Diagonalisation and applications20m

Eigenvalues and eigenvectors25m

4.6

488 Reviewsstarted a new career after completing these courses

got a tangible career benefit from this course

By NS•Dec 23rd 2018

Professors teaches in so much friendly manner. This is beginner level course. Don't expect you will dive deep inside the Linear Algebra. But the foundation will become solid if you attend this course.

By CS•Apr 1st 2018

Amazing course, great instructors. The amount of working linear algebra knowledge you get from this single course is substantial. It has already helped solidify my learning in other ML and AI courses.

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....

For a lot of higher level courses in Machine Learning and Data Science, you find you need to freshen up on the basics in mathematics - stuff you may have studied before in school or university, but which was taught in another context, or not very intuitively, such that you struggle to relate it to how it’s used in Computer Science. This specialization aims to bridge that gap, getting you up to speed in the underlying mathematics, building an intuitive understanding, and relating it to Machine Learning and Data Science.
In the first course on Linear Algebra we look at what linear algebra is and how it relates to data. Then we look through what vectors and matrices are and how to work with them.
The second course, Multivariate Calculus, builds on this to look at how to optimize fitting functions to get good fits to data. It starts from introductory calculus and then uses the matrices and vectors from the first course to look at data fitting.
The third course, Dimensionality Reduction with Principal Component Analysis, uses the mathematics from the first two courses to compress high-dimensional data. This course is of intermediate difficulty and will require basic Python and numpy knowledge.
At the end of this specialization you will have gained the prerequisite mathematical knowledge to continue your journey and take more advanced courses in machine learning....

When will I have access to the lectures and assignments?

Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

What will I get if I subscribe to this Specialization?

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

What is the refund policy?

Is financial aid available?

More questions? Visit the Learner Help Center.

Coursera provides universal access to the world’s best education,
partnering with top universities and organizations to offer courses online.