Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linear Algebra for Machine Learning
Rating: 4.1 out of 5(47 ratings)
4,551 students

Linear Algebra for Machine Learning

Linear Algebra refresher for machine learning. Basics + Python implementation
Created byKrunal Patel
Last updated 9/2022
English
English [Auto],

What you'll learn

  • Understand the basic concepts of linear algebra
  • Implement the basic operations of matrices and vectors in python
  • Solve system of linear equations using python
  • Compute eigenvalues and eigenvectors of a matrix
  • Diagonalize a matrix using eigenvalues and eigenvectors

Course content

1 section13 lectures1h 1m total length
  • Introduction2:46

    Learn the essentials of linear algebra with a Python focus for machine learning, covering vectors, matrices, basic operations, eigenvectors and eigenvalues, diagonalization, norms, traces, and solving linear systems.

  • Vectors and Matrices8:25

    Explore vectors as directed arrows in a vector space and how matrices perform linear transformations, including basis vectors and preserving the origin, with row and column representations.

  • Matrix operations7:55

    Explore core matrix operations in Python with NumPy, including creating matrices, scalar multiplication, addition, transpose, dot product, and matrix-vector multiplication, with shape checks and seeds for reproducibility.

  • Rank of a matrix6:57

    Learn how a matrix as a linear transformation collapses a vector space to a line, plane, or origin, and how independent columns and rows define rank one, two, or zero.

  • Solving system of linear equations using matrix11:01

    Learn how to solve linear systems with matrices, using inverses to recover unknown vectors, and understand when singular matrices yield non-unique solutions, with practical Python examples.

  • Change of basis5:02

    Change of basis by using the new basis matrix and its inverse to compute the coordinates of a vector as a linear combination of the new basis.

  • Eigenvalues and Eigenvectors7:59

    Explore eigenvalues and eigenvectors: learn how certain vectors stay on the same line while being stretched by a scalar, and compute them via the characteristic polynomial or numpy.linalg.eig.

  • Diagonalization6:25

    Discover how diagonalization writes a matrix as P D P inverse, with D diagonal and built from eigenvectors and eigenvalues, enabling powers like A^3 to be computed easily.

  • Norms3:36

    Explore vector norms and measure the magnitude of a vector using p-norms, including L1 and L2 (Euclidean) norms, with examples and their role in error evaluation and regularization.

  • Trace0:45

    Discover that trace equals the sum of all diagonal entries of a matrix, and compute it in Python by calling trace on the matrix.

  • Assignment0:04
  • Congratulations0:21

    Congratulations on completing linear algebra for machine learning; you have covered all the essential topics and should feel confident applying them. Please leave a rating to help improve the course.

  • bonus goodies0:02

Requirements

  • Basics knowledge of linear algebra
  • Basic knowledge of python

Description

Linear Algebra is usually a prerequisite of machine learning. However, one doesn't need to know all the concepts in linear algebra.


In this course, I have compiled together all the important linear algebra concepts that are most frequently used in machine learning. This is the content I taught at Polytechnique Montreal as a refresher on linear algebra for machine learning. Understanding these concepts will help you navigate through an introductory course in machine learning.


This course is for you if

- You have some knowledge of linear algebra.

- You want to refresh some parts of linear algebra for machine learning.


This course is not for you if

- You want to learn linear algebra from scratch.

- You want to learn all important concepts in linear algebra.

- You don’t know anything about python.


Please note that I do not cover all the topics in linear algebra. I only cover the topics that are most frequently used in the machine learning textbooks. If you want to learn linear algebra from scratch or master all the concepts, this course is not for you.


In this course, we cover the following topics

- Vectors and Matrices

- Matrix operations

- Rank of a matrix

- Solving linear equations using matrix

- Change of basis

- Eigenvalues and Eigenvectors

- Diagonalization

- Norms

- Trace

Who this course is for:

  • Students who want to start their journey in machine learning and want to refresh the linear algebra topics needed for that.