← Advanced Math: for Machine Learning

⇄ Sync
Length

Program
History and progress transfer
Choose a topic — problems will keep coming one after another for as long as you like

Theory of all steps of the program by blocks. Open a topic to read it.

How a session goes

A session is 10–90 minutes: a warm-up on what you've learned, new steps with short theory and problems, practice. Each problem gives two tries: 100 points on the first, 60 on the second; after the second mistake the correct answer is shown. You move on in the program if 70 % of the problems are solved.

Problems with numbers are generated anew every time a step is repeated. A fractional answer can be entered with a comma, a point or as a fraction: 0,5, 0.5, 1/2. In Practice any topic is available without a timer.

About the course

Machine learning math in practice: feature vectors, the dot product and cosine similarity, norms, the linear model y = Wx + b, MSE and cross-entropy losses, gradient descent and backpropagation on a small network, sigmoid, softmax and ReLU, logistic regression, Bayes and likelihood, quality metrics, overfitting and regularization, feature normalization and PCA. Requires linear algebra, calculus and probability.

Course program: 28 lessons

Vectors and data

  1. Feature vectors and the data matrix
  2. Dot product
  3. L1 and L2 norms
  4. Cosine similarity
  5. L1 and L2 norms: more
  6. Checkpoint: vectors and data

The linear model and training

  1. Linear model y = Wx + b
  2. MSE loss function
  3. Partial derivatives and the gradient
  4. Gradient descent
  5. Gradient descent: more
  6. Checkpoint: the linear model and training

Neural networks and backpropagation

  1. Activation functions: sigmoid and ReLU
  2. Softmax
  3. Chain rule
  4. Backpropagation
  5. Backpropagation: more
  6. Checkpoint: neural networks

Probability and classification

  1. Logistic regression
  2. Cross-entropy
  3. Probability, likelihood, Bayes
  4. Checkpoint: probability and classification

Model quality

  1. Metrics: accuracy, precision, recall, F1
  2. Overfitting and splitting the data
  3. Regularization
  4. Feature normalization
  5. PCA and eigenvectors
  6. Checkpoint: model quality