Start free

FoundationsBeginner → IntermediateStarter stage16 hoursFree

Mathematics for Data Science & ML

The maths behind every model, taught with data examples: algebra, functions, vectors and matrices, derivatives and gradient descent, probability.

Start this course freeLabs run in your browser. No installs.

What you will be able to do

  • Read formulas in papers and documentation
  • Use vectors and matrices for data
  • Explain gradients and gradient descent
  • Reason with probability and Bayes’ rule

Tools

  • Python (NumPy)
  • Desmos
  • Spreadsheets

Syllabus — 5 modules

  1. Algebra and functions for data

    Variables, equations, logs and exponents — the language of growth rates, interest and model formulas.

    Linear and exponential functions · Logarithms and log scales · Percentages and compounding · Reading Σ notation

  2. Vectors and matrices

    A dataset is a matrix; a row is a vector. Dot products, matrix multiplication and distances power ML.

    Vectors, length and distance · Dot product and similarity · Matrix multiplication · Transpose and identity

  3. Calculus for learning

    Derivatives measure change. Gradient descent follows the slope downhill to minimise a model’s error.

    Slopes and derivatives · Partial derivatives and gradients · Gradient descent · Learning rate

  4. Probability

    Chance, conditional probability and Bayes’ rule — how to update beliefs with evidence.

    Events and probability rules · Conditional probability · Bayes’ rule · Expected value

  5. Linear algebra in models

    Regression, PCA and embeddings are linear algebra; seeing that makes models less mysterious.

    Least squares as matrices · Eigenvectors and PCA (intuition) · Embeddings and cosine similarity · Numerical stability

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Foundations track

  1. Data Foundations & Literacy Beginner
  2. Statistics & Probability for Data Beginner → Intermediate
  3. Mathematics for Data Science & ML (this course) Beginner → Intermediate

Part of these career paths

Start learning

Questions and answers

How long does the Mathematics for Data Science & ML course take?
About 16 hours across 5 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
Is Mathematics for Data Science & ML free?
Yes. Every lesson, lab and the final exam are free; you only need a free account.
Do I get a certificate for Mathematics for Data Science & ML?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting Mathematics for Data Science & ML?
It follows Statistics & Probability for Data in the Foundations track. If Foundations is new to you, start with Data Foundations & Literacy.
What will I be able to do after Mathematics for Data Science & ML?
Read formulas in papers and documentation; Use vectors and matrices for data; Explain gradients and gradient descent.