Skip to content
← All tracks

Regression from Scratch

PyTorch

Linear, polynomial, regularized, and logistic — the classics every interview revisits.

0 / 4 solved
  1. 1. Not solved yet. Linear Regression
  2. 2. Not solved yet. Polynomial Regression
  3. 3. Not solved yet. Ridge Regression
  4. 4. Not solved yet. Logistic Regression From Scratch

Check yourself

4 questions · one attempt each

These do not count toward finishing the track. They are here to catch the things that are easy to read past.

0 / 4

What is the practical difference between L2 (ridge) and L1 (lasso) regularisation?

loss + lambda * (w ** 2).sum()
loss + lambda * w.abs().sum()
Question 1 of 4