Skip to content

Commit 6ec0e94

Browse files
authored
Merge pull request #206391 from sdgilley/sdg-v2
SDK v1 tutorial
2 parents b38e602 + b53c86b commit 6ec0e94

7 files changed

+992
-8
lines changed

articles/machine-learning/tutorial-1st-experiment-bring-data.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Tutorial: Upload data and train a model"
2+
title: "Tutorial: Upload data and train a model (SDK v2)"
33
titleSuffix: Azure Machine Learning
44
description: How to upload and use your own data in a remote training job. This is part 3 of a three-part getting-started series.
55
services: machine-learning
@@ -10,13 +10,17 @@ author: aminsaied
1010
ms.author: amsaied
1111
ms.reviewer: sgilley
1212
ms.date: 07/10/2022
13-
ms.custom: tracking-python, contperf-fy21q3, FY21Q4-aml-seo-hack, contperf-fy21q4, sdkv1, event-tier1-build-2022
13+
ms.custom: tracking-python, contperf-fy21q3, FY21Q4-aml-seo-hack, contperf-fy21q4, sdkv2
1414
---
1515

1616
# Tutorial: Upload data and train a model (part 3 of 3)
1717

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

20+
> [!div class="op_single_selector" title1="Select the version of Azure Machine Learning SDK you are using:"]
21+
> * [v1](v1/tutorial-1st-experiment-bring-data.md)
22+
> * [v2 (preview)](tutorial-1st-experiment-bring-data.md)
23+
2024
This tutorial shows you how to upload and use your own data to train machine learning models in Azure Machine Learning. This tutorial is *part 3 of a three-part tutorial series*.
2125

2226
In [Part 2: Train a model](tutorial-1st-experiment-sdk-train.md), you trained a model in the cloud, using sample data from `PyTorch`. You also downloaded that data through the `torchvision.datasets.CIFAR10` method in the PyTorch API. In this tutorial, you'll use the downloaded data to learn the workflow for working with your own data in Azure Machine Learning.

articles/machine-learning/tutorial-1st-experiment-hello-world.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Tutorial: Get started with a Python script"
2+
title: "Tutorial: Get started with a Python script (SDK v2)"
33
titleSuffix: Azure Machine Learning
44
description: Get started with your first Python script in Azure Machine Learning. This is part 1 of a three-part getting-started series.
55
services: machine-learning
@@ -10,13 +10,17 @@ author: aminsaied
1010
ms.author: amsaied
1111
ms.reviewer: sgilley
1212
ms.date: 07/10/2022
13-
ms.custom: devx-track-python, FY21Q4-aml-seo-hack, contperf-fy21q4, sdkv1, event-tier1-build-2022
13+
ms.custom: devx-track-python, FY21Q4-aml-seo-hack, contperf-fy21q4, sdkv2
1414
---
1515

1616
# Tutorial: Get started with a Python script in Azure Machine Learning (part 1 of 3)
1717

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

20+
> [!div class="op_single_selector" title1="Select the version of Azure Machine Learning SDK you are using:"]
21+
> * [v1](v1/tutorial-1st-experiment-hello-world.md)
22+
> * [v2 (preview)](tutorial-1st-experiment-hello-world.md)
23+
2024
In this tutorial, you run your first Python script in the cloud with Azure Machine Learning. This tutorial is *part 1 of a three-part tutorial series*.
2125

2226
This tutorial avoids the complexity of training a machine learning model. You will run a "Hello World" Python script in the cloud. You will learn how a control script is used to configure and create a run in Azure Machine Learning.
@@ -144,7 +148,7 @@ Here's a description of how the control script works:
144148
`ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace)`
145149
:::column-end:::
146150
:::column span="2":::
147-
[MLClient](/python/api/azure-ai-ml/azure.ai.ml.mlclient) manages your Azure Machine Learning workspace and it's assets and resources.
151+
[MLClient](/python/api/azure-ai-ml/azure.ai.ml.mlclient) manages your Azure Machine Learning workspace and its assets and resources.
148152
:::column-end:::
149153
:::row-end:::
150154
:::row:::

articles/machine-learning/tutorial-1st-experiment-sdk-train.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Tutorial: Train a first Python machine learning model "
2+
title: "Tutorial: Train a first Python machine learning model (SDK v2)"
33
titleSuffix: Azure Machine Learning
44
description: How to train a machine learning model in Azure Machine Learning. This is part 2 of a three-part getting-started series.
55
services: machine-learning
@@ -10,13 +10,17 @@ author: aminsaied
1010
ms.author: amsaied
1111
ms.reviewer: sgilley
1212
ms.date: 07/10/2022
13-
ms.custom: devx-track-python, contperf-fy21q3, FY21Q4-aml-seo-hack, contperf-fy21q, sdkv1, event-tier1-build-2022
13+
ms.custom: devx-track-python, contperf-fy21q3, FY21Q4-aml-seo-hack, contperf-fy21q, sdkv2
1414
---
1515

1616
# Tutorial: Train your first machine learning model (part 2 of 3)
1717

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

20+
> [!div class="op_single_selector" title1="Select the version of Azure Machine Learning SDK you are using:"]
21+
> * [v1](v1/tutorial-1st-experiment-sdk-train.md)
22+
> * [v2 (preview)](tutorial-1st-experiment-sdk-train.md)
23+
2024
This tutorial shows you how to train a machine learning model in Azure Machine Learning. This tutorial is _part 2 of a three-part tutorial series_.
2125

2226
In [Part 1: Run "Hello world!"](tutorial-1st-experiment-hello-world.md) of the series, you learned how to use a control script to run a job in the cloud.
@@ -251,7 +255,7 @@ if __name__ == "__main__":
251255

252256
### View the output
253257

254-
1. In the page that opens, you'll see the job status. The first time you run this script, Azure Machine Learning will build a new Docker image from your PyTorch environment. The whole job might around 10 minutes to complete. This image will be reused in future jobs to make them job much quicker.
258+
1. In the page that opens, you'll see the job status. The first time you run this script, Azure Machine Learning will build a new Docker image from your PyTorch environment. The whole job might take around 10 minutes to complete. This image will be reused in future jobs to make them job much quicker.
255259
1. You can see view Docker build logs in the Azure Machine Learning studio. Select the **Outputs + logs** tab, and then select **20_image_build_log.txt**.
256260
1. When the status of the job is **Completed**, select **Output + logs**.
257261
1. Select **std_log.txt** to view the output of your job.

articles/machine-learning/v1/toc.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545
- name: Tutorials
4646
expanded: true
4747
items:
48+
- name: Python get started (Day 1)
49+
expanded: true
50+
items:
51+
- name: 1. Run a Python script
52+
href: tutorial-1st-experiment-hello-world.md
53+
- name: 2. Train your model
54+
href: tutorial-1st-experiment-sdk-train.md
55+
- name: 3. Use your own data
56+
href: tutorial-1st-experiment-bring-data.md
4857
- name: "Build a training pipeline (Python)"
4958
href: "tutorial-pipeline-python-sdk.md"
5059
- name: How-to guides

0 commit comments

Comments
 (0)