Expand description
Split strategies for discovery / estimation.
SPDX-License-Identifier: MIT OR Apache-2.0
Structs§
- Blocked
Temporal Split - Blocked temporal split: contiguous time blocks assigned to train / test.
- Cluster
Split - Cluster split: same mechanics as grouped, distinct type for cluster ids.
- Discovery
Estimation Split - Discovery / estimation split with a temporal gap.
- EnvHoldout
Split - Environment holdout: discovery vs estimation environment index sets (no data copy).
- Grouped
Split - Grouped split: entire groups assigned to train or test (no leakage).
- Ordered
Frac - Newtype so
f64fraction can live on anEqstruct via bit pattern. - Random
IidSplit - Random IID train/test split (seeded; metadata only).
- Regime
Holdout Split - Regime holdout: discovery vs estimation regime id sets (no data copy).
- Rolling
Origin Split - Rolling-origin (expanding window) temporal folds.
- RowSplit
- Train / test row-index partition (metadata only — no data copy).
- Temporal
Fold - One rolling-origin fold.
- Time
Range - Half-open index range
[start, end).
Enums§
- Temporal
Random Policy - Whether random row splits are allowed on temporal / panel / event data.
Functions§
- ensure_
random_ allowed_ on_ temporal - Guard used by planners before applying
RandomIidSplitto temporal data.