Skip to content

Commit 204e108

Browse files
authored
Merge pull request #5537 from cdpark/refresh-ml-designer-4
Feature 438779: Q&M: Azure ML Designer doc Freshness - batch 4
2 parents 37c285d + ff450db commit 204e108

14 files changed

+111
-92
lines changed
-660 KB
Loading
7.36 KB
Loading
-6.1 KB
Loading

articles/machine-learning/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ items:
301301
- name: Connect to data (UI)
302302
displayName: blob, get, fileshare, access, mount, download, data lake, datastore, dataset, data set
303303
href: ./v1/how-to-connect-data-ui.md
304+
- name: Enable log metrics in designer
305+
href: ./v1/how-to-track-designer-experiments.md
304306
- name: Manage & consume data
305307
items:
306308
- name: Train with datasets

articles/machine-learning/v1/how-to-deploy-model-designer.md

Lines changed: 56 additions & 41 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Import data into the designer
2+
title: Import Data into the Designer
33
titleSuffix: Azure Machine Learning
44
description: Learn how to import data into Azure Machine Learning designer using Azure Machine Learning datasets and the Import Data component.
55
services: machine-learning
@@ -8,7 +8,7 @@ ms.subservice: mldata
88
author: lgayhardt
99
ms.author: lagayhar
1010
ms.reviewer: keli19
11-
ms.date: 09/22/2022
11+
ms.date: 06/13/2025
1212
ms.topic: how-to
1313
ms.custom: UpdateFrequency5, designer
1414
---
@@ -17,40 +17,40 @@ ms.custom: UpdateFrequency5, designer
1717

1818
[!INCLUDE [v1 deprecation](../includes/sdk-v1-deprecation.md)]
1919

20-
In this article, you learn how to import your own data in the designer to create custom solutions. There are two ways you can import data into the designer:
20+
In this article, you learn how to import your own data into the Azure Machine Learning designer to create custom solutions. There are two ways you can import data into the designer:
2121

22-
* **Azure Machine Learning datasets** - Register [datasets](concept-data.md) in Azure Machine Learning to enable advanced features that help you manage your data.
23-
* **Import Data component** - Use the [Import Data](../algorithm-module-reference/import-data.md) component to directly access data from online data sources.
22+
* **Azure Machine Learning datasets**: Register [datasets](concept-data.md#reference-data-in-storage-with-datasets) in Azure Machine Learning to enable advanced features that help you manage your data.
23+
* **Import Data component**: Use the [Import Data](../algorithm-module-reference/import-data.md) component to directly access data from online data sources.
2424

2525
> [!IMPORTANT]
26-
> 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).
26+
> If you don't see graphical elements mentioned in this document, such as buttons in studio or designer, you might not have the right level of permissions to the workspace. 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).
2727
2828
## Use Azure Machine Learning datasets
2929

