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
November 29, 20260
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
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- 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 PrepSample Answer
Clarify
- Observation date each month; label = 90+ days past due or charge-off within .
- Every feature uses data on or before , with the limit and balance as of .
- 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...