EPFL · CS-233 Introduction to Machine Learning

What comes up in the EPFL CS-233 Machine Learning exam?

Cortex sorted all 130 questions from 4 finals (2019, 2020, 2021 and 2024) by topic. The exam is broad: 28 topics, and the top ten make up 68% of the questions.

Finals analysed
4
Years
2019 → 2024
Questions
130
Topics
28

The topics, ranked by weight

Weight is the share of the 130 questions that tested the topic. The finals count says how many of the 4 papers had at least one.

  1. Logistic regression

    9.2%in 4 of 4 finals

    How it’s askedWrite the cross-entropy loss, compute its value on a few points, and say what happens on linearly separable data.

    Common trapOn separable data with no regularisation, the weights grow without bound: training accuracy reaches 100% but the loss never reaches zero.

  2. K-means clustering

    8.5%in 4 of 4 finals

    How it’s askedRun the assignment and update steps by hand, compare two clusterings by their distortion, and pick a feature space (polar coordinates, for example) where the clusters become separable.

    Common trapChoosing K by the lowest objective: it always drops as K grows, down to zero with one point per cluster.

  3. SVMs: hard and soft margin

    8.5%in 3 of 4 finals

    How it’s askedSay how C changes the margin and the training accuracy, and write the equation of the decision boundary.

    Common trapGetting the direction of C backwards: a larger C penalises violations more, so the margin narrows and training accuracy rises.

  4. CNNs: convolution, output sizes and training

    7.7%in 4 of 4 finals

    How it’s askedCompute output sizes and parameter counts layer by layer, and say what to change when the input image grows.

    Common trapLeaving out the bias or the input channels when counting the parameters of a convolution layer.

  5. Linear regression and least squares

    6.9%in 4 of 4 finals

    How it’s askedWrite the least-squares objective and its closed form, then use a fitted line as a threshold classifier.

    Common trapWith perfectly correlated features, XᵀX is singular and the closed form has no unique solution.

  6. Principal component analysis (PCA)

    6.9%in 4 of 4 finals

    How it’s askedChoose the number of components from the explained variance, and link PCA to a linear autoencoder or to the SVD.

    Common trapRunning PCA on features with different scales without standardising them first: the largest-scale feature takes the first component.

  7. Generalisation, overfitting and regularisation

    5.4%in 4 of 4 finals

    How it’s askedRead training and validation curves, name the failure, and pick a remedy such as L2, dropout or more data.

    Common trapAdding regularisation to a model that underfits: it makes the error worse, not better.

  8. k-nearest neighbours

    5.4%in 4 of 4 finals

    How it’s askedSketch the 1-NN or 2-NN regression curve, choose k from a validation error, and compare distance metrics.

    Common trap1-NN always has zero training error, so its training error says nothing about the choice of k.

The other 20 topics

  1. MLPs: architecture and forward pass
    5.4%in 3 of 4 finals
  2. Gradient descent and optimisation
    4.6%in 2 of 4 finals
  3. Kernel trick and feature expansion
    4.6%in 4 of 4 finals
  4. Evaluation metrics and class imbalance
    3.1%in 3 of 4 finals
  5. Kernel ridge regression
    3.1%in 3 of 4 finals
  6. Learning paradigms
    3.1%in 2 of 4 finals
  7. Data preprocessing and normalisation
    2.3%in 1 of 4 finals
  8. Activation functions
    1.5%in 2 of 4 finals
  9. Autoencoders
    1.5%in 1 of 4 finals
  10. Data augmentation
    1.5%in 1 of 4 finals
  11. Fisher LDA
    1.5%in 2 of 4 finals
  12. Kernel SVMs
    1.5%in 2 of 4 finals
  13. Linear decision boundaries
    1.5%in 1 of 4 finals
  14. Loss functions
    1.5%in 2 of 4 finals
  15. Bag-of-words features
    0.8%in 1 of 4 finals
  16. Deep learning frameworks
    0.8%in 1 of 4 finals
  17. Model selection and cross-validation
    0.8%in 1 of 4 finals
  18. Ridge regression
    0.8%in 1 of 4 finals
  19. Self-attention
    0.8%in 1 of 4 finals
  20. Spectral clustering
    0.8%in 1 of 4 finals

Year by year

Number of questions each final gave to the 8 biggest topics.

Questions per final, for the 8 biggest topics
Topic2019202020212024
Logistic regression1164
K-means2342
SVMs6410
CNNs3511
Linear regression2133
PCA2412
Generalisation and overfitting1213
K-nearest neighbours1321

What the questions look like

FormShare of questions
Open questionA short derivation, a computation or a sentence of explanation.57%
Multiple choiceOne answer among several, often on the effect of a hyperparameter.43%

Each question is sorted by the form Cortex noted while reading the paper.

How to revise, from the data

  1. Cover the whole syllabus. The questions spread over 28 topics, and the biggest one is only 9.2% of them.
  2. Start with the 8 topics that came up in all 4 finals: logistic regression, k-means, CNNs, linear regression, PCA, generalisation and overfitting, k-nearest neighbours and the kernel trick.
  3. Train on open questions as much as on multiple choice: open questions are 57% of the paper.
  4. Make the quick computations automatic. CNNs came up in every final, mostly as parameter counts and output sizes, and loss values are asked by hand.

Questions

What comes up most in the CS-233 exam?

Logistic regression (9.2% of questions), then k-means (8.5%), SVMs (8.5%) and CNNs (7.7%). Together they make up 34% of the 130 questions in 4 finals from 2019 to 2024.

Which topics come up in every CS-233 final?

8 topics came up in all 4 finals: logistic regression, k-means, CNNs, linear regression, PCA, generalisation and overfitting, k-nearest neighbours and the kernel trick.

What do the CS-233 exam questions look like?

By share of questions: open question 57%, multiple choice 43%.

How many past exams is this based on?

4 finals (2019, 2020, 2021 and 2024), 130 questions in total, analysed by Cortex. Last analysis: September 2026.

Can I get the same for my own course?

Yes. The free What’s on my exam? tool runs the same count on your own past papers, and Cortex then builds mock exams in your course’s format.

How these numbers were counted

Cortex read each of the 4 finals, split it into questions and linked each question to one topic of the course. A topic’s weight is its share of all 130 questions, the same count Cortex uses to rank a syllabus. No exam statement is reproduced: the descriptions on this page were written for it. Last analysis: September 2026.

Other courses

Ready to train on CS-233 in the real format?

Try Cortex