Skip to content

Commit 3dfb64d

Browse files
authored
Merge pull request #239398 from lgayhardt/designerpipeline0523
Designer moving files to V1 and pipeline debug
2 parents c90e264 + f911d9b commit 3dfb64d

File tree

115 files changed

+700
-507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+700
-507
lines changed

articles/machine-learning/.openpublishing.redirection.machine-learning.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3839,6 +3839,61 @@
38393839
"source_path_from_root": "/articles/machine-learning/how-to-deploy-batch-with-rest.md",
38403840
"redirect_url": "/azure/machine-learning/how-to-access-data-batch-endpoints-jobs?tabs=rest",
38413841
"redirect_document_id": false
3842+
},
3843+
{
3844+
"source_path_from_root": "/articles/machine-learning/tutorial-designer-automobile-price-train-score.md",
3845+
"redirect_url": "/azure/machine-learning/v1/tutorial-designer-automobile-price-train-score",
3846+
"redirect_document_id": true
3847+
},
3848+
{
3849+
"source_path_from_root": "/articles/machine-learning/tutorial-designer-automobile-price-deploy.md",
3850+
"redirect_url": "/azure/machine-learning/v1/tutorial-designer-automobile-price-deploy",
3851+
"redirect_document_id": true
3852+
},
3853+
{
3854+
"source_path_from_root": "/articles/machine-learning/samples-designer.md",
3855+
"redirect_url": "/azure/machine-learning/v1/samples-designer",
3856+
"redirect_document_id": true
3857+
},
3858+
{
3859+
"source_path_from_root": "/articles/machine-learning/algorithm-cheat-sheet.md",
3860+
"redirect_url": "/azure/machine-learning/v1/algorithm-cheat-sheet",
3861+
"redirect_document_id": true
3862+
},
3863+
{
3864+
"source_path_from_root": "/articles/machine-learning/how-to-select-algorithms.md",
3865+
"redirect_url": "/azure/machine-learning/v1/how-to-select-algorithms",
3866+
"redirect_document_id": true
3867+
},
3868+
{
3869+
"source_path_from_root": "/articles/machine-learning/how-to-use-pipeline-ui.md",
3870+
"redirect_url": "/azure/machine-learning/how-to-debug-pipeline-failure",
3871+
"redirect_document_id": true
3872+
},
3873+
{
3874+
"source_path_from_root": "/articles/machine-learning/how-to-designer-transform-data.md",
3875+
"redirect_url": "/azure/machine-learning/v1/how-to-designer-transform-data",
3876+
"redirect_document_id": true
3877+
},
3878+
{
3879+
"source_path_from_root": "/articles/machine-learning/how-to-use-pipeline-parameter.md",
3880+
"redirect_url": "/azure/machine-learning/v1/how-to-use-pipeline-parameter",
3881+
"redirect_document_id": true
3882+
},
3883+
{
3884+
"source_path_from_root": "/articles/machine-learning/how-to-retrain-designer.md",
3885+
"redirect_url": "/azure/machine-learning/v1/how-to-retrain-designer",
3886+
"redirect_document_id": true
3887+
},
3888+
{
3889+
"source_path_from_root": "/articles/machine-learning/how-to-run-batch-predictions-designer.md",
3890+
"redirect_url": "/azure/machine-learning/v1/how-to-run-batch-predictions-designer",
3891+
"redirect_document_id": true
3892+
},
3893+
{
3894+
"source_path_from_root": "/articles/machine-learning/how-to-designer-python.md",
3895+
"redirect_url": "/azure/machine-learning/v1/how-to-designer-python",
3896+
"redirect_document_id": true
38423897
}
38433898
]
38443899
}

articles/machine-learning/component-reference/execute-python-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.date: 06/15/2021
1616

1717
This article describes the Execute Python Script component in Azure Machine Learning designer.
1818

19-
Use this component to run Python code. For more information about the architecture and design principles of Python, see [how run Python code in Azure Machine Learning designer](../how-to-designer-python.md).
19+
Use this component to run Python code. For more information about the architecture and design principles of Python, see [how run Python code in Azure Machine Learning designer](../v1/how-to-designer-python.md).
2020

2121
With Python, you can perform tasks that existing components don't support, such as:
2222

Lines changed: 55 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,103 @@
11
---
2-
title: What is the Azure Machine Learning designer?
2+
title: What is the Azure Machine Learning designer(v2)?
33
titleSuffix: Azure Machine Learning
4-
description: Learn what the Azure Machine Learning designer is and what tasks you can use it for. The drag-and-drop UI enables model training and deployment.
4+
description: Learn what the Azure Machine Learning designer is and what tasks you can use it for. The drag-and-drop UI enables customer to build machine learning pipeline.
55
services: machine-learning
66
ms.service: machine-learning
77
ms.subservice: core
88
ms.topic: conceptual
99
ms.author: lagayhar
1010
ms.reviewer: lagayhar
1111
author: lgayhardt
12-
ms.date: 08/03/2022
13-
ms.custom: designer, training
14-
monikerRange: 'azureml-api-1 || azureml-api-2'
12+
ms.date: 05/25/2023
13+
ms.custom: designer
1514
---
1615

