Skip to content

Commit 14ab3c7

Browse files
authored
metadata and md updates (Azure#2150)
1 parent 31b4358 commit 14ab3c7

File tree

11 files changed

+33
-27
lines changed

11 files changed

+33
-27
lines changed

tutorials/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Test Status is for branch - **_main_**
4040
|azureml-in-a-day|[azureml-in-a-day](azureml-in-a-day/azureml-in-a-day.ipynb)|Learn how a data scientist uses Azure Machine Learning (Azure ML) to train a model, then use the model for prediction. This tutorial will help you become familiar with the core concepts of Azure ML and their most common usage.|[![azureml-in-a-day](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-azureml-in-a-day-azureml-in-a-day.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-azureml-in-a-day-azureml-in-a-day.yml)|
4141
|e2e-distributed-pytorch-image|[e2e-object-classification-distributed-pytorch](e2e-distributed-pytorch-image/e2e-object-classification-distributed-pytorch.ipynb)|Prepare data, test and run a multi-node multi-gpu pytorch job. Use mlflow to analyze your metrics|[![e2e-object-classification-distributed-pytorch](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-e2e-distributed-pytorch-image-e2e-object-classification-distributed-pytorch.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-e2e-distributed-pytorch-image-e2e-object-classification-distributed-pytorch.yml)|
4242
|e2e-ds-experience|[e2e-ml-workflow](e2e-ds-experience/e2e-ml-workflow.ipynb)|Create production ML pipelines with Python SDK v2 in a Jupyter notebook|[![e2e-ml-workflow](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-e2e-ds-experience-e2e-ml-workflow.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-e2e-ds-experience-e2e-ml-workflow.yml)|
43-
|get-started-notebooks|[cloud-workstation](get-started-notebooks/cloud-workstation.ipynb)|*no description*|[![cloud-workstation](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-cloud-workstation.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-cloud-workstation.yml)|
44-
|get-started-notebooks|[deploy-model](get-started-notebooks/deploy-model.ipynb)|*no description*|[![deploy-model](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-deploy-model.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-deploy-model.yml)|
45-
|get-started-notebooks|[explore-data](get-started-notebooks/explore-data.ipynb)|*no description*|[![explore-data](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-explore-data.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-explore-data.yml)|
43+
|get-started-notebooks|[cloud-workstation](get-started-notebooks/cloud-workstation.ipynb)|Notebook cells that accompany the Develop on cloud tutorial.|[![cloud-workstation](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-cloud-workstation.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-cloud-workstation.yml)|
44+
|get-started-notebooks|[deploy-model](get-started-notebooks/deploy-model.ipynb)|Learn to deploy a model to an online endpoint, using Azure Machine Learning Python SDK v2.|[![deploy-model](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-deploy-model.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-deploy-model.yml)|
45+
|get-started-notebooks|[explore-data](get-started-notebooks/explore-data.ipynb)|Upload data to cloud storage, create a data asset, create new versions for data assets, use the data for interactive development.|[![explore-data](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-explore-data.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-explore-data.yml)|
4646
|get-started-notebooks|[pipeline](get-started-notebooks/pipeline.ipynb)|Create production ML pipelines with Python SDK v2 in a Jupyter notebook|[![pipeline](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-pipeline.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-pipeline.yml)|
4747
|get-started-notebooks|[quickstart](get-started-notebooks/quickstart.ipynb)|*no description*|[![quickstart](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-quickstart.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-quickstart.yml)|
4848
|get-started-notebooks|[train-model](get-started-notebooks/train-model.ipynb)|*no description*|[![train-model](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-train-model.yml/badge.svg?branch=main)](https://github.com/Azure/azureml-examples/actions/workflows/tutorials-get-started-notebooks-train-model.yml)|

tutorials/azureml-getting-started/azureml-getting-started-studio.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
"description": "A quickstart tutorial to train and deploy an image classification model on Azure Machine Learning studio"
415415
},
416416
"kernelspec": {
417-
"display_name": "Python 3.10 - SDK V2",
417+
"display_name": "Python 3.10 - SDK v2",
418418
"language": "python",
419419
"name": "python310-sdkv2"
420420
},

tutorials/azureml-in-a-day/azureml-in-a-day.ipynb

+3-8
Original file line numberDiff line numberDiff line change
@@ -802,9 +802,9 @@
802802
"description": "Learn how a data scientist uses Azure Machine Learning (Azure ML) to train a model, then use the model for prediction. This tutorial will help you become familiar with the core concepts of Azure ML and their most common usage."
803803
},
804804
"kernelspec": {
805-
"display_name": "Python 3.10 - SDK V2",
805+
"display_name": "Python 3",
806806
"language": "python",
807-
"name": "python310-sdkv2"
807+
"name": "python3"
808808
},
809809
"language_info": {
810810
"codemirror_mode": {
@@ -818,12 +818,7 @@
818818
"pygments_lexer": "ipython3",
819819
"version": "3.10.6"
820820
},
821-
"orig_nbformat": 4,
822-
"vscode": {
823-
"interpreter": {
824-
"hash": "71a65d72c50a26f05c9d6876d6234594cb07dd1b273faf1eea7eaa26341f62bb"
825-
}
826-
}
821+
"orig_nbformat": 4
827822
},
828823
"nbformat": 4,
829824
"nbformat_minor": 2

tutorials/e2e-distributed-pytorch-image/e2e-object-classification-distributed-pytorch.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@
680680
"description": "Prepare data, test and run a multi-node multi-gpu pytorch job. Use mlflow to analyze your metrics"
681681
},
682682
"kernelspec": {
683-
"display_name": "Python 3.10 - SDK V2",
683+
"display_name": "Python 3.10 - SDK v2",
684684
"language": "python",
685685
"name": "python310-sdkv2"
686686
},

tutorials/e2e-ds-experience/e2e-ml-workflow.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@
13261326
"description": "Create production ML pipelines with Python SDK v2 in a Jupyter notebook"
13271327
},
13281328
"kernelspec": {
1329-
"display_name": "Python 3.10 - SDK V2",
1329+
"display_name": "Python 3.10 - SDK v2",
13301330
"language": "python",
13311331
"name": "python310-sdkv2"
13321332
},

tutorials/get-started-notebooks/cloud-workstation.ipynb

+3
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@
210210
}
211211
],
212212
"metadata": {
213+
"description": {
214+
"description": "Notebook cells that accompany the Develop on cloud tutorial."
215+
},
213216
"kernel_info": {
214217
"name": "python310-sdkv2"
215218
},

tutorials/get-started-notebooks/deploy-model.ipynb

+7-5
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
" \n",
5252
" * If you're seeing this notebook elsewhere, complete [Create resources you need to get started](https://docs.microsoft.com/azure/machine-learning/quickstart-create-resources) to create an Azure Machine Learning workspace and a compute instance.\n",
5353
" \n",
54-
"1. If you already completed the earlier training tutorial, [Train a model](https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-train-model), you can skip to the next prerequisite.\n",
55-
"\n",
5654
"1. View your VM quota and ensure you have enough quota available to create online deployments. In this tutorial, you will need at least 8 cores of `STANDARD_DS3_v2` and 12 cores of `STANDARD_F4s_v2`. To view your VM quota usage and request quota increases, see [Manage resource quotas](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-quotas#view-your-usage-and-quotas-in-the-azure-portal).\n",
5755
"\n",
5856
"## Set your kernel\n",
@@ -113,11 +111,12 @@
113111
]
114112
},
115113
{
114+
"attachments": {},
116115
"cell_type": "markdown",
117116
"metadata": {},
118117
"source": [
119118
"> [!NOTE]\n",
120-
"> Creating `MLClient` will not connect to the workspace. The client initialization is lazy and will wait for the first time it needs to make a call (in this notebook, that will happen during compute creation).\n"
119+
"> Creating `MLClient` will not connect to the workspace. The client initialization is lazy and will wait for the first time it needs to make a call (this will happen in the next code cell).\n"
121120
]
122121
},
123122
{
@@ -782,7 +781,7 @@
782781
"source": [
783782
"ml_client.online_deployments.begin_delete(\n",
784783
" name=\"blue\", endpoint_name=online_endpoint_name\n",
785-
").wait()"
784+
").result()"
786785
]
787786
},
788787
{
@@ -803,11 +802,14 @@
803802
"metadata": {},
804803
"outputs": [],
805804
"source": [
806-
"ml_client.online_endpoints.begin_delete(name=online_endpoint_name)"
805+
"ml_client.online_endpoints.begin_delete(name=online_endpoint_name).result()"
807806
]
808807
}
809808
],
810809
"metadata": {
810+
"description": {
811+
"description": "Learn to deploy a model to an online endpoint, using Azure Machine Learning Python SDK v2."
812+
},
811813
"kernel_info": {
812814
"name": "python310-sdkv2"
813815
},

tutorials/get-started-notebooks/explore-data.ipynb

+8-3
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"metadata": {},
135135
"source": [
136136
"> [!NOTE]\n",
137-
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (in the notebook below, that will happen during compute creation)."
137+
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (this will happen in the next code cell)."
138138
]
139139
},
140140
{
@@ -165,7 +165,7 @@
165165
"\n",
166166
"The next notebook cell creates the data asset. The code sample uploads the raw data file to the designated cloud storage resource. \n",
167167
"\n",
168-
"Each time you create a data asset, you need a unique version for it. If the version already exists, you'll get an error. In this code, we're using time to generate a unique version, which will mostly work. But if you happen to run this same cell on a different day at the exact same time, you'll get an error. If this occurs, chances are good that it will be successful if you re-run the cell.\n",
168+
"Each time you create a data asset, you need a unique version for it. If the version already exists, you'll get an error. In this code, we're using time to generate a unique version each time the cell is run.\n",
169169
"\n",
170170
"You can also omit the **version** parameter, and a version number is generated for you, starting with 1 and then incrementing from there. In this tutorial, we want to refer to specific version numbers, so we create a version number instead."
171171
]
@@ -197,7 +197,9 @@
197197
"# local filesystem\n",
198198
"\n",
199199
"my_path = \"./data/default_of_credit_card_clients.csv\"\n",
200-
"v1 = str(time.strftime(\"%H.%M.%S\", time.gmtime()))\n",
200+
"# set the version number of the data asset to the current UTC time\n",
201+
"v1 = time.strftime(\"%Y.%m.%d.%H%M%S\", time.gmtime())\n",
202+
"\n",
201203
"\n",
202204
"my_data = Data(\n",
203205
" name=\"credit-card\",\n",
@@ -525,6 +527,9 @@
525527
}
526528
],
527529
"metadata": {
530+
"description": {
531+
"description": "Upload data to cloud storage, create a data asset, create new versions for data assets, use the data for interactive development."
532+
},
528533
"kernel_info": {
529534
"name": "python310-sdkv2"
530535
},

tutorials/get-started-notebooks/pipeline.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@
112112
]
113113
},
114114
{
115+
"attachments": {},
115116
"cell_type": "markdown",
116117
"metadata": {},
117118
"source": [
118119
"> [!NOTE]\n",
119-
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (in the notebook below, that will happen during compute creation).\n",
120+
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (this will happen when creating the `credit_data` data asset, two code cells from here).\n",
120121
"\n",
121122
"## Register data from an external url\n",
122123
"\n",

tutorials/get-started-notebooks/quickstart.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"metadata": {},
106106
"source": [
107107
"> [!NOTE]\n",
108-
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (in the notebook below, that will happen during compute creation)."
108+
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (in this notebook, that will happen in the cell that creates the compute cluster)."
109109
]
110110
},
111111
{
@@ -704,7 +704,7 @@
704704
}
705705
],
706706
"metadata": {
707-
"description": "Learn how a data scientist uses Azure Machine Learning (Azure ML) to train a model, then use the model for prediction. This tutorial will help you become familiar with the core concepts of Azure ML and their most common usage.",
707+
"description": "Learn how a data scientist uses Azure Machine Learning to train a model, then use the model for prediction. This tutorial will help you become familiar with the core concepts of Azure ML and their most common usage.",
708708
"kernel_info": {
709709
"name": "python310-sdkv2"
710710
},
@@ -723,7 +723,7 @@
723723
"name": "python",
724724
"nbconvert_exporter": "python",
725725
"pygments_lexer": "ipython3",
726-
"version": "3.10.9"
726+
"version": "3.10.6"
727727
},
728728
"microsoft": {
729729
"ms_spell_check": {

tutorials/get-started-notebooks/train-model.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"metadata": {},
123123
"source": [
124124
"> [!NOTE]\n",
125-
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (in the notebook below, that will happen during compute creation)."
125+
"> Creating MLClient will not connect to the workspace. The client initialization is lazy, it will wait for the first time it needs to make a call (this will happen in the next code cell)."
126126
]
127127
},
128128
{

0 commit comments

Comments
 (0)