Eight-Week Curriculum

Each week pairs a mathematical theme with a coding assignment and a checkpoint quiz. Estimated at 65 focused hours total — roughly one week of part-time study each.

Part 1: Algebra and Mathematical NotationPart 2: Functions and GraphsPart 3: Core Linear AlgebraPart 4: CalculusPart 5: NumPy Laboratory
1

Algebra and Mathematical Language

Reading and unpacking the symbols ML papers assume you know.

7 h0%

Learning objectives

  • Fluently manipulate expressions, fractions, powers, and signs
  • Solve and rearrange equations and inequalities
  • Read Σ, Π, set, and indexed notation without stalling
Coding assignment

Implement summation and product notation as Python loops, then as vectorized NumPy, and confirm they agree.

Outcome: Read and unpack basic mathematical expressions used in ML.

2

Functions and NumPy Foundations

Models and losses are functions; NumPy is how we evaluate them.

8 h0%

Learning objectives

  • Reason about domain, range, composition, and inverses
  • Recognize the standard ML activation functions by shape
  • Manipulate NumPy arrays with correct shapes, dtypes, and broadcasting
Coding assignment

Implement sigmoid, tanh, ReLU, and softplus as vectorized NumPy functions and plot them over a grid.

Outcome: Understand how ML models and loss functions are represented as mathematical functions.

3

Vectors

The geometry and algebra of feature vectors and embeddings.

7 h0%

Learning objectives

  • Compute linear combinations and dot products
  • Measure size, distance, angle, and cosine similarity
  • Connect vectors to features and embeddings
Coding assignment

Implement dot product, Euclidean distance, and cosine similarity from scratch and verify against NumPy.

Outcome: Understand vectors geometrically, algebraically, and computationally.

4

Matrices and Linear Systems

Matrices as data, as operations, and as transformations of space.

8 h0%

Learning objectives

  • Multiply matrices and track shapes through a pipeline
  • Solve Ax = b and classify the solution set
  • Read a matrix as a linear transformation
Coding assignment

Implement matrix multiplication with triple loops and with @, then implement a small Gaussian elimination solver.

Outcome: Reason about matrix operations and dimensions in ML architectures.

5

Vector Spaces and PCA Intuition

Directions, dimensions, variance, and dimensionality reduction.

9 h0%

Learning objectives

  • Reason about span, independence, basis, rank, and subspaces
  • Interpret eigenvectors/eigenvalues geometrically
  • Explain PCA as the eigen-structure of covariance
Coding assignment

Implement PCA from scratch (center, covariance, eigen-decomposition, project) on a 2-D dataset.

Outcome: Understand how directions, dimensions, and transformations relate to data representations.

6

Limits and Derivatives

Rate of change as the foundation of all learning.

8 h0%

Learning objectives

  • Evaluate limits and reason about continuity
  • Differentiate with the standard rules
  • Approximate derivatives numerically
Coding assignment

Implement a central-difference numerical derivative and compare it to analytic derivatives across step sizes.

Outcome: Understand derivatives as sensitivity and rate of change.

7

Chain Rule and Gradients

How gradients are computed through composed functions.

8 h0%

Learning objectives

  • Apply the chain rule and draw computational graphs
  • Run forward and backward passes by hand
  • Assemble partial derivatives into gradients
Coding assignment

Implement a tiny reverse-mode autodiff for y = (w·x + b)² and check gradients with finite differences.

Outcome: Understand how gradients are calculated through composed functions.

8

Optimization and Linear Regression

Assembling calculus, linear algebra, and NumPy into a learner.

10 h0%

Learning objectives

  • Run and diagnose gradient descent
  • Derive the gradients of MSE
  • Implement, verify, and analyze linear regression
Coding assignment

Complete the final project: linear regression by gradient descent, gradient-checked, with a closed-form comparison.

Outcome: Derive and implement linear regression from scratch.

Capstone

The course ends with a complete final project: reproducing linear regression from the equations to a gradient-checked implementation and a research-style report.

Open the final project →