Skip to main content

Extend MLflow API

Project description

MLflow Extend

Test Documentation Status Code style: black GitHub

Extend MLflow's functionality.

Examples

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from mlflow_extend import mlflow

with mlflow.start_run():
    # dict
    mlflow.log_dict({'a', 0}, 'dict.json')

    # numpy array
    mlflow.log_numpy(np.array([0]), 'array.npy')

    # pandas dataframe
    mlflow.log_df(pd.DataFrame({'a': [0]}), 'df.csv')

    # matplotlib figure
    fig, ax = plt.subplots()
    ax.plot([0, 1], [0, 1])
    mlflow.log_figure(fig, 'figure.png')

Lint

# Run lint checking with black and flake8.
./dev/lint.sh

Test

# Run all the tests.
./dev/test.sh

# Save figures generated during the tests to .pytest_basetemp.
./dev/test.sh --savefig

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-extend-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

mlflow_extend-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mlflow-extend-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for mlflow-extend-0.1.0.tar.gz
Algorithm Hash digest
SHA256 baecadfab24f2c120436b2a3396c0463067cfdcb14643157c09124ee0b6984b8
MD5 13d3e436c787f63a436ce8e90ee3fde4
BLAKE2b-256 975b33089886bcc83212a330a8d9684c8e6cfcde62570507e89455ea05f76a56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlflow_extend-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for mlflow_extend-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52784d47900eb3bee1a63d51c770bd26eb5361242b85c2453a1fd5745aa6b8a5
MD5 f4158cb4ed213fbcf747c8aa2ac3fd09
BLAKE2b-256 8489a4dbd7c46a225b632af376589a2be85c33608513be9b48d4d8b72c6cf855

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