Skip to main content

Integrate MLflow into getML

Project description

getml-mlflow

How to use

Prepare the Python environment.

$ uv venv

Install getml-mlflow via pip from pypi.

$ uv pip install getml-mlflow

Install latest getml-mlflow via pip from repository.

$ uv pip install "git+ssh://git@github.com/getml/getml-mlflow.git"

Run the mlflow server with its browser UI.

$ uv run mlflow ui

Open the mlflow UI in your browser.

$ open http://localhost:5000

Documentation

See User Guide

See API Reference

Log via mlflow

To log information from getML pipelines and its fit, score, predict and transform methods into mlflow, you can activate the mlflow autologging capabilities.

import getml_mlflow
getml_mlflow.autolog()

You can try this with our demonstrational notebooks and the community variants.

Delete a deleted experiment

By deleting an experiment in the mlflow UI, the experiment is still preset in the aether... Even when deleting the experiment via the mlflow CLI, the experiment is still present in the aether...

$ uv run mlflow experiments search --view all
Experiment Id       Name            Artifact Location
------------------  --------------  ------------------------------------
0                   Default         mlflow-artifacts:/0
888888888888888888  interstate94    mlflow-artifacts:/888888888888888888

$ uv run mlflow  experiments  delete -x 888888888888888888
Experiment with ID 888888888888888888 has been deleted.

Creating another experiment with the same name will result in the following error:

RestException: RESOURCE_ALREADY_EXISTS: Experiment 'interstate94' already exists in deleted state. You can restore the experiment, or permanently delete the experiment from the .trash folder (under tracking server's root folder) in order to use this experiment name again.

You have to delete the experiment from the aether via

$ rm -rf mlruns/.trash/888888888888888888/
$ MLFLOW_TRACKING_URI="http://localhost:5000" uv run mlflow gc

Download files

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

Source Distribution

getml_mlflow-0.1.2.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getml_mlflow-0.1.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file getml_mlflow-0.1.2.tar.gz.

File metadata

  • Download URL: getml_mlflow-0.1.2.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.8

File hashes

Hashes for getml_mlflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b3d2b51c3636fcf1c007b38556e8ea154910d11c62d6d5a5013518390481947c
MD5 a2168488dda691280ab34592ab0daa12
BLAKE2b-256 d5f2a2de53cc7c7dc3d77c927a8a27bae682147cded5b11595e972fc6ac79b6f

See more details on using hashes here.

File details

Details for the file getml_mlflow-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for getml_mlflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c18211028ceace0560b8331328a3d2be5f67bacb2da54f138f7a31150a8474da
MD5 318e76544080a88d8ae7432fd1274a7f
BLAKE2b-256 30d487f280681d23c0de9900e66b3d359266bedf6d70d0e29b63fcfeb2ec0dfb

See more details on using hashes here.

Supported by

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