Skip to content

Commit a28dd8b

Browse files
authored
Merge pull request #185392 from AbeOmor/patch-41
Adding autologging and MLFlow
2 parents 363af2c + c218c70 commit a28dd8b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/machine-learning/how-to-use-mlflow-cli-runs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,17 @@ runs = mlflow.search_runs(experiment_ids=all_experiments, filter_string=query, r
232232
runs.head(10)
233233
```
234234

235+
## Automatic logging
236+
With Azure Machine Learning and MLFlow, users can log metrics, model parameters and model artifacts automatically when training a model. A [variety of popular machine learning libraries](https://mlflow.org/docs/latest/tracking.html#automatic-logging) are supported.
237+
238+
To enable [automatic logging](https://mlflow.org/docs/latest/tracking.html#automatic-logging) insert the following code before your training code:
239+
240+
```Python
241+
mlflow.autolog()
242+
```
243+
244+
[Learn more about Automatic logging with MLflow](https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.autolog).
245+
235246
## Manage models
236247

237248
Register and track your models with the [Azure Machine Learning model registry](concept-model-management-and-deployment.md#register-package-and-deploy-models-from-anywhere), which supports the MLflow model registry. Azure Machine Learning models are aligned with the MLflow model schema making it easy to export and import these models across different workflows. The MLflow-related metadata, such as run ID, is also tracked with the registered model for traceability. Users can submit training runs, register, and deploy models produced from MLflow runs.

0 commit comments

Comments
 (0)