Skip to content

Commit d9f360f

Browse files
authored
Merge pull request #95088 from lobrien/laobri/162184-content-review
Content review: Screenshot update (scheduling pipelines) and minor edits
2 parents 2de7642 + bd0a9a9 commit d9f360f

File tree

10 files changed

+80
-74
lines changed

10 files changed

+80
-74
lines changed

articles/machine-learning/service/concept-ml-pipelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: core
88
ms.topic: conceptual
99
ms.author: laobri
1010
author: lobrien
11-
ms.date: 11/04/2019
11+
ms.date: 11/06/2019
1212
---
1313

1414
# What are Azure Machine Learning pipelines?

articles/machine-learning/service/how-to-create-labeling-projects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.date: 11/04/2019
1414

1515
Labeling large amounts of data has often been a headache in machine learning projects. ML projects with a computer vision component, such as image classification or object detection, generally require thousands of images and corresponding labels.
1616

17-
Azure Machine Learning studio gives you a central location to create, manage, and monitor labeling projects. Labeling projects help coordinate the data, labels, and team members, allowing you to more efficiently manage the labeling tasks. Currently supported tasks are image classification, either multi-label or multi-class, and object identification using bounded boxes.
17+
Azure Machine Learning gives you a central location to create, manage, and monitor labeling projects. Labeling projects help coordinate the data, labels, and team members, allowing you to more efficiently manage the labeling tasks. Currently supported tasks are image classification, either multi-label or multi-class, and object identification using bounded boxes.
1818

1919
Azure tracks progress and maintains the queue of incomplete labeling tasks. Labelers don't require an Azure account to participate. Once authenticated with their Microsoft Account (MSA) or [Azure Active Directory](https://docs.microsoft.com/azure/active-directory/active-directory-whatis), they can do as much or as little labeling as their time allows. They can assign and change labels using keyboard shortcuts.
2020

@@ -39,7 +39,7 @@ In this article, you'll learn how to:
3939

4040
## Create a labeling project
4141

