Interview practice question
Turning transaction logs into customer features
Machine Learning · Feature Engineering · Beginner
You have a table with millions of transactions. The model needs one row per customer. How do you create features?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Group by customer with time windows relative to prediction date.
- Counts, sums, averages, max, distinct counts.
- Windows: 7, 30, 90 days.
- Ratios and trends between windows.
- Compute in SQL or Spark for scale.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.