Engineer Behavioral Features From Card Histories for Default Prediction

Last updated: November 29, 2026

Quick Overview

You have 24 months of monthly statement data and daily transactions for existing cardholders. Propose features for predicting 12-month default, explain how you would build them without leakage, and say which you expect to matter most.

Capital One
Machine Learning
Data Scientist
Capital One
November 29, 2026
Data Scientist
Onsite
Machine Learning
Medium

0

0

0 solved


You have 24 months of monthly statement data and daily transactions for existing cardholders. Propose features for predicting 12-month default, explain how you would build them without leakage, and say which you expect to matter most.

Capital One's existing-customer credit models drive line management and collections, and the edge usually comes from behavioral features built from the bank's own data rather than bureau scores alone. The interviewer is checking domain intuition about credit behavior, feature construction over windows, and point-in-time discipline.

What the Interviewer Expects
  • Organizes features into utilization, payment, spend, and trend families
  • Uses multiple lookback windows and ratios, not just levels
  • Anchors every feature to an observation date before the outcome window
  • Handles new accounts with short history
  • Mentions monotonicity and explainability needs for adverse action
  • Proposes how to measure each family's incremental value
Key Topics to Cover
feature engineering
credit risk
point-in-time
behavioral scoring
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
  • How would you handle a line increase during the lookback window?
  • Which features might create fair lending concerns?
  • How would you decide between 3, 6 and 12 month windows?
  • How would you compress daily transactions into sequence embeddings, and would it be worth it?
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
  • Observation date TT each month; label = 90+ days past due or charge-off within (T,T+12 months](T, T + 12\text{ months}].
  • Every feature uses data on or before TT, with the limit and balance as of TT.
  • Model...
Approach

Group features into families, compute each over 3, 6 and 12 month windows, and add trend features (recent window divided by longer window). Then measure value by family with ablation on an out-of-time...


Submit Your Answer
Markdown supported