17-
# What is Azure Machine Learning designer?
16+
# What is Azure Machine Learning designer(v2)?
1817

19-
Azure Machine Learning designer is a drag-and-drop interface used to train and deploy models in Azure Machine Learning. This article describes the tasks you can do in the designer.
18+
Azure Machine Learning designer is a drag-and-drop UI interface to build pipeline in Azure Machine Learning.
2019

21-
- To get started with the designer, see [Tutorial: Train a no-code regression model](tutorial-designer-automobile-price-train-score.md).
22-
- To learn about the components available in the designer, see the [Algorithm and component reference](./algorithm-module-reference/module-reference.md).
20+
As shown in below GIF, you can build a pipeline visually by drag and drop your building blocks and connect them.
2321

24-
![Azure Machine Learning designer example](./media/concept-designer/designer-drag-and-drop.gif)
22+
:::image type="content" source="./media/concept-designer/designer-drag-and-drop.gif" alt-text="GIF of a building a pipeline in the designer." lightbox= "./media/concept-designer/designer-drag-and-drop.gif":::
2523

26-
The designer uses your Azure Machine Learning [workspace](concept-workspace.md) to organize shared resources such as:
2724

28-
+ [Pipelines](#pipeline)
29-
+ [Data](#data)
30-
+ [Compute resources](#compute)
31-
:::moniker range="azureml-api-2"
32-
+ [Registered models](concept-model-management-and-deployment.md#register-and-track-machine-learning-models)
33-
:::moniker-end
34-
:::moniker range="azureml-api-1"
35-
+ [Registered models](v1/concept-azure-machine-learning-architecture.md#models)
36-
:::moniker-end
37-
+ [Published pipelines](#publish)
38-
+ [Real-time endpoints](#deploy)
25+
>[!Note]
26+
> Designer supports two types of components, classic prebuilt components(v1) and custom components(v2). These two types of components are NOT compatible.
27+
>
28+
>Classic prebuilt components provide prebuilt components majorly for data processing and traditional machine learning tasks like regression and classification. This type of component continues to be supported but will not have any new components added.
29+
>
30+
>Custom components allow you to wrap your own code as a component. It supports sharing components across workspaces and seamless authoring across Studio, CLI v2, and SDK v2 interfaces.
31+
>
32+
>For new projects, we highly suggest you use custom component, which is compatible with AzureML V2 and will keep receiving new updates.
33+
>
34+
>This article applies to custom components.
3935
40-
## Model training and deployment
4136

42-
Use a visual canvas to build an end-to-end machine learning workflow. Train, test, and deploy models all in the designer:
37+
## Assets
4338

44-
+ Drag-and-drop [data assets](#data) and [components](#component) onto the canvas.
45-
+ Connect the components to create a [pipeline draft](#pipeline-draft).
46-
+ Submit a [pipeline run](#pipeline-job) using the compute resources in your Azure Machine Learning workspace.
47-
+ Convert your **training pipelines** to **inference pipelines**.
48-
+ [Publish](#publish) your pipelines to a REST **pipeline endpoint** to submit a new pipeline that runs with different parameters and data assets.
49-
+ Publish a **training pipeline** to reuse a single pipeline to train multiple models while changing parameters and data assets.
50-
+ Publish a **batch inference pipeline** to make predictions on new data by using a previously trained model.
51-
+ [Deploy](#deploy) a **real-time inference pipeline** to an online endpoint to make predictions on new data in real time.
39+
The building blocks of pipeline are called assets in Azure Machine Learning, which includes:
40+
- [Data](./concept-data.md)
41+
- Model
42+
- [Component](./concept-component.md)
5243

53-
![Workflow diagram for training, batch inference, and real-time inference in the designer](./media/concept-designer/designer-workflow-diagram.png)
44+
Designer has an asset library on the left side, where you can access all the assets you need to create your pipeline. It shows both the assets you created in your workspace, and the assets shared in [registry](./how-to-share-models-pipelines-across-workspaces-with-registries.md) that you have permission to access.
5445

55-
## Pipeline
56-
57-
A [pipeline](concept-ml-pipelines.md) consists of data assets and analytical components, which you connect. Pipelines have many uses: you can make a pipeline that trains a single model, or one that trains multiple models. You can create a pipeline that makes predictions in real time or in batch, or make a pipeline that only cleans data. Pipelines let you reuse your work and organize your projects.
58-
59-
### Pipeline draft
46+
:::image type="content" source="./media/concept-designer/asset-library.png" alt-text="Screenshot of the asset library." lightbox= "./media/concept-designer/asset-library.png":::
6047

61-
As you edit a pipeline in the designer, your progress is saved as a **pipeline draft**. You can edit a pipeline draft at any point by adding or removing components, configuring compute targets, creating parameters, and so on.
62-
63-
A valid pipeline has these characteristics:
6448

65-
* Data assets can only connect to components.
66-
* components can only connect to either data assets or other components.
67-
* All input ports for components must have some connection to the data flow.
68-
* All required parameters for each component must be set.
49+
To see assets from a specific registry, select the Registry name filter above the asset library. The assets you created in your current workspace are in the registry = workspace. The assets provided by Azure Machine Learning are in the registry = azureml.
6950

70-
When you're ready to run your pipeline draft, you submit a pipeline job.
51+
Designer only shows the assets that you created and named in your workspace. You won't see any unnamed assets in the asset library. To learn how to create data and component assets, read these articles:
7152

72-
### Pipeline job
53+
- [How to create data asset](./how-to-create-data-assets.md)
54+
- [How to create component](./how-to-create-component-pipelines-ui.md#register-component-in-your-workspace)
7355

74-
Each time you run a pipeline, the configuration of the pipeline and its results are stored in your workspace as a **pipeline job**. You can go back to any pipeline job to inspect it for troubleshooting or auditing. **Clone** a pipeline job to create a new pipeline draft for you to edit.
75-
76-
Pipeline jobs are grouped into experiments to organize job history. You can set the experiment for every pipeline job.
77-
78-
## Data
56+
## Pipeline
7957

80-
A machine learning data asset makes it easy to access and work with your data. Several [sample data assets](samples-designer.md#datasets) are included in the designer for you to experiment with. You can [register](how-to-create-register-datasets.md) more data assets as you need them.
58+
Designer is a tool that lets you create pipelines with your assets in a visual way. When you use designer, you'll encounter two concepts related to pipelines: pipeline draft and pipeline jobs.
8159

82-
## Component
60+
![pipeline-draft-and-pipeline-job-list](./media/concept-designer/pipeline-draft-and-job.png)
8361

84-
A component is an algorithm that you can perform on your data. The designer has several components ranging from data ingress functions to training, scoring, and validation processes.
62+
:::image type="content" source="./media/concept-designer/pipeline-draft-and-job.png" alt-text="Screenshot of pipeline draft and pipeline job list." lightbox= "./media/concept-designer/pipeline-draft-and-job.png":::
8563

86-
A component may have a set of parameters that you can use to configure the component's internal algorithms. When you select a component on the canvas, the component's parameters are displayed in the Properties pane to the right of the canvas. You can modify the parameters in that pane to tune your model. You can set the compute resources for individual components in the designer.
64+
### Pipeline draft
8765

88-
:::image type="content" source="./media/concept-designer/properties.png" alt-text="Component properties":::
66+
As you edit a pipeline in the designer, your progress is saved as a **pipeline draft**. You can edit a pipeline draft at any point by adding or removing components, configuring compute targets, creating parameters, and so on.
8967

68+
A valid pipeline draft has these characteristics:
9069

91-
For some help navigating through the library of machine learning algorithms available, see [Algorithm & component reference overview](component-reference/component-reference.md). For help with choosing an algorithm, see the [Azure Machine Learning Algorithm Cheat Sheet](algorithm-cheat-sheet.md).
70+
- Data assets can only connect to components.
71+
- Components can only connect to either data assets or other components.
72+
- All required input ports for components must have some connection to the data flow.
73+
- All required parameters for each component must be set.
9274

93-
## <a name="compute"></a> Compute resources
75+
When you're ready to run your pipeline draft, you submit a pipeline job.
9476

95-
Use compute resources from your workspace to run your pipeline and host your deployed models as online endpoints or pipeline endpoints (for batch inference). The supported compute targets are:
77+
### Pipeline job
9678

97-
| Compute target | Training | Deployment |
98-
| ---- |:----:|:----:|
99-
| Azure Machine Learning compute || |
100-
| Azure Kubernetes Service | ||
79+
Each time you run a pipeline, the configuration of the pipeline and its results are stored in your workspace as a **pipeline job**. You can go back to any pipeline job to inspect it for troubleshooting or auditing. **Clone** a pipeline job creates a new pipeline draft for you to continue editing.
10180

102-
Compute targets are attached to your [Azure Machine Learning workspace](concept-workspace.md). You manage your compute targets in your workspace in the [Azure Machine Learning studio](https://ml.azure.com).
81+
## Approaches to build pipeline in designer
10382

104-
## Deploy
83+
### Create new pipeline from scratch
10584

106-
To perform real-time inferencing, you must deploy a pipeline as an [online endpoint](concept-endpoints-online.md). The online endpoint creates an interface between an external application and your scoring model. A call to an online endpoint returns prediction results to the application in real time. To make a call to an online endpoint, you pass the API key that was created when you deployed the endpoint. The endpoint is based on REST, a popular architecture choice for web programming projects.
85+
You can create a new pipeline and build from scratch. Remember to select the **Custom component** option when you create the pipeline in designer.
10786

108-
Online endpoints must be deployed to an Azure Kubernetes Service cluster.
87+
:::image type="content" source="./media/how-to-create-component-pipelines-ui/new-pipeline.png" alt-text="Screenshot showing to select custom component." lightbox= "./media/how-to-create-component-pipelines-ui/new-pipeline.png":::
10988

110-
To learn how to deploy your model, see [Tutorial: Deploy a machine learning model with the designer](tutorial-designer-automobile-price-deploy.md).
89+
### Clone an existing pipeline job
11190

112-
## Publish
91+
If you would like to work based on an existing pipeline job in the workspace, you can easily clone it into a new pipeline draft to continue editing.
11392

114-
You can also publish a pipeline to a **pipeline endpoint**. Similar to an online endpoint, a pipeline endpoint lets you submit new pipeline jobs from external applications using REST calls. However, you cannot send or receive data in real time using a pipeline endpoint.
93+
:::image type="content" source="./media/how-to-debug-pipeline-failure/job-detail-clone.png" alt-text="Screenshot of a pipeline job in the workspace with the clone button highlighted." lightbox= "./media/how-to-debug-pipeline-failure/job-detail-clone.png":::
11594

116-
Published pipelines are flexible, they can be used to train or retrain models, [perform batch inferencing](how-to-run-batch-predictions-designer.md), process new data, and much more. You can publish multiple pipelines to a single pipeline endpoint and specify which pipeline version to run.
95+
After cloning, you can also know which pipeline job it's cloned from by selecting **Show lineage**.
11796

118-
A published pipeline runs on the compute resources you define in the pipeline draft for each component.
97+
:::image type="content" source="./media/how-to-debug-pipeline-failure/draft-show-lineage.png" alt-text="Screenshot showing the draft lineage after selecting show lineage button." lightbox= "./media/how-to-debug-pipeline-failure/draft-show-lineage.png":::
11998

120-
The designer creates the same [PublishedPipeline](/python/api/azureml-pipeline-core/azureml.pipeline.core.graph.publishedpipeline) object as the SDK.
99+
You can edit your pipeline and then submit again. After submitting, you can see the lineage between the job you submit and the original job by selecting **Show lineage** in the job detail page.
121100

122-
## Next steps
101+
## Next step
123102

124-
* Learn the fundamentals of predictive analytics and machine learning with [Tutorial: Predict automobile price with the designer](tutorial-designer-automobile-price-train-score.md)
125-
* Learn how to modify existing [designer samples](samples-designer.md) to adapt them to your needs.
103+
- [Create pipeline with components (UI)](./how-to-create-component-pipelines-ui.md)

articles/machine-learning/concept-vulnerability-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ For code-based training experiences, you control which Azure Machine Learning en
148148
149149
* Automated ML jobs run on environments that layer on top of Azure Machine Learning [base docker images](https://github.com/Azure/AzureML-Containers).
150150
151-
* Designer jobs are compartmentalized into [Components](concept-designer.md#component). Each component has its own environment that layers on top of the Azure Machine Learning base docker images. For more information on components, see the [Component reference](./component-reference/component-reference.md).
151+
* Designer jobs are compartmentalized into [Components](./v1/concept-designer.md#component). Each component has its own environment that layers on top of the Azure Machine Learning base docker images. For more information on components, see the [Component reference](./component-reference/component-reference.md).
152152
153153
## Next steps
154154

articles/machine-learning/how-to-create-component-pipeline-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ You can open the `Link to Azure Machine Learning studio`, which is the job detai
293293
294294
:::image type="content" source="./media/how-to-create-component-pipeline-python/pipeline-ui.png" alt-text="Screenshot of the pipeline job detail page." lightbox ="./media/how-to-create-component-pipeline-python/pipeline-ui.png":::
295295
296-
You can check the logs and outputs of each component by right clicking the component, or select the component to open its detail pane. To learn more about how to debug your pipeline in UI, see [How to use studio UI to build and debug Azure Machine Learning pipelines](how-to-use-pipeline-ui.md).
296+
You can check the logs and outputs of each component by right clicking the component, or select the component to open its detail pane. To learn more about how to debug your pipeline in UI, see [How to use debug pipeline failure](how-to-debug-pipeline-failure.md).
297297
298298
## (Optional) Register components to workspace
299299

0 commit comments

Comments
 (0)