Python API

The MLflow Python API is organized into the following modules. The most common functions are exposed in the mlflow module, so we recommend starting there.

See also the index of all functions and classes.

Log Levels

MLflow Python APIs log information during execution using the Python Logging API. You can configure the log level for MLflow logs using the following code snippet. Learn more about Python log levels at the Python language logging guide.

import logging
logger = logging.getLogger("mlflow")

# Set log level to debugging