Skip to content

Latest commit

 

History

History
76 lines (65 loc) · 2.46 KB

README_export_format.md

File metadata and controls

76 lines (65 loc) · 2.46 KB

Export file format

MLflow objects are exported in JSON format.

Each object export file is comprised of three JSON parts:

  • system - internal export system information.
  • info - custom object information.
  • mlflow - MLflow object details from the MLflow REST API endpoint response.

system

"system": {
  "package_version": "1.1.2",
  "script": "export_experiment.py",
  "export_time": 1671248648,
  "_export_time": "2022-12-17 03:44:08",
  "mlflow_version": "2.0.1",
  "mlflow_tracking_uri": "http://localhost:5000",
  "user": "andre",
  "platform": {
    "python_version": "3.8.15",
    "system": "Darwin"
  }
},

info

"info": {
  "num_total_runs": 2,
  "num_ok_runs": 2,
  "num_failed_runs": 0,
  "failed_runs": []
},

mlflow

"mlflow": {
  "experiment": {
    "experiment_id": "1",
    "name": "sklearn_wine",
    "artifact_location": "/opt/mlflow/server/mlruns/1",
    "lifecycle_stage": "active",
    "tags": {
      "experiment_created": "2022-12-15 02:17:43",
      "version_mlflow": "2.0.1"
    },
    "creation_time": 1671248599410,
    "last_update_time": 1671248599410
  },
  "runs": [
    "4b0ce88fd34e45fc8ca08876127299ce",
    "4f2e3f75c845d4365addbc9c0262a58a5"
  ]
}

Sample export JSON files

For Databricks, all examples use workspace notebooks except the Git Repo column.

Column legend:

  • Basic - Basic default export.
  • Src Tags - Import source tags into destination tracking server.
  • Git Repo - Databricks Repo notebook.
Mode Object OSS Databricks
Basic Src Tags Basic Src Tags Git Repo
Single Experiment link link link link link
Single Model link link link link
Bulk Experiment link link
Bulk Model link link