Skip to content
Preptima

Supervised Learning interview questions

Linear and logistic models, trees and gradient boosting, regularisation, and choosing a family from the data and the constraints rather than by habit.

3 questions in Machine Learning.

medium2

mediumConcept

What does regularisation do to a model, and how do L1 and L2 differ in their effect?

Regularisation adds a penalty on coefficient size to the objective, so each coefficient must buy its own weight with error. L2 shrinks smoothly and spreads weight across correlated features; L1 has a constant gradient towards zero, so it drives coefficients exactly to zero and selects features as a side effect.

4 minentry, mid, senior

hard1