Skip to main content

A mlflow wrapper for easier handling of runs and experiments

Project description

MLFlow Wrapper

Mlflow Wrapper is a python library intended to abstract some functionality away from the developer when interacting with the mlflow library. The library supports/ improves the handling of experiments and offers helper functions which are not available in mlflow by default. Furthermore, the library offers functions to interact with Runs itself, and uploading/downloading files.

Installation

pip install mlflow-wrapper

Quick start

Some quick start examples. Please refer to the wiki for a complete overview of all functions.

Experiment Handler

from mlflow_wrapper.experiment_handler import ExperimentHandler

# Connect to a local mlflow server
exp_handler:ExperimentHandler = ExperimentHandler()

# Get the id of a new experiment which does no exist so far
exp_id = exp_handler.get_experiment_by_name(experiment_name="New Experiment")


Run Handler

from mlflow_wrapper.run_handler import RunHandler

run_handler: RunHandler = RunHandler()

# Delete a parent run and all associated children run. 
# Does only delete the first occurence of the given run name. If multiple runs do have the same name,
# this command needs to be executed multiple times

run_handler.delete_run(experiment_id=exp_id, run_name="My Run")


Bugs & Issues

Please use the GitHub issue tracker for issues. I will try to get to them asap.

Feedback

Feedback is most welcomed and I will respond asap.

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

mlflow_wrapper-0.0.1.8.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

mlflow_wrapper-0.0.1.8-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file mlflow_wrapper-0.0.1.8.tar.gz.

File metadata

  • Download URL: mlflow_wrapper-0.0.1.8.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.4

File hashes

Hashes for mlflow_wrapper-0.0.1.8.tar.gz
Algorithm Hash digest
SHA256 e73e35a0ab1b156b0a59ba489ad2baf11752b6d523adc8d26b426ba7053af5b6
MD5 771dbe72a84807d2efb2d21d59b1428e
BLAKE2b-256 4de0adb1c9ac68c8ce4ffd1d0acd81a4142279112c5a750e54434fd693c0e514

See more details on using hashes here.

File details

Details for the file mlflow_wrapper-0.0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mlflow_wrapper-0.0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7326a7aa963dcf91d824d6a4dc62221faa46ea03f94a52efa8dab142aa746221
MD5 8707cfded3f97ddf78682b2657f94ed3
BLAKE2b-256 4ad0d86d10a0eeb64caa9f5c071038945bd74e794432ba35dcc04c2669b74244

See more details on using hashes here.

Supported by

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