load_project_config_yaml#
- scikitplot.mlflow.load_project_config_yaml(path, *, profile='local', project_root=None)[source]#
Load project MLflow config from a YAML file.
- Parameters:
- pathpathlib.Path
Path to YAML config file (.yaml or .yml).
- profilestr, default=”local”
Profile name.
- project_rootpathlib.Path or None, default=None
Project root used to resolve relative paths. If None, discovered via
find_project_root.
- Returns:
- ProjectConfig
Loaded project configuration.
- Raises:
- FileNotFoundError
If the file does not exist.
- ImportError
If PyYAML is not installed.
- ValueError
If the YAML does not parse to a mapping.
- Parameters:
- Return type: