Interview practice question
Energy demand model and time features
Machine Learning · Feature Engineering · Intermediate
You're predicting hourly electricity demand. How do you engineer time features?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Hour, day of week, month with cyclical encoding for linear/NN models.
- Holiday and special event flags.
- Weather: temperature, humidity, with non-linear effects (heating/cooling degree days).
- Lags and rolling averages respecting horizon.
- Interactions: hour × weekday.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.