PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Machine Learning/Upstart

Explain L1 vs L2 and ridge vs lasso

Last updated: Mar 29, 2026

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.

  • easy
  • Upstart
  • Machine Learning
  • Data Scientist

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.

Related Interview Questions

  • Implement PAVA spend-smoothing under no-borrowing constraint - Upstart (hard)
  • Derive logistic regression objective and gradients - Upstart (easy)
  • Address Missing Income Bracket in California Housing Data - Upstart (hard)
  • Design Push-Notification System for Airport Surge Pricing - Upstart (medium)
  • How to Architect a Personalized Ads Serving System - Upstart (hard)
Upstart logo
Upstart
Dec 9, 2025, 12:00 AM
Data Scientist
Onsite
Machine Learning
7
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.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Upstart•More Data Scientist•Upstart Data Scientist•Upstart Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • Careers
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.