Explain L1 vs L2 and ridge vs lasso

Quick Overview

This question evaluates understanding of regularization techniques in Machine Learning—specifically distinctions between L1 and L2 norms and their instantiation as Lasso and Ridge regression—covering effects on objective functions, parameter sparsity, geometric intuitions, handling of correlated features, and the role of feature scaling.

Explain L1 vs L2 and ridge vs lasso

Company: Upstart

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Onsite

Explain the differences between: 1. **L1 vs L2 regularization** (how they change the objective, geometry/intuitions, and typical effects on learned parameters). 2. **Ridge vs Lasso** regression (relationship to L2/L1, impact on feature selection/sparsity). Also discuss practical considerations: - when you would choose ridge vs lasso (or elastic net) - what happens with correlated features - why feature scaling/standardization matters (Optionally) define what a **likelihood** is and how it relates to loss functions such as negative log-likelihood.

Quick Answer: This question evaluates understanding of regularization techniques in Machine Learning—specifically distinctions between L1 and L2 norms and their instantiation as Lasso and Ridge regression—covering effects on objective functions, parameter sparsity, geometric intuitions, handling of correlated features, and the role of feature scaling.

|Home/Machine Learning/Upstart
Upstart logo
Upstart
Dec 9, 2025, 12:00 AM
easyData ScientistOnsiteMachine Learning
10
0

Explain the differences between:

  1. L1 vs L2 regularization (how they change the objective, geometry/intuitions, and typical effects on learned parameters).
  2. Ridge vs Lasso regression (relationship to L2/L1, impact on feature selection/sparsity).

Also discuss practical considerations:

  • when you would choose ridge vs lasso (or elastic net)
  • what happens with correlated features
  • why feature scaling/standardization matters

(Optionally) define what a likelihood is and how it relates to loss functions such as negative log-likelihood.

Loading comments...