AI engineering glossary · Feature engineering data prep

What is window feature?

Window feature: A feature calculated over a fixed span of recent history, such as the sum of purchases in the last 7 days. Time windows capture recent behaviour and trends and must only use data available before the prediction time.

Level: intermediateTopic: Feature engineering data prep

Window feature: an example

For a churn model, sessions_last_7d and sessions_last_30d are window features; a sharp drop between them signals waning interest.

Related terms

More Feature engineering data prep terms

Where you learn it

Window feature is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.