export_builtin_config#

scikitplot.mlflow.export_builtin_config(*, fmt='toml', dest_path=None, project_root=None, overwrite=False)[source]#

Export the built-in demo config into the current project.

Parameters:
fmt{“toml”, “yaml”}, default=”toml”

Which built-in config format to export.

dest_pathpathlib.Path or None, default=None

Destination config path. If None, uses <project_root>/configs/mlflow.<fmt>.

project_rootpathlib.Path or None, default=None

Project root (used when dest_path is None).

overwritebool, default=False

If False, raise when destination exists.

Returns:
pathlib.Path

Destination path written.

Raises:
FileExistsError

If destination exists and overwrite is False.

Parameters:
  • fmt (str)

  • dest_path (Path | None)

  • project_root (Path | None)

  • overwrite (bool)

Return type:

Path