Vectors, Matrices & Matrix Multiplication | ML Foundations (UChicago) | Lecture 2

Added:

Logistics
Vector Concatenation
Matrix-Vector Product
Vector Operations
Worked Example
Nonlinear Features
Matrix-Matrix Product
Product Views
Factor Finding

Logistics

0:01
Playing Section
  • 1

    Provides directions to the instructor's office hours location.

  • 2

    Recaps the course setup with feature vectors and labels.

  • 3

    Introduces the topic of matrices and vectors.

Basic algebraic operations, including working with variables, linear equations, and Cartesian coordinate systems.
The concept of summation notation (sigma notation) for representing the sum of a sequence of numbers.
Fundamental geometric concepts such as distance, length, and the Pythagorean theorem in multi-dimensional space.
Familiarity with basic data representations, such as tables of data, arrays, or lists, to understand how data translates to vectors.
Matrix properties and operations such as transposes, determinants, and matrix inversion.
Systems of linear equations, understanding vector spaces, span, linear independence, and basis.
The geometric interpretation of matrix transformations, including scaling, rotation, and projection.
Eigenvalues and eigenvectors, which form the mathematical foundation for Principal Component Analysis (PCA).
Applying vector and matrix notation to formulate and solve linear regression models (least squares) models in machine learning.
794 views17likes1:15:23@rebeccawillett9305Original Release: 2025-10-03

In machine learning, matrix-vector multiplication (XW) computes predictions for all training samples simultaneously by performing inner products between each row of the feature matrix X and the weight vector W, where the number of columns in X must equal the number of entries in W for the operation to be valid. This operation enables compact representation of linear models, and matrix factorization (X = UV) allows decomposition of data into latent factors, with the minimum number of factors (R) corresponding to the matrix rank, which represents the minimum number of outer products needed to reconstruct the original matrix.