Skip to content

Commit 679e68d

Browse files
committed
update register component in UI and common errors
1 parent e301120 commit 679e68d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/machine-learning/how-to-create-component-pipelines-ui.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.custom: devplatv2, designer, event-tier1-build-2022, ignite-2022
1717

1818
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
1919

20-
In this article, you'll learn how to create and run [machine learning pipelines](concept-ml-pipelines.md) by using the Azure Machine Learning studio and [Components](concept-component.md). You can create pipelines without using components, but components offer better amount of flexibility and reuse. Azure Machine Learning Pipelines may be defined in YAML and [run from the CLI](how-to-create-component-pipelines-cli.md), [authored in Python](how-to-create-component-pipeline-python.md), or composed in Azure Machine Learning Studio Designer with a drag-and-drop UI. This document focuses on the Azure Machine Learning studio designer UI.
20+
In this article, you'll learn how to create and run [machine learning pipelines](concept-ml-pipelines.md) by using the Azure Machine Learning studio and [Components](concept-component.md). You can create pipelines without using components, but components offer better amount of flexibility and reuse. Azure Machine Learning Pipelines may be defined in YAML and [run from the CLI](how-to-create-component-pipelines-cli.md), [authored in Python](how-to-create-component-pipeline-python.md), or composed in Azure Machine Learning studio Designer with a drag-and-drop UI. This document focuses on the Azure Machine Learning studio designer UI.
2121

2222
## Prerequisites
2323

@@ -42,34 +42,34 @@ In this article, you'll learn how to create and run [machine learning pipelines]
4242
>
4343
>Custom components allow you to provide your own code as a component. It supports sharing across workspaces and seamless authoring across Studio, CLI, and SDK interfaces.
4444
>
45-
>This article applies to **custom components**.
45+
>This article applies to **custom components**.
4646
4747
## Register component in your workspace
4848
4949
To build pipeline using components in UI, you need to register components to your workspace first. You can use UI, CLI or SDK to register components to your workspace, so that you can share and reuse the component within the workspace. Registered components support automatic versioning so you can update the component but assure that pipelines that require an older version will continue to work.
5050
51-
The example below will use UI to register components, and the component source files are in the [`cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components` directory](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components) of the [`azureml-examples` repository](https://github.com/Azure/azureml-examples). You need to clone the repo to local at first.
51+
The example below uses UI to register components, and the component source files are in the [`cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components` directory](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components) of the [`azureml-examples` repository](https://github.com/Azure/azureml-examples). You need to clone the repo to local at first.
5252
53-
1. In you AzureML workspace, navigate to **Components** page and select **New Component**.
53+
1. In your Azure Machine Learning workspace, navigate to **Components** page and select **New Component**.
5454
5555
:::image type="content" source="./media/how-to-create-component-pipelines-ui/register-component-entry-button.png" alt-text="Screenshot showing register entry button in component page." lightbox ="./media/how-to-create-component-pipelines-ui/register-component-entry-button.png":::
5656
57-
1. This example will use `train.yml` [in the directory](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components). The YAML file defines the name, type, interface including inputs and outputs, code, environment and command of this component. The code of this component `train.py` is under `./train_src` folder which describes the execution logic of this component. You can learn more about the component schema [here](reference-yaml-component-command.md).
57+
1. This example will use `train.yml` [in the directory](https://github.com/Azure/azureml-examples/tree/main/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components). The YAML file defines the name, type, interface including inputs and outputs, code, environment and command of this component. The code of this component `train.py` is under `./train_src` folder, which describes the execution logic of this component. You can learn more about the component schema [here](reference-yaml-component-command.md).
5858
5959
>[!Note]
6060
> When register components in UI, `code` defined in the component YAML file can only point to the current folder where YAML file locates or the subfolders, which means you cannot specify `../` for `code` as UI cannot recognize the parent directory.
6161
> `additional_includes` can only point to the current or sub folder.
6262
6363
64-
1. Select Upload from **Folder**, and select the `1b_e2e_registered_components` foler to upload. Select `train.yml` from the drop down list below.
64+
1. Select Upload from **Folder**, and select the `1b_e2e_registered_components` folder to upload. Select `train.yml` from the drop down list below.
6565
6666
:::image type="content" source="./media/how-to-create-component-pipelines-ui/upload-from-local-folder.png" alt-text="Screenshot showing upload from local folder." lightbox ="./media/how-to-create-component-pipelines-ui/upload-from-local-folder.png":::
6767
68-
1. Select **Next** in the bottom, and you can confirm the details of this component. Once you have confirmed, select **Create** to finish the registration process.
68+
1. Select **Next** in the bottom, and you can confirm the details of this component. Once you've confirmed, select **Create** to finish the registration process.
6969
7070
1. Repeat the steps above to register Score and Eval component using `score.yml` and `eval.yml` as well.
7171
72-
1. After register the 3 components successfully, you can see your components in the studio UI.
72+
1. After registering the three components successfully, you can see your components in the studio UI.
7373
7474
:::image type="content" source="./media/how-to-create-component-pipelines-ui/component-page.png" alt-text="Screenshot showing registered component in component page." lightbox ="./media/how-to-create-component-pipelines-ui/component-page.png":::
7575
@@ -113,7 +113,7 @@ The example below will use UI to register components, and the component source f
113113
114114
1. Select submit, and fill in the required information for your pipeline job.
115115
116-
:::image type="content" source="./media/how-to-create-component-pipelines-ui/submit-pipeline.png" alt-text="Screenshot of set up pipeline job with submit highlighted." lightbox ="./media/how-to-create-component-pipelines-ui/submit-pipeline.png":::
116+
:::image type="content" source="./media/how-to-create-component-pipelines-ui/submit-pipeline.png" alt-text="Screenshot of setup pipeline job with submit highlighted." lightbox ="./media/how-to-create-component-pipelines-ui/submit-pipeline.png":::
117117
118118
1. After submit successfully, you'll see a job detail page link in the left page. Select **Job detail** to go to pipeline job detail page for checking status and debugging.
119119
23.8 KB
Loading

0 commit comments

Comments
 (0)