Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is regularization in machine learning, and why is it necessary?
Answer: Regularization is a technique used to prevent overfitting by adding a penalty term to the model's cost function. It discourages overly complex models by penalizing large coefficients.

Example:

L1 regularization (Lasso) penalizes the absolute values of coefficients, encouraging sparsity in feature selection.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook