1. Home
  2. Data Science
  3. Linear Regression
  4. Ridge regression adds which penalty term to the…

Added 2 Nov 2026

Ridge regression adds which penalty term to the least-squares loss?

  1. Number of non-zero coefficients
  2. Sum of squared coefficients (L2) Correct answer
  3. Sum of absolute coefficients (L1)
  4. Square of the intercept term only

Correct answer

B. Sum of squared coefficients (L2)

19 views

MCQSEXAM

Explanation

Ridge (L2) shrinks all coefficients toward zero but rarely makes any exactly zero. Lasso (L1) can set coefficients to zero, which performs feature selection.

Reference

Asked in: Data Science Interviews, GATE DA

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Linear Regression MCQs

Practise all Linear Regression MCQs

Similar MCQs