30-
We recommend that you use [datasets](concept-data.md) to import data into the designer. When you register a dataset, you can take full advantage of advanced data features like [versioning and tracking](how-to-version-track-datasets.md) and [data monitoring](how-to-monitor-datasets.md).
30+
We recommend that you use [datasets](concept-data.md#reference-data-in-storage-with-datasets) to import data into the designer. When you register a dataset, you can take full advantage of advanced data features like [versioning and tracking](how-to-version-track-datasets.md) and [data monitoring](how-to-monitor-datasets.md).
3131

3232
### Register a dataset
3333

34-
You can register existing datasets [programmatically with the SDK](how-to-create-register-datasets.md#create-datasets-from-datastores) or [visually in Azure Machine Learning studio](how-to-connect-data-ui.md#create-data-assets).
34+
You can register existing datasets [programmatically with the SDK](how-to-create-register-datasets.md#create-datasets-from-datastores) or [visually in the Azure Machine Learning studio](how-to-connect-data-ui.md#create-data-assets).
3535

3636
You can also register the output for any designer component as a dataset.
3737

3838
1. Select the component that outputs the data you want to register.
3939

40-
1. In the properties pane, select **Outputs + logs** > **Register dataset**.
40+
1. In the properties pane, select **Outputs + logs** > **Data outputs** > **Register data**.
4141

42-
![Screenshot showing how to navigate to the Register Dataset option](media/how-to-designer-import-data/register-dataset-designer.png)
42+
:::image type="content" source="media/how-to-designer-import-data/register-dataset-designer.png" alt-text="Screenshot showing how to navigate to the Register Dataset option.":::
4343

4444
If the component output data is in a tabular format, you must choose to register the output as a **file dataset** or **tabular dataset**.
4545

46-
- **File dataset** registers the component's output folder as a file dataset. The output folder contains a data file and meta files that the designer uses internally. Select this option if you want to continue to use the registered dataset in the designer.
46+
- **File dataset** registers the component's output folder as a file dataset. The output folder contains a data file and meta files that the designer uses internally. Select this option if you want to continue to use the registered dataset in the designer.
4747

48-
- **Tabular dataset** registers only the component's the output data file as a tabular dataset. This format is easily consumed by other tools, for example in Automated Machine Learning or the Python SDK. Select this option if you plan to use the registered dataset outside of the designer.
48+
- **Tabular dataset** registers only the component's the output data file as a tabular dataset. This format is easily consumed by other tools, for example in Automated Machine Learning or the Python SDK. Select this option if you plan to use the registered dataset outside of the designer.
4949

5050

5151
### Use a dataset
5252

53-
Your registered datasets can be found in the component palette, under **Datasets**. To use a dataset, drag and drop it onto the pipeline canvas. Then, connect the output port of the dataset to other components in the canvas.
53+
Your registered datasets can be found in the component palette, under **Data**. To use a dataset, drag and drop it onto the pipeline canvas. Then, connect the output port of the dataset to other components in the canvas.
5454

5555
If you register a file dataset, the output port type of the dataset is **AnyDirectory**. If you register a Tabular dataset, the output port type of the dataset if **DataFrameDirectory**. Note that if you connect the output port of the dataset to other components in the designer, the port type of datasets and components need to be aligned.
5656

@@ -62,37 +62,38 @@ If you register a file dataset, the output port type of the dataset is **AnyDire
6262
6363
### Limitations
6464

65-
- Currently you can only visualize tabular dataset in the designer. If you register a file dataset outside designer, you cannot visualize it in the designer canvas.
66-
- Currently the designer only supports preview outputs which are stored in **Azure blob storage**. You can check and change your output datastore in the **Output settings** under **Parameters** tab in the right panel of the component.
67-
- If your data is stored in virtual network (VNet) and you want to preview, you need to enable workspace managed identity of the datastore.
68-
1. Go the related datastore and click **Update authentication**
69-
:::image type="content" source="../media/resource-known-issues/datastore-update-credential.png" alt-text="Update Credentials":::
70-
1. Select **Yes** to enable workspace managed identity.
71-
:::image type="content" source="../media/resource-known-issues/enable-workspace-managed-identity.png" alt-text="Enable Workspace Managed Identity":::
65+
- Currently you can only visualize a tabular dataset in the designer. If you register a file dataset outside designer, you can't visualize it in the designer canvas.
66+
- Currently the designer only supports preview outputs that are stored in **Azure blob storage**. You can check and change your output datastore in the **Output settings** under **Parameters** tab in the right panel of the component.
67+
- If your data is stored in a virtual network and you want to preview, you need to enable workspace managed identity of the datastore.
68+
1. Go the related datastore and select **Update authentication**.
69+
:::image type="content" source="../media/resource-known-issues/datastore-update-credential.png" alt-text="Screenshot that shows how to update credentials.":::
70+
1. Select the toggle switch to use workspace managed identity.
71+
:::image type="content" source="../media/resource-known-issues/enable-workspace-managed-identity.png" alt-text="Screenshot that shows how to Enable Workspace Managed Identity.":::
7272

7373
## Import data using the Import Data component
7474

75-
While we recommend that you use datasets to import data, you can also use the [Import Data](../algorithm-module-reference/import-data.md) component. The Import Data component skips registering your dataset in Azure Machine Learning and imports data directly from a [datastore](concept-data.md) or HTTP URL.
75+
While we recommend that you use datasets to import data, you can also use the [Import Data](../algorithm-module-reference/import-data.md) component. The **Import Data** component skips registering your dataset in Azure Machine Learning and imports data directly from a [datastore](concept-data.md) or HTTP URL.
7676

7777
For detailed information on how to use the Import Data component, see the [Import Data reference page](../algorithm-module-reference/import-data.md).
7878

7979
> [!NOTE]
80-
> If your dataset has too many columns, you may encounter the following error: "Validation failed due to size limitation". To avoid this, [register the dataset in the Datasets interface](how-to-connect-data-ui.md#create-data-assets).
80+
> If your dataset has too many columns, you might encounter the following error: "Validation failed due to size limitation". To avoid this, [register the dataset in the Datasets interface](how-to-connect-data-ui.md#create-data-assets).
8181
8282
## Supported sources
8383

84-
This section lists the data sources supported by the designer. Data comes into the designer from either a datastore or from [tabular dataset](how-to-create-register-datasets.md#dataset-types).
84+
This section lists the data sources supported by the designer. Data comes into the designer from either a datastore or from a [tabular dataset](how-to-create-register-datasets.md#dataset-types).
8585

8686
### Datastore sources
87+
8788
For a list of supported datastore sources, see [Access data in Azure storage services](how-to-access-data.md#supported-data-storage-service-types).
8889

8990
### Tabular dataset sources
9091

9192
The designer supports tabular datasets created from the following sources:
92-
* Delimited files
93-
* JSON files
94-
* Parquet files
95-
* SQL queries
93+
* Delimited files
94+
* JSON files
95+
* Parquet files
96+
* SQL queries
9697

9798
## Data types
9899

@@ -112,8 +113,9 @@ Modules in the designer are limited by the size of the compute target. For large
112113

113114
## Access data in a virtual network
114115

115-
If your workspace is in a virtual network, you must perform additional configuration steps to visualize data in the designer. For more information on how to use datastores and datasets in a virtual network, see [Use Azure Machine Learning studio in an Azure virtual network](../how-to-enable-studio-virtual-network.md).
116+
If your workspace is in a virtual network, you must perform additional configuration steps to visualize data in the designer. For more information on how to use datastores and datasets in a virtual network, see [Use Azure Machine Learning studio in an Azure virtual network](../how-to-enable-studio-virtual-network.md).
116117

117-
## Next steps
118+
## Next step
118119

119-
Learn the designer fundamentals with this [Tutorial: Predict automobile price with the designer](tutorial-designer-automobile-price-train-score.md).
120+
> [!div class="nextstepaction"]
121+
> [Tutorial: Train a no-code regression model using designer](tutorial-designer-automobile-price-train-score.md)
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Log metrics in the designer
2+
title: Log Metrics in Designer Pipelines
33
titleSuffix: Azure Machine Learning
44
description: Monitor your Azure Machine Learning designer experiments. Enable logging using the Execute Python Script component and view the logged results in the studio.
55
services: machine-learning
@@ -8,30 +8,30 @@ ms.author: lagayhar
88
ms.reviewer: keli19
99
ms.service: azure-machine-learning
1010
ms.subservice: core
11-
ms.date: 10/21/2021
11+
ms.date: 06/12/2025
1212
ms.topic: how-to
1313
ms.custom: UpdateFrequency5, designer, sdkv1, devx-track-python
1414
---
1515

16-
# Enable logging in Azure Machine Learning designer pipelines
16+
# Enable log metrics in Azure Machine Learning designer pipelines
1717

1818
[!INCLUDE [v1 deprecation](../includes/sdk-v1-deprecation.md)]
1919

20-
In this article, you learn how to add logging code to designer pipelines. You also learn how to view those logs using the Azure Machine Learning studio web portal.
20+
In this article, you learn how to add code to designer pipelines to enable log metrics. You also learn how to view those logs using the Azure Machine Learning studio web portal.
2121

22-
For more information on logging metrics using the SDK authoring experience, see [Monitor Azure Machine Learning experiment runs and metrics](../how-to-log-view-metrics.md).
22+
For more information on logging metrics using the SDK authoring experience, see [Log & view metrics and log files](../how-to-log-view-metrics.md).
2323

2424
## Enable logging with Execute Python Script
2525

26-
Use the [Execute Python Script](../algorithm-module-reference/execute-python-script.md) component to enable logging in designer pipelines. Although you can log any value with this workflow, it's especially useful to log metrics from the __Evaluate Model__ component to track model performance across runs.
26+
Use the [Execute Python Script](../algorithm-module-reference/execute-python-script.md) component to enable logging in designer pipelines. Although you can log any value with this workflow, it's especially useful to log metrics from the **Evaluate Model** component to track model performance across runs.
2727

28-
The following example shows you how to log the mean squared error of two trained models using the Evaluate Model and Execute Python Script components.
28+
The following example shows how to log the mean squared error of two trained models using the **Evaluate Model** and **Execute Python Script** components.
2929

30-
1. Connect an __Execute Python Script__ component to the output of the __Evaluate Model__ component.
30+
1. Connect an **Execute Python Script** component to the output of the **Evaluate Model** component.
3131

32-
![Connect Execute Python Script component to Evaluate Model component](../media/how-to-log-view-metrics/designer-logging-pipeline.png)
32+
:::image type="content" source="../media/how-to-log-view-metrics/designer-logging-pipeline.png" alt-text="Screenshot that shows how to connect the Execute Python Script component to the Evaluate Model component." lightbox="../media/how-to-log-view-metrics/designer-logging-pipeline.png":::
3333

34-
1. Paste the following code into the __Execute Python Script__ code editor to log the mean absolute error for your trained model. You can use a similar pattern to log any other value in the designer:
34+
1. Paste the following code into the **Execute Python Script** code editor to log the mean absolute error for your trained model. You can use a similar pattern to log any other value in the designer:
3535

3636
[!INCLUDE [sdk v1](../includes/machine-learning-sdk-v1.md)]
3737

@@ -56,27 +56,27 @@ The following example shows you how to log the mean squared error of two trained
5656

5757
return dataframe1,
5858
```
59-
60-
This code uses the Azure Machine Learning Python SDK to log values. It uses Run.get_context() to get the context of the current run. It then logs values to that context with the run.parent.log() method. It uses `parent` to log values to the parent pipeline run rather than the component run.
6159

62-
For more information on how to use the Python SDK to log values, see [Enable logging in Azure Machine Learning training runs](../how-to-log-view-metrics.md).
60+
This code uses the Azure Machine Learning Python SDK to log values. It uses `Run.get_context()` to get the context of the current run. It then logs values to that context with the `run.parent.log()` method. It uses `parent` to log values to the parent pipeline run rather than the component run.
61+
62+
For more information on how to use the Python SDK to log values, see [Log & view metrics and log files](../how-to-log-view-metrics.md).
6363

6464
## View logs
6565

6666
After the pipeline run completes, you can see the *Mean_Absolute_Error* in the Experiments page.
6767

6868
1. Navigate to the **Jobs** section.
69+
6970
1. Select your experiment.
70-
1. Select the job in your experiment you want to view.
71-
1. Select **Metrics**.
7271

73-
![View job metrics in the studio](../media/how-to-log-view-metrics/experiment-page-metrics-across-runs.png)
72+
1. Select the job in your experiment that you want to view.
7473

75-
## Next steps
74+
1. Select **Metrics**.
7675

77-
In this article, you learned how to use logs in the designer. For next steps, see these related articles:
76+
:::image type="content" source="../media/how-to-log-view-metrics/experiment-page-metrics-across-runs.png" alt-text="Screenshot that shows job metrics in the studio." lightbox="../media/how-to-log-view-metrics/experiment-page-metrics-across-runs.png":::
7877

78+
## Related content
7979

80-
* Learn how to troubleshoot designer pipelines, see [Debug & troubleshoot ML pipelines](how-to-debug-pipelines.md#azure-machine-learning-designer).
81-
* Learn how to use the Python SDK to log metrics in the SDK authoring experience, see [Enable logging in Azure Machine Learning training runs](how-to-log-view-metrics.md).
82-
* Learn how to use [Execute Python Script](../algorithm-module-reference/execute-python-script.md) in the designer.
80+
* [Troubleshooting machine learning pipelines](how-to-debug-pipelines.md#azure-machine-learning-designer)
81+
* [Log & view metrics and log files v1](how-to-log-view-metrics.md)
82+
* [Execute Python Script component](../algorithm-module-reference/execute-python-script.md)
-7.55 KB
Loading
-5.13 KB
Loading
-31.6 KB
Loading

0 commit comments

Comments
 (0)