split_transforms ¶
CLI module for splitting YAML configuration files into unique files for each transform.
This module provides functionality to split a single YAML configuration file into multiple YAML files, each containing a unique transform associated to a unique split. The resulting YAML files can be used as input configurations for the stimulus package.
Functions:
-
split_transforms
–Reads a YAML config and generates files for all split - transform possible combinations.
split_transforms ¶
Reads a YAML config and generates files for all split - transform possible combinations.
This script reads a YAML with a defined structure and creates all the YAML files ready to be passed to the stimulus package.
The structure of the YAML is described here -> TODO: paste here the link to documentation This YAML and its structure summarize how to generate all the transform for the split and respective parameter combinations.
This script will always generate at least one YAML file that represent the combination that does not touch the data (no transform).
Source code in src/stimulus/cli/split_transforms.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|