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
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-use-mlflow-azure-databricks.md
+18-16Lines changed: 18 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -29,30 +29,28 @@ See [Track experiment runs and create endpoints with MLflow and Azure Machine Le
29
29
30
30
## Prerequisites
31
31
32
-
You need,
33
-
34
-
*[The Azure Machine Learning Python SDK installed](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py&preserve-view=true) on your local computer. The SDK provides the connectivity for MLflow to access your workspace in the `azureml-mlflow` package included in `azureml-core`.
32
+
* Install the `azureml-mlflow` package.
33
+
* This package automatically brings in `azureml-core` of the [The Azure Machine Learning Python SDK](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py&preserve-view=true), which provides the connectivity for MLflow to access your workspace.
35
34
* An [Azure Databricks workspace and cluster](https://docs.microsoft.com/azure/azure-databricks/quickstart-create-databricks-workspace-portal).
36
35
*[Create an Azure Machine Learning Workspace](how-to-manage-workspace.md).
37
36
38
37
## Track Azure Databricks runs
39
38
40
-
MLflow Tracking with Azure Machine Learning lets you store the logged metrics and artifacts from your Azure Databricks runs into all three of the following areas at once:
39
+
MLflow Tracking with Azure Machine Learning lets you store the logged metrics and artifacts from your Azure Databricks runs into both your:
41
40
42
-
* Azure Machine Learning workspace
43
41
* Azure Databricks workspace.
44
-
*MLflow
42
+
*Azure Machine Learning workspace
45
43
46
-
After you create your Azure Databricks workspace and cluster, complete the steps in the following sections to run your MLflow experiments with Azure Databricks.
44
+
After you create your Azure Databricks workspace and cluster,
47
45
48
46
1. Install the *azureml-mlflow* library from PyPi, to ensure that your cluster has access to the necessary functions and classes.
49
47
50
-
> [!NOTE]
51
-
> The `azureml.core` package includes `azureml-mlflow`. If you already installed `azureml.core`, you can skip the `azureml-mlflow` installation step.
52
-
53
48
1. Set up your experiment notebook and workspaces.
49
+
54
50
1. Connect your Azure Databricks workspace and Azure Machine Learning workspace.
55
51
52
+
The following sections provide additional detail on the aforementioned steps to run your MLflow experiments with Azure Databricks.
53
+
56
54
## Install libraries
57
55
58
56
To install libraries on your cluster, navigate to the **Libraries** tab and select **Install New**
@@ -68,7 +66,7 @@ In the **Package** field, type azureml-mlflow and then select install. Repeat th
68
66
Once your ADB cluster is set up, import your experiment notebook, open it and attach your cluster to it.
69
67
70
68
The following code should be in your experiment notebook.
71
-
This code.
69
+
This code,
72
70
* Gets the details of your Azure subscription to instantiate your Azure Machine Learning workspace.
73
71
74
72
* Assumes you have an existing resource group and Azure Machine Learning workspace, otherwise you can [create them](how-to-manage-workspace.md).
When you are ready to create an endpoint for your ML models, you can deploy your MLflow experiments as an Azure Machine Learning web service. Deployment allows you to leverage and apply the Azure Machine Learning model management and data drift detection capabilities to your production models.
138
138
139
-
To learn more, see [Deploy and register MLflow models](how-to-use-mlflow.md).
139
+
Azure Databricks runs can be deployed to the following endpoints,
*[The Azure Machine Learning SDK installed](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py&preserve-view=true) on your local computer. The SDK provides the connectivity for MLflow to access your workspace with the `azureml-mlflow` package that's part of `azureml-core`.
72
-
*[To create an Azure Machine Learning Workspace](how-to-manage-workspace.md).
59
+
* Install the `azureml-mlflow` package.
60
+
* This package automatically brings in `azureml-core` of the [The Azure Machine Learning Python SDK](https://docs.microsoft.com/python/api/overview/azure/ml/install?view=azure-ml-py&preserve-view=true), which provides the connectivity for MLflow to access your workspace.
61
+
*[Create an Azure Machine Learning Workspace](how-to-manage-workspace.md).
0 commit comments