Skip to content

Commit

Permalink
[Docs] Add details on transformations: sliding window (#5517)
Browse files Browse the repository at this point in the history
additional details on sliding window
  • Loading branch information
jillnogold committed May 6, 2024
1 parent 66af02a commit dd3ddb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/feature-store/transformations.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ All time windows are aligned to the epoch (1970-01-01T00:00:00Z).

Sliding windows are fixed-size, overlapping, windows (defined by `windows`) that are evaluated at a sliding
interval (defined by `period`).
The period size must be an integral divisor of the window size.
The period size must be an integral divisor of the window size. In general, for best performance, use the highest interval
that you can, and which gives the output you desire. The lower limit is technically 1s, but going that low can be inefficient,
depending on the window size, data, and the engine used.

The following figure illustrates sliding windows of size 20 seconds, and periods of 10 seconds. Since the period is less than the
window size, the windows contain overlapping data. In this example, events E4-E6 are in Windows 1 and 2. When Window 2 is evaluated
Expand Down

0 comments on commit dd3ddb2

Please sign in to comment.