copy_workflow#
- scikitplot.cython.copy_workflow(name, *, dest_dir, overwrite=False)[source]#
Copy a workflow template folder to a destination directory.
- Parameters:
- namestr
Workflow name.
- dest_dirstr or pathlib.Path
Destination directory. The workflow will be copied as
<dest_dir>/<name>/.- overwritebool, default=False
If True, remove any existing destination folder first.
- Returns:
- pathlib.Path
Path to the copied workflow directory.
- Raises:
- FileExistsError
If destination exists and overwrite is False.
- Parameters:
- Return type:
Gallery examples#
Workflow templates (train / hpo / predict) + CLI entry template
Workflow templates (train / hpo / predict) + CLI entry template