SplitterTags¶
yohou.utils.tags.SplitterTags
dataclass
¶
Tags specific to cross-validation splitters.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
splitter_type
|
(expanding, sliding, gap)
|
Type of cross-validation splitter: - "expanding": Expanding window (train set grows over time) - "sliding": Sliding window (fixed train set size) - "gap": Wraps another splitter to add gap between train and test - None: Not determined or not applicable |
"expanding"
|
supports_panel_data
|
bool
|
Whether the splitter can handle panel data (multiple time series with prefixed column names). |
False
|
produces_non_overlapping_tests
|
bool
|
Whether test sets from different splits are guaranteed not to overlap. True for expanding/sliding windows, may be False for custom splitters. |
True
|
stateful
|
bool
|
Whether the splitter maintains state across split() calls. |
False
|