L1 Versus L2 Regularization for an Interpretable Credit Scorecard

Last updated: November 29, 2026

Quick Overview

You are fitting a logistic regression scorecard on 300 candidate features for small business card applicants. Explain how L1 and L2 penalties differ, which you would use, and how you would pick the penalty strength.

Capital One
Machine Learning
Data Scientist
Capital One
November 29, 2026
Data Scientist
Technical Screen
Machine Learning
Easy

0

0

0 solved


You are fitting a logistic regression scorecard on 300 candidate features for small business card applicants. Explain how L1 and L2 penalties differ, which you would use, and how you would pick the penalty strength.

Logistic regression scorecards remain common in regulated credit decisions because they are easy to explain and validate, and Capital One's small business card team is no exception. The interviewer checks a clear grasp of the penalties and why sparsity matters when every feature needs documentation.

What the Interviewer Expects
  • Writes both penalized objectives
  • Explains why L1 drives coefficients to exactly zero and L2 shrinks them
  • Discusses correlated features under each penalty
  • Chooses the penalty strength by cross-validation on a time-respecting split
  • Mentions elastic net and standardization
Key Topics to Cover
regularization
L1
L2
logistic regression
scorecards
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Two features are 0.95 correlated. What does L1 do with them and is that a problem?
  • Why must features be standardized before applying the penalty?
  • How would you get stable feature selection across retrains?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

300 candidate features, many correlated (for example several bureau utilization variants). The final model must be documented feature by feature for model risk, so fewer features is a real benefit. De...

Approach

Penalized log loss: L1: min⁡β−ℓ(β)+λ∑j∣βj∣L2: min⁡β−ℓ(β)+λ∑jβj2.L_1:\ \min_\beta -\ell(\beta) + \lambda \sum_j |\beta_j| \qquad L_2:\ \min_\beta -\ell(\beta) + \lambda \sum_j \beta_j^2. The L1 penalty has a corner at zero, so the optimum of...


Submit Your Answer
Markdown supported