sddb.SplitManifest#
- class sddb.SplitManifest(parent_hash: str, by: str, seed: int, ratios: dict[str, float], mode: str, assignments: dict[str, str])#
Per-uid fold assignment, pinned to the parent cohort hash,
bykey,seedand ratios.byis the grouping column, or the name of the grouping function ("callable"for a lambda).Attributes table#
Methods table#
Attributes#
Methods#
- classmethod load(path: str | Path) SplitManifest#
Load a manifest written by
write().