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: 39 lessons
Vectors and data
- Feature vectors and the data matrix
- Dot product
- L1 and L2 norms
- Cosine similarity
- L1 and L2 norms: more
- Checkpoint: vectors and data
The linear model and training
- Linear model y = Wx + b
- MSE loss function
- Partial derivatives and the gradient
- Gradient descent
- Gradient descent: more
- Checkpoint: the linear model and training
Neural networks and backpropagation
- Activation functions: sigmoid and ReLU
- Softmax
- Chain rule
- Backpropagation
- Backpropagation: more
- Checkpoint: neural networks
Probability and classification
- Logistic regression
- Cross-entropy
- Probability, likelihood, Bayes
- Checkpoint: probability and classification
Model quality
- Metrics: accuracy, precision, recall, F1
- Overfitting and splitting the data
- Regularization
- Feature normalization
- PCA and eigenvectors
- Checkpoint: model quality
Clusters, trees and ensembles
- k-means: clustering
- Decision trees: Gini and entropy
- Ensembles: forest, bagging, boosting
- Test: clusters, trees and ensembles
Training in practice
- Stochastic descent and mini-batches
- Momentum and Adam
- Normal equations of regression
- Backpropagation for layers
- Check: training in practice
Model evaluation: cross-validation
- Cross-validation, ROC-AUC, bias and variance
- Check: model evaluation