QuestionQ69

VerifiedAdvanced MLflow Usage

A data scientist wants to move from manually using MLflow logging to MLflow Autologging for every machine-learning library used in a notebook.

They start by adding mlflow.autolog() at the beginning of the following code block:

Question Image

The data scientist now wants to identify which line of code initiates the MLflow Autologging process.

Which line in the code block above starts the MLflow Autologging process?

Explanation

MLflow autologging is enabled before training and automatically captures supported scikit-learn training information when an estimator is fitted. Calling rf.fit(X_train, y_train) performs that fitting operation, so it triggers the automatic logging. Creating a run context and calling explicit log_metric or log_model functions are separate manual logging operations.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!