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/includes/sdk-v1-deprecation.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ ms.author: larryfr
7
7
---
8
8
9
9
> [!IMPORTANT]
10
-
> This article provides information on using the Azure Machine Learning SDK v1. The SDK v1 is deprecated as of March 31, 2025 and support for it will end on June 30, 2026. You're able to install and use the SDK v1 until that date.
10
+
> This article provides information on using the Azure Machine Learning SDK v1. SDK v1 is deprecated as of March 31, 2025. Support for it will end on June 30, 2026. You can install and use SDK v1 until that date.
11
11
>
12
-
> We recommend that you transition to the SDK v2 before June 30, 2026. For more information on the SDK v2, see [What is the Azure Machine Learning Python SDK v2](/azure/machine-learning/concept-v2) and the [SDK v2 reference](/python/api/overview/azure/ai-ml-readme).
12
+
> We recommend that you transition to the SDK v2 before June 30, 2026. For more information on SDK v2, see [What is Azure Machine Learning CLI and Python SDK v2?](/azure/machine-learning/concept-v2) and the [SDK v2 reference](/python/api/overview/azure/ai-ml-readme).
Use pipeline parameters to build flexible pipelines in the designer. Pipeline parameters let you dynamically set values at runtime to encapsulate pipeline logic and reuse assets.
22
+
This article describes how to use pipeline parameters to build flexible pipelines in the Azure Machine Learning designer. Pipeline parameters enable you to dynamically set values at runtime so you can encapsulate pipeline logic and reuse assets.
21
23
22
-
Pipeline parameters are especially useful when resubmitting a pipeline job, [retraining models](how-to-retrain-designer.md), or [performing batch predictions](how-to-run-batch-predictions-designer.md).
24
+
Pipeline parameters are especially useful when you resubmit a pipeline job, [retrain models](how-to-retrain-designer.md), or [perform batch predictions](how-to-run-batch-predictions-designer.md).
23
25
24
26
In this article, you learn how to do the following:
25
27
26
28
> [!div class="checklist"]
27
-
> * Create pipeline parameters
28
-
> * Delete and manage pipeline parameters
29
-
> *Trigger pipeline jobs while adjusting pipeline parameters
29
+
> * Create pipeline parameters.
30
+
> * Delete and manage pipeline parameters.
31
+
> *Supply pipeline paramenters when you trigger pipeline jobs.
30
32
31
33
## Prerequisites
32
34
@@ -35,97 +37,95 @@ In this article, you learn how to do the following:
35
37
* For a guided introduction to the designer, complete the [designer tutorial](tutorial-designer-automobile-price-train-score.md).
36
38
37
39
> [!IMPORTANT]
38
-
> If you do not see graphical elements mentioned in this document, such as buttons in studio or designer, you may not have the right level of permissions to the workspace. Please contact your Azure subscription administrator to verify that you have been granted the correct level of access. For more information, see [Manage users and roles](../how-to-assign-roles.md).
40
+
> If you don't see the UI elements mentioned in this article, such as buttons in studio or designer, you might not have the right level of permissions for the workspace. Contact your Azure subscription administrator to verify that you're granted the correct level of access. For more information, see [Manage users and roles](../how-to-assign-roles.md).
39
41
40
-
## Create pipeline parameter
42
+
## Create a pipeline parameter
41
43
42
44
There are three ways to create a pipeline parameter in the designer:
43
-
- Create a pipeline parameter in the settings panel, and bind it to a component.
45
+
- Create a pipeline parameter in the settings panel and bind it to a component.
44
46
- Promote a component parameter to a pipeline parameter.
45
-
- Promote a dataset to a pipeline parameter
47
+
- Promote a dataset to a pipeline parameter.
46
48
47
49
> [!NOTE]
48
-
> Pipeline parameters only support basic data types like `int`, `float`, and `string`.
50
+
> Pipeline parameters support only basic data types, like `int`, `float`, and `string`.
49
51
50
52
### Option 1: Create a pipeline parameter in the settings panel
51
53
52
54
In this section, you create a pipeline parameter in the settings panel.
53
55
54
-
In this example, you create a pipeline parameter that defines how a pipeline fills in missing data using the **Clean missing data** component.
55
-
56
-
1. Next to the name of your pipeline draft, select the **gear icon** to open the **Settings** panel.
56
+
In this example, you create a pipeline parameter that defines how a pipeline fills in missing data by using the **Clean missing data** component.
57
57
58
-
1.In the **Pipeline parameters** section, select the **+**icon.
58
+
1.Next to the name of your pipeline draft, select the gear button to open the **Settings**panel.
59
59
60
-
1. Enter a name for the parameter and a default value.
60
+
1.In the **Pipeline parameters** section, select the **+** button.
61
61
62
-
For example, enter `replace-missing-value` as parameter name and `0` as default value.
62
+
1. Enter a name for the parameter and a default value.
63
63
64
-

