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 deploy your [MLflow](https://www.mlflow.org) model to an [online endpoint](concept-endpoints.md) for real-time inference. When you deploy your MLflow model to an online endpoint, you don't need to indicate a scoring script or an environment. This characteristic is usually referred as __no-code deployment__.
24
+
In this article, learn how to deploy your [MLflow](https://www.mlflow.org) model to an [online endpoint](concept-endpoints.md) for real-time inference. When you deploy your MLflow model to an online endpoint, you don't need to indicate a scoring script or an environment. This characteristic is referred as __no-code deployment__.
25
25
26
26
For no-code-deployment, Azure Machine Learning
27
27
28
-
* Dynamically installs Python packages provided in the `conda.yaml` file, this means the dependencies are installed during container runtime.
28
+
* Dynamically installs Python packages provided in the `conda.yaml` file. Hence, dependencies are installed during container runtime.
29
29
* Provides a MLflow base image/curated environment that contains the following items:
@@ -37,11 +37,11 @@ For no-code-deployment, Azure Machine Learning
37
37
38
38
## About this example
39
39
40
-
This example shows how you can deploy an MLflow model to an online endpoint to perform predictions. This example uses an MLflow model based on the [Diabetes dataset](https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html). This dataset contains ten baseline variables, age, sex, body mass index, average blood pressure, and six blood serum measurements obtained from n = 442 diabetes patients, as well as the response of interest, a quantitative measure of disease progression one year after baseline (regression).
40
+
This example shows how you can deploy an MLflow model to an online endpoint to perform predictions. This example uses an MLflow model based on the [Diabetes dataset](https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html). This dataset contains ten baseline variables, age, sex, body mass index, average blood pressure, and six blood serum measurements obtained from n = 442 diabetes patients. It also contains the response of interest, a quantitative measure of disease progression one year after baseline (regression).
41
41
42
-
The model has been trained using an `scikit-learn` regressor and all the required preprocessing has been packaged as a pipeline, making this model an end-to-end pipeline that goes from raw data to predictions.
42
+
The model was trained using an `scikit-learn` regressor and all the required preprocessing has been packaged as a pipeline, making this model an end-to-end pipeline that goes from raw data to predictions.
43
43
44
-
The information in this article is based on code samples contained in the [azureml-examples](https://github.com/azure/azureml-examples) repository. To run the commands locally without having to copy/paste YAML and other files, clone the repo and then change directories to the `cli/endpoints/online` if you are using the Azure CLI or `sdk/endpoints/online` if you are using our SDK for Python.
44
+
The information in this article is based on code samples contained in the [azureml-examples](https://github.com/azure/azureml-examples) repository. To run the commands locally without having to copy/paste YAML and other files, clone the repo, and then change directories to the `cli/endpoints/online` if you are using the Azure CLI or `sdk/endpoints/online` if you are using our SDK for Python.
@@ -58,9 +58,9 @@ Before following the steps in this article, make sure you have the following pre
58
58
59
59
- An Azure subscription. If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version of Azure Machine Learning](https://azure.microsoft.com/free/).
60
60
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure Machine Learning. To perform the steps in this article, your user account must be assigned the owner or contributor role for the Azure Machine Learning workspace, or a custom role allowing Microsoft.MachineLearningServices/workspaces/onlineEndpoints/*. For more information, see [Manage access to an Azure Machine Learning workspace](how-to-assign-roles.md).
61
-
- You must have a MLflow model registered in your workspace. Particularly, this example will register a model trained for the [Diabetes dataset](https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html).
61
+
- You must have a MLflow model registered in your workspace. Particularly, this example registers a model trained for the [Diabetes dataset](https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html).
62
62
63
-
Additionally, you will need to:
63
+
Additionally, you need to:
64
64
65
65
# [Azure CLI](#tab/cli)
66
66
@@ -86,7 +86,7 @@ Additionally, you will need to:
86
86
87
87
# [Studio](#tab/studio)
88
88
89
-
There are no additional prerequisites when working in Azure Machine Learning studio.
89
+
There are no more prerequisites when working in Azure Machine Learning studio.
90
90
91
91
---
92
92
@@ -104,7 +104,7 @@ az configure --defaults workspace=<workspace> group=<resource-group> location=<l
104
104
105
105
# [Python (Azure ML SDK)](#tab/sdk)
106
106
107
-
The workspace is the top-level resource forAzure Machine Learning, providing a centralized place to work with all the artifacts you create when you use Azure Machine Learning. In this section, we'll connect to the workspacein which you'll perform deployment tasks.
107
+
The workspace is the top-level resource forAzure Machine Learning, providing a centralized place to work with all the artifacts you create when you use Azure Machine Learning. In this section, we connect to the workspacein which you perform deployment tasks.
108
108
109
109
1. Import the required libraries:
110
110
@@ -587,7 +587,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
587
587
raise Exception("Request must contain a top level key named 'input_data'")
0 commit comments