APM_51434_EP · Master X-HEC · 2026–27

Introduction to Machine Learning (ML1)

Practical sessions (PC) with the material for each session. One tutorial group, September–December 2026.

Practical sessions

Material for each session, as individual files. If you would like the correction of a TD or a Lab, please ask Paul Mangold.

PC1

Linear regression

Least squares, normal equations, convexity and existence of the solution, OLS and GLS, polynomial regression, ridge and lasso regularisation.

Available
PC2

k-nearest neighbours

Distances and NumPy broadcasting, a k-NN classifier written from scratch, generalisation as a function of k, next-word prediction.

Available
PC3

Probability, bias–variance and decision trees

Conditional expectation and the bias–variance decomposition, VC dimension of trees, CART on boolean formulas and on regression data, random forests, the Titanic dataset.

Available
PC4

Logistic regression

Coming soon.

Coming soon
PC5

Regularisation and variable selection

Coming soon.

Coming soon
PC6

Cross-validation and model selection

Coming soon.

Coming soon
PC7

Metrics and fairness

Coming soon.

Coming soon