64
+
For example, enter `replace-missing-value` as parameter name and `0` as the default value.
65
65
66
+
:::image type="content" source="media/how-to-use-pipeline-parameter/create-pipeline-parameter.png" alt-text="Screenshot that shows how to create a pipeline parameter." lightbox ="media/how-to-use-pipeline-parameter/create-pipeline-parameter.png":::
66
67
67
68
After you create a pipeline parameter, you must [attach it to the component parameter](#attach-component-parameter-to-pipeline-parameter) that you want to dynamically set.
68
69
69
70
### Option 2: Promote a component parameter
70
71
71
-
The simplest way to create a pipeline parameter for a component value is to promote a component parameter. Use the following steps to promote a component parameter to a pipeline parameter:
72
+
The easiest way to create a pipeline parameter for a component value is to promote a component parameter. Use the following steps to promote a component parameter to a pipeline parameter:
72
73
73
74
1. Select the component you want to attach a pipeline parameter to.
74
-
1. In the component detail pane, mouseover the parameter you want to specify.
75
-
1. Select the ellipses (**...**) that appear.
75
+
1. In the component detail pane, hover over the parameter you want to specify.
76
+
1. Select the ellipsis button (**...**) that appears.
76
77
1. Select **Add to pipeline parameter**.
77
78
78
-

79
+
:::image type="content" source="media/how-to-use-pipeline-parameter/promote-module-para-to-pipeline-para.png" alt-text="Screenshot that shows how to promote a component parameter to a pipeline parameter." lightbox ="media/how-to-use-pipeline-parameter/promote-module-para-to-pipeline-para.png":::
79
80
80
-
1. Enter a parameter name and default value.
81
-
1. Select **Save**
81
+
1. Enter a parameter name and a default value.
82
+
1. Select **Save**.
82
83
83
-
You can now specify new values for this parameter anytime you submit this pipeline.
84
+
You can now specify new values for this parameter anytime you submit the pipeline.
84
85
85
86
### Option 3: Promote a dataset to a pipeline parameter
86
87
87
-
If you want to submit your pipeline with variable datasets, you must promote your dataset to a pipeline parameter:
88
+
If you want to submit your pipeline with variable datasets, you need to promote your dataset to a pipeline parameter:
88
89
89
90
1. Select the dataset you want to turn into a pipeline parameter.
90
91
91
-
1. In the detail panel of dataset, check**Set as pipeline parameter**.
92
+
1. In the details pane of the dataset, select**Set as pipeline parameter**.
92
93
93
-

94
+
:::image type="content" source="media/how-to-use-pipeline-parameter/set-dataset-as-pipeline-parameter.png" alt-text="Screenshot that shows how to set dataset as pipeline parameter." lightbox ="media/how-to-use-pipeline-parameter/set-dataset-as-pipeline-parameter.png":::
94
95
95
96
You can now specify a different dataset by using the pipeline parameter the next time you run the pipeline.
96
97
97
-
## Attach and detach component parameter to pipeline parameter
98
+
## Attach a component parameter to or detach a component pipeline from a pipeline parameter
98
99
99
-
In this section, you will learn how to attach and detach component parameter to pipeline parameter.
100
+
In this section, you learn how to attach a component parameter to a pipeline parameter and how to detach a component parameter from a pipeline parameter.
100
101
101
102
### Attach component parameter to pipeline parameter
102
103
103
-
You can attach the same component parameters of duplicated components to the same pipeline parameter if you want to alter the value at one time when triggering the pipeline job.
104
+
You can attach the component parameters of duplicated components to the same pipeline parameter if you want to alter the value one time when you trigger the pipeline job.
104
105
105
-
The following example has duplicated **Clean Missing Data** component. For each **Clean Missing Data** component, attach **Replacement value** to pipeline parameter **replace-missing-value**:
106
+
In the following example, the **Clean Missing Data** component is duplicated. For each **Clean Missing Data** component, attach a **Replacement value** to the pipeline parameter **replace-missing-value**:
106
107
107
108
1. Select the **Clean Missing Data** component.
108
109
109
-
1. In the component detail pane, to the right of the canvas, set the **Cleaning mode** to "Custom substitution value".
110
+
1. In the component detail pane, to the right of the canvas, set the **Cleaning mode** to **Custom substitution value**.
110
111
111
-
1.Mouseover the **Replacement value** field.
112
+
1.Hover over the **Replacement value** field.
112
113
113
-
1. Select the ellipses (**...**) that appear.
114
+
1. Select the ellipsis button (**...**) that appears.
114
115
115
116
1. Select the pipeline parameter `replace-missing-value`.
116
117
117
-

118
+
:::image type="content" source="media/how-to-use-pipeline-parameter/attach-replace-value-to-pipeline-parameter.png" alt-text="Screenshot that shows how to attach a pipeline parameter." lightbox ="media/how-to-use-pipeline-parameter/attach-replace-value-to-pipeline-parameter.png":::
118
119
119
120
You have successfully attached the **Replacement value** field to your pipeline parameter.
120
121
122
+
### Detach a component parameter from a pipeline parameter
121
123
122
-
### Detach component parameter to pipeline parameter
123
-
124
-
After you attach **Replacement value** to pipeline parameter, it is non-actionable.
124
+
When you detach a **Replacement value** from a pipeline parameter, it's not actionable.
125
125
126
-
You can detach component parameter to pipeline parameter by clicking the ellipses (**...**) next to the component parameter, and select**Detach from pipeline parameter**.
126
+
You can detach a component parameter from a pipeline parameter by selecting the ellipsis button (**...**) next to the component parameter and then selecting**Detach from pipeline parameter**.
127
127
128
-

128
+
:::image type="content" source="media/how-to-use-pipeline-parameter/non-actionable-module-parameter.png" alt-text="Screenshot that shows how to detach a component parameter." lightbox ="media/how-to-use-pipeline-parameter/non-actionable-module-parameter.png":::
0 commit comments