SplitterTags¶
yohou.utils.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": Reserved for a future gap splitter (wraps another splitter to add a gap between train and test); not used by any shipped splitter - 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
|