Open
Description
Currently, wildcards are hardcoded in I/O filenames. However, users might like to use different parameters (e.g. different outcomes to investigate the same dataset at different taxonomic levels, etc.) to repeat model training. Using Paramspace
would help the rule definitions be more generalized instead of hard-coded. See the main snakemake docs and the snakemake.utils api docs for how Paramspace()
works.
TODO
- Write helper functions for Paramspace:
- Build paramspace from config.
- Get wildcard pattern with certain wildcards escaped with double braces.
- Get instance pattern without certain wildcards included.
- Fix hyperparameter performance combine + plot.