📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What does L2 regularisation (ridge) do?

A. Penalises the sum of squared weights, shrinking them towards zero ✅
B. Deletes training examples
C. Increases all weights
D. Removes features completely

Correct Answer: A. Penalises the sum of squared weights, shrinking them towards zero

Explanation

L2 adds a penalty proportional to the square of weights, keeping them small and the model smoother.