load_project_config#

scikitplot.mlflow.load_project_config(path, *, profile='local', project_root=None)[source]#

Load project MLflow config from TOML or YAML based on file extension.

Parameters:
pathpathlib.Path

Path to a config file. Supported extensions: .toml, .yaml, .yml

profilestr, default=”local”

Profile name.

project_rootpathlib.Path or None, default=None

Optional project root override for path normalization.

Returns:
ProjectConfig

Loaded config.

Raises:
ValueError

If file extension is unsupported.

Parameters:
Return type:

ProjectConfig