PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Amazon

Choose regularization norms and model formulations

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of regularization norms (L0, L1, L2, L∞), objective formulations for linear and logistic regression, and practical competencies in handling collinearity, outliers, feature scaling, and optimization difficulty.

  • medium
  • Amazon
  • Machine Learning
  • Data Scientist

Choose regularization norms and model formulations

Company: Amazon

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

Regularization and model choice. 1) For linear and logistic regression, write the objective functions with L0, L1, L2, and L-infinity penalties in both constrained and penalized forms (e.g., minimize loss subject to norm constraint; and minimize loss + lambda * norm). For each norm, state expected coefficient patterns (sparsity, shrinkage, robustness to outliers) and optimization difficulty. 2) Given features X where two groups of predictors are highly collinear and a few outliers exist in X and y, justify which penalty (or elastic net mixing) you would choose and why. 3) Contrast linear regression and logistic regression by explicitly writing the model formulas (link function, conditional distributions) and stating when using linear regression for classification is inappropriate. 4) Discuss how feature scaling interacts with L1 and L2, and what happens if you omit scaling.

Quick Answer: This question evaluates understanding of regularization norms (L0, L1, L2, L∞), objective formulations for linear and logistic regression, and practical competencies in handling collinearity, outliers, feature scaling, and optimization difficulty.

Related Interview Questions

  • GRPO Deep Dive: Critic-Free RL, Parallelism, MLA, and Reward Design for a Reasoning LLM - Amazon (hard)
  • LLM Fundamentals: Tokenization Design and KL-Regularized SFT - Amazon (medium)
  • Predicting the Next Elevator Call Location - Amazon (medium)
  • Explain Transformer and MoE Fundamentals - Amazon (medium)
  • Explain Core ML Interview Concepts - Amazon (hard)
|Home/Machine Learning/Amazon

Choose regularization norms and model formulations

Amazon logo
Amazon
Oct 13, 2025, 9:49 PM
mediumData ScientistTechnical ScreenMachine Learning
3
0

Regularization and model choice. 1) For linear and logistic regression, write the objective functions with L0, L1, L2, and L-infinity penalties in both constrained and penalized forms (e.g., minimize loss subject to norm constraint; and minimize loss + lambda * norm). For each norm, state expected coefficient patterns (sparsity, shrinkage, robustness to outliers) and optimization difficulty. 2) Given features X where two groups of predictors are highly collinear and a few outliers exist in X and y, justify which penalty (or elastic net mixing) you would choose and why. 3) Contrast linear regression and logistic regression by explicitly writing the model formulas (link function, conditional distributions) and stating when using linear regression for classification is inappropriate. 4) Discuss how feature scaling interacts with L1 and L2, and what happens if you omit scaling.

Loading comments...

Browse More Questions

More Machine Learning•More Amazon•More Data Scientist•Amazon Data Scientist•Amazon Machine Learning•Data Scientist Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

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

Product

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

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding 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.