You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this article, learn how to enable MLflow's tracking URI and logging API, collectively known as [MLflow Tracking](https://mlflow.org/docs/latest/quickstart.html#using-the-tracking-api), to connect Azure Machine Learning as the backend of your MLflow experiments with the [Azure Machine Learning CLI v2](how-to-train-cli.md). You also learn how to use [MLflow's Model Registry](https://mlflow.org/docs/latest/model-registry.html) capabilities with Azure Machine Learning.
20
+
In this article, learn how to enable MLflow's tracking URI and logging API, collectively known as [MLflow Tracking](https://mlflow.org/docs/latest/quickstart.html#using-the-tracking-api), to connect Azure Machine Learning as the backend of your MLflow experiments with the [Azure Machine Learning CLI (v2)](how-to-train-cli.md). You also learn how to use [MLflow's Model Registry](https://mlflow.org/docs/latest/model-registry.html) capabilities with Azure Machine Learning.
21
21
22
22
[MLflow](https://www.mlflow.org) is an open-source library for managing the lifecycle of your machine learning experiments. MLFlow Tracking is a component of MLflow that logs and tracks your training run metrics and model artifacts, no matter your experiment's environment--locally on your computer, on a remote compute target, a virtual machine, or an [Azure Databricks cluster](how-to-use-mlflow-azure-databricks.md).
23
23
@@ -37,7 +37,7 @@ See [MLflow and Azure Machine Learning](concept-mlflow.md) for all supported MLf
37
37
*[Create an Azure Machine Learning Workspace](how-to-manage-workspace.md).
38
38
* See which [access permissions you need to perform your MLflow operations with your workspace](how-to-assign-roles.md#mlflow-operations).
39
39
40
-
* Install and [set up CLI (v2)](https://docs.microsoft.com/azure/machine-learning/how-to-configure-cli).
40
+
* Install and [set up CLI (v2)](how-to-configure-cli.md#prerequisites).
41
41
42
42
## Track runs from your local machine
43
43
@@ -49,13 +49,13 @@ First, you need to point your local machine to the Azure Machine Learning MLFlow
49
49
50
50
This can be done in a couple ways. You can import the `mlflow` and [`subprocess`](https://docs.python.org/3/library/subprocess.html) classes to access MLflow's tracking URI.
51
51
52
-
The following code, uses the subprocess class in Python to run the Azure Machine Learning CLI v2 command to retrieve the unique MLFLow tracking URI associated with your workspace, and [`set_tracking_uri()`](https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.set_tracking_uri) points the MLflow tracking URI to that URI.
52
+
The following code, uses the subprocess class in Python to run the Azure Machine Learning CLI (v2) command to retrieve the unique MLFLow tracking URI associated with your workspace, and [`set_tracking_uri()`](https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.set_tracking_uri) points the MLflow tracking URI to that URI.
53
53
54
54
```Python
55
55
import mlflow
56
56
import subprocess
57
57
58
-
#Get MLFLow UI through the Azure ML CLI v2 and convert to string
58
+
#Get MLFLow UI through the Azure ML CLI (v2) and convert to string
Remote runs (jobs) let you train your models on more powerful computes, such asGPU enabled virtual machines, or Machine Learning Compute clusters. See [Use compute targets for model training](how-to-set-up-training-targets.md) to learn about different compute options.
115
115
@@ -142,7 +142,7 @@ if __name__ == "__main__":
142
142
main()
143
143
```
144
144
145
-
Use the [Azure Machine Learning CLIv2](how-to-train-cli.md) to submit a run. When using the Azure Machine Learning CLIv2, the MLflow tracking URIand experiment name isset automatically and directs the logging from MLflow to your Workspace. Learn more about [logging Azure Machine Learning CLIv2 experiments with MLflow](how-to-train-cli.md##model-tracking-with-mlflow)
145
+
Use the [Azure Machine Learning CLI (v2)](how-to-train-cli.md) to submit a run. When using the Azure Machine Learning CLI (v2), the MLflow tracking URIand experiment name isset automatically and directs the logging from MLflow to your Workspace. Learn more about [logging Azure Machine Learning CLI (v2) experiments with MLflow](how-to-train-cli.md#model-tracking-with-mlflow)
146
146
147
147
Create a YAMLfilewith your job definition in a `job.yml`file. This file should be created outside the `src` directory. Copy this code into the file:
148
148
@@ -248,7 +248,7 @@ To register and view a model from a run, use the following steps:
248
248
## Example notebooks
249
249
250
250
A community-driven repository of examples using mlflow can be found at https://github.com/Azure/azureml-examples.
0 commit comments