Skip to main content

HiPlot fetcher plugin for MLflow experiment tracking.

Project description

A HiPlot experiment fetcher plugin for MLflow, to help visualise your tracked experiments.

Installation

Install this library with pip as:

pip install hiplot_mlflow

Usage

You can visualise experiments either in a Jupyter notebook or using HiPlot’s built in server.

Notebook

In a Jupyter notebook, use hiplot_mlflow.fetch to retrieve an MLflow experiment by name, and display it with HiPlot:

import hiplot_mlflow
experiments = hiplot_mlflow.fetch("my-lovely-experiment")
experiments.display(force_full_width=True)

You can also retrieve experiments by their MLflow experiment ID:

experiment = hiplot_mlflow.fetch_by_id(0)

By default, MLflow tags are not shown (only MLflow metrics and parameters are shown). To display them, pass include_tag=True to either of the fetch functions, for example:

experiment = hiplot_mlflow.fetch("my-lovely-experiment", include_tags=True)
Loading HiPlot in a notebook

See more about what you can do with the returned hiplot.Experiment values in the HiPlot documentation.

HiPlot Server

To use HiPlot’s built in webserver with hiplot-mlflow, you can start it up with the custom experiment fetcher implemented by this package:

hiplot hiplot_mlflow.fetch_by_uri

You can then use the mlflow:// schema to access MLflow experiments in HiPlot by either experiment or name, for example:

mlflow://name/experiment-name
mlflow://id/0
Loading HiPlot server with experiment name

You can also add tags=yes as a query string parameter to include tags in the output, for example:

mlflow://name/experiment-name?tags=yes

You can also use the multiple experiments loading syntax. Either the dictionary format (to define your own labels):

multi://{
    "first-experiment": "mlflow://id/1",
    "another-experiment": "mlflow://name/another-experiment?tags=yes"
}

or list format:

multi://[
    "mlflow://id/1",
    "mlflow://name/another-experiment?tags=yes"
]
Multiple experiments in HiPlot server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hiplot-mlflow-0.1.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

hiplot_mlflow-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file hiplot-mlflow-0.1.0.tar.gz.

File metadata

  • Download URL: hiplot-mlflow-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for hiplot-mlflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd3af2659d2ea53978d02d364647c5b4120d3f3518273f5e31a2971c66b2db82
MD5 689bf41344793d86f595c79b7883ce82
BLAKE2b-256 8e2f8feaff5e464db7e3769543843a4e3b48c9b145975b90252a12109e7b6ee7

See more details on using hashes here.

File details

Details for the file hiplot_mlflow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hiplot_mlflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for hiplot_mlflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46a45ae9cf65391ec9f0f85e87e3b6ad1a87153a36c9275747ead94e61cb6fb7
MD5 115cef0af2dea7dd309a01d610c7a796
BLAKE2b-256 b30550dcaa938689a727c2a32f23069b91a1c66acd55dc04ecf4b359d425f7f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page