Interview Q&A · questions with model answers

Machine Learning Fundamentals Interview Questions

Part of the study plan for: Machine Learning Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked Explain the bias-variance trade-off.

    A model's error on new data comes from bias (too simple to capture the pattern: underfitting), variance (too sensitive to the training data: overfitting) and irreducible noise. Making a model more…

  2. Explain gradient descent and the role of the learning rate.

    Gradient descent minimises a loss by repeatedly moving the model's parameters a small step in the direction that reduces the loss fastest (the negative gradient). The learning rate sets the step…

  3. How does k-means clustering work, and how do you choose k?

    k-means places k centroids, assigns each point to its nearest centroid, moves each centroid to the mean of its points, and repeats until assignments stop changing. Choose k with the elbow method…

  4. Explain how a neural network learns with backpropagation.

    A forward pass computes predictions layer by layer and a loss compares them with targets. Backpropagation applies the chain rule to compute the gradient of the loss with respect to every weight,…

Was this page helpful?

Report a mistake