workflow#

scikitplot.mlflow.workflow(*, profile='local', open_ui_seconds=0.0, experiment_name=None, fmt='toml', overwrite=False)[source]#

Run the built-in end-to-end MLflow workflow demo.

This is a small, newbie-friendly helper that:

  1. Exports the library’s built-in demo config (TOML or YAML) into your project.

  2. Runs a small “train” logging run.

  3. Optionally keeps the UI open for inspection.

  4. Runs a small “predict” logging run.

Parameters:
profilestr, default=”local”

Profile name inside the project config.

open_ui_secondsfloat, default=0.0

If > 0, sleeps for this many seconds while the session is open, printing ui_url.

experiment_namestr or None, default=None

If provided, patches the exported config to use this experiment name.

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

Which built-in demo config format to export.

overwritebool, default=False

Whether to overwrite existing project config files.

Returns:
None
Parameters:
  • profile (str)

  • open_ui_seconds (float)

  • experiment_name (str | None)

  • fmt (str)

  • overwrite (bool)

Return type:

None

See also

run_demo

The implementation used by the CLI entry point.