Overview

Schedule

Title Description
Lecture 1: Introduction, terminology, baselines, and decision trees What is machine learning, and when should we use it?; Features, targets, training, and prediction; Classification and regression; Baselines, accuracy, and error; Decision trees, parameters, hyperparameters, and decision boundaries
Lecture 2: ML fundamentals Generalization and data splitting; Training, validation, test, and deployment data; Overfitting, underfitting, and model complexity; Cross-validation and the golden rule
Lecture 3: \(k\)-nearest neighbours and SVMs with RBF kernels Similarity-based algorithms and \(k\)-nearest neighbours; Curse of dimensionality; SVMs with RBF kernels and support vectors; Effects of C and gamma; Model comparison and motivation for preprocessing
Lecture 4: Preprocessing, pipelines, and column transformers Imputation, scaling, and categorical encoding; Transformers and predictive estimators; Pipelines and preprocessing within cross-validation; ColumnTransformer: numeric, categorical, and ordinal branches; Cross-validating the complete prediction pipeline
Lecture 5: More preprocessing and text features Preprocessing pitfalls and data leakage; Handling unseen categories and high-cardinality features; Bag-of-words representations and CountVectorizer; Evaluating text pipelines and comparing with a baseline
Lecture 6: Hyperparameter optimization Motivation and computational cost of hyperparameter optimization; GridSearchCV and RandomizedSearchCV; Pipeline hyperparameters and useful search ranges; Inspecting search results and selecting a model; Optimization bias and final evaluation on the test set
Lecture 7: Linear Models and Loss Functions Notation and matrix shapes; Linear regression and MSE; Ridge, scaling, and alpha; Logistic regression and binary cross-entropy; Parametric and non-parametric models
Lecture 8: Loss Functions, Model Interpretation, Multiclass Classification, and Conclusions MAE and MSE; classification losses; fitting versus evaluation; coefficient interpretation; softmax and cross-entropy; course conclusions
No matching items