Explain it in 60 seconds
Cyclical encoding for time features
Machine Learning · Feature Engineering · Intermediate
Why and how do you encode cyclical features like hour of day or month?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Raw numbers break continuity (hour 23 and hour 0 look far apart).
- Use sine and cosine transformations.
- Places values on a circle so neighbors stay close.
- Useful for linear models and neural nets.
- Trees can work with raw values or one-hot.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.