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
It's common to use sub-pipeline components to develop complex machine learning pipelines. You can group multiple steps into a component that you can use as a single step to do tasks like data preprocessing or model training.
24
+
It's common to use pipeline components to develop complex machine learning pipelines. You can group multiple steps into a component that you can use as a single step to do tasks like data preprocessing or model training.
25
25
26
-
This article shows you how to nest multiple steps in components to build complex Azure Machine Learning pipeline jobs. You can develop and test these multistep components standalone, which helps you share your work and collaborate better with team members.
26
+
This article shows you how to nest multiple steps in components to build complex Azure Machine Learning pipeline jobs. You can develop and test these multistep components standalone, which helps you share your work and collaborate better with team members.
27
27
28
-
By using multi-step pipeline components, you can focus on developing sub-tasks and easily integrate them with the entire pipeline job. A pipeline component has a well-defined input and output interface, so multistep pipeline component users don't need to know the implementation details of the component.
28
+
By using multi-step pipeline components, you can focus on developing subtasks and easily integrate them with the entire pipeline job. A pipeline component has a well-defined input and output interface, so multistep pipeline component users don't need to know the implementation details of the component.
29
29
30
30
Both pipeline components and pipeline jobs contain groups of steps or components, but defining a pipeline differs from defining a pipeline job in the following ways:
31
31
32
32
- Pipeline components define only the interface of inputs and outputs. When you define a pipeline component, you explicitly set the input and output types, but don't directly assign values to them.
33
-
- Pipeline components don't have runtime settings, so you can't hardcode a compute or a data node in a pipeline component. Instead you must promote these as pipeline level inputs and assign values during runtime.
33
+
- Pipeline components don't have runtime settings, so you can't hardcode a compute or a data node in a pipeline component. Instead you must promote these nodes as pipeline level inputs and assign values during runtime.
34
34
- Pipeline level settings such as `default_datastore` and `default_compute` are also runtime settings that aren't part of pipeline component definitions.
35
35
36
36
## Prerequisites
@@ -66,7 +66,7 @@ You can use multi-components to build a pipeline component, similar to how you b
66
66
67
67
The following example comes from the [pipeline_with_train_eval_pipeline_component](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/pipeline_with_train_eval_pipeline_component) example pipeline in the [Azure Machine Learning examples](https://github.com/Azure/azureml-examples) GitHub repository.
68
68
69
-
The example component defines a three-node pipeline job. The two nodes in the example pipeline job each use the locally-defined components `train`, `score`, and `eval`. The following code shows the pipeline component:
69
+
The example component defines a three-node pipeline job. The two nodes in the example pipeline job each use the locallydefined components `train`, `score`, and `eval`. The following code shows the pipeline component:
@@ -84,7 +84,9 @@ You can also find other Python SDK v2 pipeline component-related notebooks and i
84
84
85
85
# [Studio UI](#tab/ui)
86
86
87
-
To access components in Azure Machine Learning studio, or to share or reuse components across jobs in the workspace, you need to register the components. Follow the instructions at [Register component in your workspace](how-to-create-component-pipelines-ui.md#register-component-in-your-workspace) to register pipeline components. After that, you can view and use the components in the studio asset library and components list page.
87
+
To access components in Azure Machine Learning studio, or to share or reuse components across jobs in the workspace, you need to register the components. To register pipeline components, follow the instructions at [Register component in your workspace](how-to-create-component-pipelines-ui.md#register-component-in-your-workspace). After that, you can view and use the components in the studio asset library and components list page.
88
+
89
+
---
88
90
89
91
### Use components in pipelines
90
92
@@ -122,6 +124,8 @@ After you submit a pipeline job, you can go to the pipeline job detail page to c
122
124
123
125
:::image type="content" source="./media/how-to-use-pipeline-component/pipeline-component-right-panel.png" alt-text="Screenshot of view pipeline component on the pipeline job detail page." lightbox= "./media/how-to-use-pipeline-component/pipeline-component-right-panel.png":::
124
126
127
+
---
128
+
125
129
## Related content
126
130
127
131
-[YAML reference for pipeline component](reference-yaml-component-pipeline.md)
0 commit comments