Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Linear Algebra & Calculus for ML

Express data and models as vectors and matrices in NumPy, decompose matrices to expose their structure, and use derivatives and the chain rule to explain how models are optimized.

Intro1 roadmap

5 objectives 6 steps about 135 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Represent a dataset and a linear model as matrix-vector operations in NumPy, predicting result shapes before running the code.
  • Compute dot products, norms, distances and cosine similarity and explain what each measures between feature vectors.
  • Compute partial derivatives of a composed function with the chain rule and verify them with a numerical gradient check.
  • Implement gradient descent for linear regression and explain how learning rate and feature scale affect convergence.
  • Use eigendecomposition and the singular value decomposition to find a matrix's dominant directions, and build a truncated-SVD low-rank approximation whose reconstruction error you can explain by rank.

Lesson plan

6 steps, about 135 min · 5 of 5 lessons available so far

Practise it

In pure NumPy, fit linear regression on a real dataset with both the closed-form solution (solved, not inverted) and gradient descent, match scikit-learn's coefficients to four decimals, and plot loss curves for three learning rates with and without feature scaling; then compress an image or ratings matrix with truncated SVD and plot reconstruction error against rank.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 28 tutorials that practise it

References

Hard prerequisites

None.

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.