MLflow Extend
Extend MLflow's functionality.
Installation
From PyPI
pip install mlflow-extend
From GitHub (development version)
pip install git+https://github.com/harupy/mlflow-extend.git
Example
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from plotly import graph_objects as go
from mlflow_extend import mlflow
with mlflow.start_run():
# mlflow native APIs
mlflow.log_param('param', 0)
mlflow.log_metric('metric', 1.0)
##### new APIs mlflow_extend provides #####
# flatten dict
mlflow.log_params_flatten({"a": {"b": 0}})
mlflow.log_metrics_flatten({"a": {"b": 0.0}})
# 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')
# plotly figure
fig = go.Figure(data=[go.Bar(x=[1, 2, 3], y=[1, 3, 2])])
mlflow.log_figure(fig, 'figure.html')
# confusion matrix
mlflow.log_confusion_matrix([[1, 2], [3, 4]])
# run "mlflow ui" and see the result.
Metadata
Release files for mlflow-extend 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlflow-extend-0.1.6.tar.gz | 11.8 kB | Without provenance | Details for mlflow-extend-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlflow_extend-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for mlflow_extend-0.1.6-py3-none-any.whl |
Total release size: 27.4 kB
Release files / mlflow-extend-0.1.6.tar.gz
| Download URL | mlflow-extend-0.1.6.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a499365bdcd2e6fa7fcb4c1c6a077afd9196157154b7bba684c1b9ae8beeaa0
|
|
BLAKE2b-256 checksum How to use checksums |
208d168d5fc922e788d2f2ad92719eb391d276a15f8ce86c07832d259e83fbc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / mlflow_extend-0.1.6-py3-none-any.whl
| Download URL | mlflow_extend-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a8815d329151b31e540fcdab95cbee4b3ca3a32d0a549cc18ea3e4b6741ed7b
|
|
BLAKE2b-256 checksum How to use checksums |
b2fe99b841925e9ca74f3b362b2ffb27f17a3370f1e53a634a3af8f4c464bdb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Security for mlflow-extend 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.