windowed_signature¶
Sliding-window signatures using Chen's identity.
Each window signature is computed from streaming prefix signatures:
Sig(path[s:e]) = Sig(path[:s])^{-1} ⊗ Sig(path[:e]) where e = s + window_size - 1.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
Tensor
|
Tensor of shape |
required |
depth
|
int
|
Maximum depth to truncate signature computation. |
required |
window_size
|
int
|
Number of path points per window. |
required |
hop_size
|
int
|
Step between consecutive window starts ( |
required |
Returns:
| Type | Description |
|---|---|
Tensor
|
Tensor of shape |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Notes
- Implements the Signatory-style streaming reuse (Chen) without materializing every window explicitly.
- Provides the building block for
windowed_log_signature; both share identical window indexing and batching semantics.