42-
Labeling projects are administered from [Azure Machine Learning studio](https://ml.azure.com/). The **Labeling projects** page allows you to manage your projects, teams, and people. A project has one or more teams assigned to it, and a team has one or more people assigned to it.
42+
Labeling projects are administered from [Azure Machine Learning](https://ml.azure.com/). The **Labeling projects** page allows you to manage your projects, teams, and people. A project has one or more teams assigned to it, and a team has one or more people assigned to it.
4343

4444
If your data are already stored in Azure blob storage, you should make them available as a datastore before creating your labeling project. For information, see [Create and register datastores](https://docs.microsoft.com/azure/machine-learning/service/how-to-access-data#create-and-register-datastores).
4545

@@ -145,7 +145,7 @@ You can label data directly from the **Project details** page by selecting **Lab
145145

146146
At any time, you may export the label data for machine learning experimentation. Image labels can be exported in [COCO format](http://cocodataset.org/#format-data) or as an Azure ML dataset. You will find the **Export** button on the **Project details** page of your labeling project.
147147

148-
The COCO file is created in the default blob store of the Azure ML workspace in a folder within **export/coco**. You can access the exported Azure ML dataset under the **Datasets** section of studio. Dataset details page also provides sample code to access your labels from Python.
148+
The COCO file is created in the default blob store of the Azure ML workspace in a folder within **export/coco**. You can access the exported Azure ML dataset under the **Datasets** section of Azure Machine Learning. Dataset details page also provides sample code to access your labels from Python.
149149

150150
![Exported dataset](media/how-to-create-labeling-projects/exported-dataset.png)
151151

articles/machine-learning/service/how-to-create-your-first-pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ response = requests.post(published_pipeline1.endpoint,
407407
### View results of a published pipeline
408408

409409
See the list of all your published pipelines and their run details:
410-
1. Sign in to [Azure Machine Learning studio](https://ml.azure.com).
410+
1. Sign in to [Azure Machine Learning](https://ml.azure.com).
411411

412412
1. [View your workspace](how-to-manage-workspace.md#view) to find the list of pipelines.
413413
![list of machine learning pipelines](./media/how-to-create-your-first-pipeline/list_of_pipelines.png)
414414

415415
1. Select a specific pipeline to see the run results.
416416

417-
These results are also available in your workspace in [Azure Machine Learning studio]](https://ml.azure.com).
417+
These results are also available in your workspace in [Azure Machine Learning](https://ml.azure.com).
418418

419419
### Disable a published pipeline
420420

articles/machine-learning/service/how-to-enable-app-insights.md

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@ ms.custom: seoapril2019
1717
[!INCLUDE [applies-to-skus](../../../includes/aml-applies-to-basic-enterprise-sku.md)]
1818

1919
In this article, you learn how to collect data from and monitor models deployed to web service endpoints in Azure Kubernetes Service (AKS) or Azure Container Instances (ACI) by enabling Azure Application Insights. In addition to collecting an endpoint's input data and response, you can monitor:
20-
* Request rates, response times, and failure rates.
21-
* Dependency rates, response times, and failure rates.
22-
* Exceptions.
20+
21+
* Request rates, response times, and failure rates
22+
* Dependency rates, response times, and failure rates
23+
* Exceptions
2324

2425
[Learn more about Azure Application Insights](../../azure-monitor/app/app-insights-overview.md).
2526

2627

2728
## Prerequisites
2829

29-
* 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://aka.ms/AMLFree) today.
30+
* 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://aka.ms/AMLFree) today
3031

31-
* An Azure Machine Learning workspace, a local directory that contains your scripts, and the Azure Machine Learning SDK for Python installed. To learn how to get these prerequisites, see [How to configure a development environment](how-to-configure-environment.md).
32-
* A trained machine learning model to be deployed to Azure Kubernetes Service (AKS) or Azure Container Instance (ACI). If you don't have one, see the [Train image classification model](tutorial-train-models-with-aml.md) tutorial.
32+
* An Azure Machine Learning workspace, a local directory that contains your scripts, and the Azure Machine Learning SDK for Python installed. To learn how to get these prerequisites, see [How to configure a development environment](how-to-configure-environment.md)
33+
* A trained machine learning model to be deployed to Azure Kubernetes Service (AKS) or Azure Container Instance (ACI). If you don't have one, see the [Train image classification model](tutorial-train-models-with-aml.md) tutorial
3334

3435
## Web service input and response data
3536

@@ -39,65 +40,68 @@ The input and response to the service - corresponding to the inputs to the ML mo
3940

4041
You can enable and disable Azure Application Insights in the Azure portal.
4142

42-
1. In the [Azure portal](https://portal.azure.com), open your workspace.
43+
1. In the [Azure portal](https://portal.azure.com), open your workspace
4344

44-
1. On the **Deployments** tab, select the service where you want to enable Azure Application Insights.
45+
1. On the **Deployments** tab, select the service where you want to enable Azure Application Insights
4546

4647
[![List of services on the Deployments tab](media/how-to-enable-app-insights/Deployments.PNG)](./media/how-to-enable-app-insights/Deployments.PNG#lightbox)
4748

48-
3. Select **Edit**.
49+
3. Select **Edit**
4950

5051
[![Edit button](media/how-to-enable-app-insights/Edit.PNG)](./media/how-to-enable-app-insights/Edit.PNG#lightbox)
5152

52-
4. In **Advanced Settings**, select the **Enable AppInsights diagnostics** check box.
53+
4. In **Advanced Settings**, select the **Enable AppInsights diagnostics** check box
5354

5455
[![Selected check box for enabling diagnostics](media/how-to-enable-app-insights/AdvancedSettings.png)](./media/how-to-enable-app-insights/AdvancedSettings.png#lightbox)
5556

56-
1. Select **Update** at the bottom of the screen to apply the changes.
57+
1. Select **Update** at the bottom of the screen to apply the changes
5758

5859
### Disable
59-
1. In the [Azure portal](https://portal.azure.com), open your workspace.
60-
1. Select **Deployments**, select the service, and then select **Edit**.
60+
61+
1. In the [Azure portal](https://portal.azure.com), open your workspace
62+
1. Select **Deployments**, select the service, and then select **Edit**
6163

6264
[![Use the edit button](media/how-to-enable-app-insights/Edit.PNG)](./media/how-to-enable-app-insights/Edit.PNG#lightbox)
6365

64-
1. In **Advanced Settings**, clear the **Enable AppInsights diagnostics** check box.
66+
1. In **Advanced Settings**, clear the **Enable AppInsights diagnostics** check box
6567

6668
[![Cleared check box for enabling diagnostics](media/how-to-enable-app-insights/uncheck.png)](./media/how-to-enable-app-insights/uncheck.png#lightbox)
6769

68-
1. Select **Update** at the bottom of the screen to apply the changes.
70+
1. Select **Update** at the bottom of the screen to apply the changes
6971

7072
## Use Python SDK to configure
7173

7274
### Update a deployed service
73-
1. Identify the service in your workspace. The value for `ws` is the name of your workspace.
75+
76+
1. Identify the service in your workspace. The value for `ws` is the name of your workspace
7477

7578
```python
7679
from azureml.core.webservice import Webservice
7780
aks_service= Webservice(ws, "my-service-name")
7881
```
79-
2. Update your service and enable Azure Application Insights.
82+
2. Update your service and enable Azure Application Insights
8083

8184
```python
8285
aks_service.update(enable_app_insights=True)
8386
```
8487

8588
### Log custom traces in your service
89+
8690
If you want to log custom traces, follow the standard deployment process for AKS or ACI in the [How to deploy and where](how-to-deploy-and-where.md) document. Then use the following steps:
8791

88-
1. Update the scoring file by adding print statements.
92+
1. Update the scoring file by adding print statements
8993

9094
```python
9195
print ("model initialized" + time.strftime("%H:%M:%S"))
9296
```
9397

94-
2. Update the service configuration.
98+
2. Update the service configuration
9599

96100
```python
97101
config = Webservice.deploy_configuration(enable_app_insights=True)
98102
```
99103

100-
3. Build an image and deploy it on [AKS](how-to-deploy-to-aks.md) or [ACI](how-to-deploy-to-aci.md).
104+
3. Build an image and deploy it on [AKS](how-to-deploy-to-aks.md) or [ACI](how-to-deploy-to-aci.md)
101105

102106
### Disable tracking in Python
103107

@@ -111,22 +115,23 @@ To disable Azure Application Insights, use the following code:
111115
## Evaluate data
112116
Your service's data is stored in your Azure Application Insights account, within the same resource group as Azure Machine Learning.
113117
To view it:
114-
1. Go to your Machine Learning service workspace in [Azure Machine Learning studio](https://ml.azure.com) and click on Application Insights link.
118+
119+
1. Go to your Machine Learning service workspace in [Azure Machine Learning studio](https://ml.azure.com) and click on Application Insights link
115120

116121
[![AppInsightsLoc](media/how-to-enable-app-insights/AppInsightsLoc.png)](./media/how-to-enable-app-insights/AppInsightsLoc.png#lightbox)
117122

118-
1. Select the **Overview** tab to see a basic set of metrics for your service.
123+
1. Select the **Overview** tab to see a basic set of metrics for your service
119124

120125
[![Overview](media/how-to-enable-app-insights/overview.png)](./media/how-to-enable-app-insights/overview.png#lightbox)
121126

122127
1. To look into your web service input and response payloads, select **Analytics**
123-
1. In the schema section, select **Traces** and filter down traces with the message `"model_data_collection"`. In the custom dimensions, you can see the inputs, predictions, and other relevant details.
128+
1. In the schema section, select **Traces** and filter down traces with the message `"model_data_collection"`. In the custom dimensions, you can see the inputs, predictions, and other relevant details
124129

125130
[![Model data](media/how-to-enable-app-insights/model-data-trace.png)](./media/how-to-enable-app-insights/model-data-trace.png#lightbox)
126131

127132

128-
3. To look into your custom traces, select **Analytics**.
129-
4. In the schema section, select **Traces**. Then select **Run** to run your query. Data should appear in a table format and should map to your custom calls in your scoring file.
133+
3. To look into your custom traces, select **Analytics**
134+
4. In the schema section, select **Traces**. Then select **Run** to run your query. Data should appear in a table format and should map to your custom calls in your scoring file
130135

131136
[![Custom traces](media/how-to-enable-app-insights/logs.png)](./media/how-to-enable-app-insights/logs.png#lightbox)
132137

@@ -147,5 +152,5 @@ The [enable-app-insights-in-production-service.ipynb](https://github.com/Azure/M
147152

148153
## Next steps
149154

150-
* See [how to deploy a model to an Azure Kubernetes Service cluster](https://docs.microsoft.com/azure/machine-learning/service/how-to-deploy-azure-kubernetes-service) or [how to deploy a model to Azure Container Instances](https://docs.microsoft.com/azure/machine-learning/service/how-to-deploy-azure-container-instance) to deploy your models to web service endpoints, and enable Azure Application Insights to leverage data collection and endpoint monitoring.
151-
* See [MLOps: Manage, deploy, and monitor models with Azure Machine Learning](https://docs.microsoft.com/azure/machine-learning/service/concept-model-management-and-deployment) to learn more about leveraging data collected from models in production. Such data can help to continually improve your machine learning process.
155+
* See [how to deploy a model to an Azure Kubernetes Service cluster](https://docs.microsoft.com/azure/machine-learning/service/how-to-deploy-azure-kubernetes-service) or [how to deploy a model to Azure Container Instances](https://docs.microsoft.com/azure/machine-learning/service/how-to-deploy-azure-container-instance) to deploy your models to web service endpoints, and enable Azure Application Insights to leverage data collection and endpoint monitoring
156+
* See [MLOps: Manage, deploy, and monitor models with Azure Machine Learning](https://docs.microsoft.com/azure/machine-learning/service/concept-model-management-and-deployment) to learn more about leveraging data collected from models in production. Such data can help to continually improve your machine learning process

0 commit comments

Comments
 (0)