1

Step 1

Introduction to Linear Algebra and to Mathematics for Machine Learning

2

Step 2

Vectors are objects that move around space

3

Step 3

Matrices in Linear Algebra: Objects that operate on Vectors

4

Step 4

Matrices make linear mappings

5

Step 5

Eigenvalues and Eigenvectors: Application to Data Problems

1

### Step 1

Introduction to Linear Algebra and to Mathematics for Machine Learning

2

### Step 2

Vectors are objects that move around space

3

### Step 3

Matrices in Linear Algebra: Objects that operate on Vectors

4

### Step 4

Matrices make linear mappings

5

### Step 5

Eigenvalues and Eigenvectors: Application to Data Problems

21 November 2019
completed_date

Goal author Ukraine, Киев

37 years old

Career & Work

# [Coursera] Mathematics for Machine Learning: Linear Algebra

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.

### SKILLS YOU WILL GAIN

Eigenvalues And EigenvectorsBasis (Linear Algebra)Transformation MatrixLinear Algebra

### Goal Accomplishment Criteria

прошла курс, получила серт

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.

1. Introduction: Solving data science challenges with mathematics

2. Motivations for linear algebra

3. Getting a handle on vectors

4. Operations with vectors

5. Summary

6. About Imperial College & the team

7. How to be successful in this course

10. Exploring parameter space

11. Solving some simultaneous equations

12. Doing some vector operations

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.

1. Introduction to module 2 - Vectors

2. Modulus & inner product

3. Cosine & dot product

4. Projection

5. Changing basis

6. Basis, vector space, and linear independence

7. Applications of changing basis

8. Summary

9. Dot product of vectors

10. Changing basis

11. Linear dependency of a set of vectors

12. Vector operations assessment

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.

1. Matrices, vectors, and solving simultaneous equation problems

2. How matrices transform space

3. Types of matrix transformation

4. Composition or combination of matrix transformations

5. Solving the apples and bananas problem: Gaussian elimination

6. Going from Gaussian elimination to finding the inverse matrix

7. Determinants and inverses

8. Summary

9. Using matrices to make transformations

10. Solving linear equations using the inverse matrix

11. Notebook: Identifying special matrices

12. Programming Assignment: Identifying special matrices 30 min

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.

1. Introduction: Einstein summation convention and the symmetry of the dot product

2. Matrices changing basis

3. Doing a transformation in a changed basis

4. Orthogonal matrices

5. The Gram–Schmidt process

6. Example: Reflecting in a plane

7. Non-square matrix multiplication

8. Example: Using non-square matrices to do a projection

9. Notebook: Gram-Schmidt process

10. Notebook: Reflecting Bear

11. Programming Assignment: Gram-Schmidt Process

12. Programming Assignment: Reflecting Bear

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.

1. Welcome to module 5

2. What are eigenvalues and eigenvectors?

3. Special eigen-cases

4. Calculating eigenvectors

5. Changing to the eigenbasis

6. Eigenbasis example

7. Introduction to PageRank

8. Summary

9. Wrap up of this linear algebra course

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

11. Selecting eigenvectors by inspection

12. Characteristic polynomials, eigenvalues and eigenvectors

13. Diagonalisation and applications

14. Eigenvalues and eigenvectors

• 2775
• 21 November 2019, 05:57