Interview practice question
Using order timestamps as features
Machine Learning · Feature Engineering · Beginner
Your dataset has order timestamps. A colleague feeds the raw timestamp into the model. What would you do instead?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Raw timestamps encourage memorizing time periods and don't generalize.
- Extract hour, day of week, month, holiday flags.
- Time-since features (days since last order).
- Use local time zones.
- Avoid absolute date unless modeling trends deliberately.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.