Skip to content

Commit 91d43ba

Browse files
authored
Merge pull request #1235 from Azure/release_update_stablev2/Release-44
update samples from Release-44 as a part of 1.18.0 SDK stable release
2 parents 637bcc5 + bd750f5 commit 91d43ba

File tree

39 files changed

+457
-396
lines changed

39 files changed

+457
-396
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> a community-driven repository of examples using mlflow for tracking can be found at https://github.com/Azure/azureml-examples
44
5-
This repository contains example notebooks demonstrating the [Azure Machine Learning](https://azure.microsoft.com/en-us/services/machine-learning-service/) Python SDK which allows you to build, train, deploy and manage machine learning solutions using Azure. The AML SDK allows you the choice of using local or cloud compute resources, while managing and maintaining the complete data science workflow from the cloud.
5+
This repository contains example notebooks demonstrating the [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning-service/) Python SDK which allows you to build, train, deploy and manage machine learning solutions using Azure. The AML SDK allows you the choice of using local or cloud compute resources, while managing and maintaining the complete data science workflow from the cloud.
66

77
![Azure ML Workflow](https://raw.githubusercontent.com/MicrosoftDocs/azure-docs/master/articles/machine-learning/media/concept-azure-machine-learning-architecture/workflow.png)
88

@@ -20,10 +20,10 @@ This [index](./index.md) should assist in navigating the Azure Machine Learning
2020
If you want to...
2121

2222
* ...try out and explore Azure ML, start with image classification tutorials: [Part 1 (Training)](./tutorials/image-classification-mnist-data/img-classification-part1-training.ipynb) and [Part 2 (Deployment)](./tutorials/image-classification-mnist-data/img-classification-part2-deploy.ipynb).
23-
* ...learn about experimentation and tracking run history, first [train within Notebook](./how-to-use-azureml/training/train-within-notebook/train-within-notebook.ipynb), then try [training on remote VM](./how-to-use-azureml/training/train-on-remote-vm/train-on-remote-vm.ipynb) and [using logging APIs](./how-to-use-azureml/training/logging-api/logging-api.ipynb).
24-
* ...train deep learning models at scale, first learn about [Machine Learning Compute](./how-to-use-azureml/training/train-on-amlcompute/train-on-amlcompute.ipynb), and then try [distributed hyperparameter tuning](./how-to-use-azureml/training-with-deep-learning/train-hyperparameter-tune-deploy-with-pytorch/train-hyperparameter-tune-deploy-with-pytorch.ipynb) and [distributed training](./how-to-use-azureml/training-with-deep-learning/distributed-pytorch-with-horovod/distributed-pytorch-with-horovod.ipynb).
25-
* ...deploy models as a realtime scoring service, first learn the basics by [training within Notebook and deploying to Azure Container Instance](./how-to-use-azureml/training/train-within-notebook/train-within-notebook.ipynb), then learn how to [production deploy models on Azure Kubernetes Cluster](./how-to-use-azureml/deployment/production-deploy-to-aks/production-deploy-to-aks.ipynb).
26-
* ...deploy models as a batch scoring service, first [train a model within Notebook](./how-to-use-azureml/training/train-within-notebook/train-within-notebook.ipynb), then [create Machine Learning Compute for scoring compute](./how-to-use-azureml/training/train-on-amlcompute/train-on-amlcompute.ipynb), and [use Machine Learning Pipelines to deploy your model](https://aka.ms/pl-batch-scoring).
23+
* ...learn about experimentation and tracking run history: [track and monitor experiments](./how-to-use-azureml/track-and-monitor-experiments).
24+
* ...train deep learning models at scale, first learn about [Machine Learning Compute](./how-to-use-azureml/training/train-on-amlcompute/train-on-amlcompute.ipynb), and then try [distributed hyperparameter tuning](./how-to-use-azureml/ml-frameworks/pytorch/train-hyperparameter-tune-deploy-with-pytorch/train-hyperparameter-tune-deploy-with-pytorch.ipynb) and [distributed training](./how-to-use-azureml/ml-frameworks/pytorch/distributed-pytorch-with-horovod/distributed-pytorch-with-horovod.ipynb).
25+
* ...deploy models as a realtime scoring service, first learn the basics by [deploying to Azure Container Instance](./how-to-use-azureml/deployment/deploy-to-cloud/model-register-and-deploy.ipynb), then learn how to [production deploy models on Azure Kubernetes Cluster](./how-to-use-azureml/deployment/production-deploy-to-aks/production-deploy-to-aks.ipynb).
26+
* ...deploy models as a batch scoring service: [create Machine Learning Compute for scoring compute](./how-to-use-azureml/training/train-on-amlcompute/train-on-amlcompute.ipynb) and [use Machine Learning Pipelines to deploy your model](https://aka.ms/pl-batch-scoring).
2727
* ...monitor your deployed models, learn about using [App Insights](./how-to-use-azureml/deployment/enable-app-insights-in-production-service/enable-app-insights-in-production-service.ipynb).
2828

2929
## Tutorials
@@ -35,13 +35,12 @@ The [Tutorials](./tutorials) folder contains notebooks for the tutorials describ
3535
The [How to use Azure ML](./how-to-use-azureml) folder contains specific examples demonstrating the features of the Azure Machine Learning SDK
3636

3737
- [Training](./how-to-use-azureml/training) - Examples of how to build models using Azure ML's logging and execution capabilities on local and remote compute targets
38-
- [Training with Deep Learning](./how-to-use-azureml/training-with-deep-learning) - Examples demonstrating how to build deep learning models using estimators and parameter sweeps
38+
- [Training with ML and DL frameworks](./how-to-use-azureml/ml-frameworks) - Examples demonstrating how to build and train machine learning models at scale on Azure ML and perform hyperparameter tuning.
3939
- [Manage Azure ML Service](./how-to-use-azureml/manage-azureml-service) - Examples how to perform tasks, such as authenticate against Azure ML service in different ways.
4040
- [Automated Machine Learning](./how-to-use-azureml/automated-machine-learning) - Examples using Automated Machine Learning to automatically generate optimal machine learning pipelines and models
4141
- [Machine Learning Pipelines](./how-to-use-azureml/machine-learning-pipelines) - Examples showing how to create and use reusable pipelines for training and batch scoring
4242
- [Deployment](./how-to-use-azureml/deployment) - Examples showing how to deploy and manage machine learning models and solutions
4343
- [Azure Databricks](./how-to-use-azureml/azure-databricks) - Examples showing how to use Azure ML with Azure Databricks
44-
- [Monitor Models](./how-to-use-azureml/monitor-models) - Examples showing how to enable model monitoring services such as DataDrift
4544
- [Reinforcement Learning](./how-to-use-azureml/reinforcement-learning) - Examples showing how to train reinforcement learning agents
4645

4746
---
@@ -60,7 +59,6 @@ Visit this [community repository](https://github.com/microsoft/MLOps/tree/master
6059
## Projects using Azure Machine Learning
6160

6261
Visit following repos to see projects contributed by Azure ML users:
63-
- [AMLSamples](https://github.com/Azure/AMLSamples) Number of end-to-end examples, including face recognition, predictive maintenance, customer churn and sentiment analysis.
6462
- [Learn about Natural Language Processing best practices using Azure Machine Learning service](https://github.com/microsoft/nlp)
6563
- [Pre-Train BERT models using Azure Machine Learning service](https://github.com/Microsoft/AzureML-BERT)
6664
- [Fashion MNIST with Azure ML SDK](https://github.com/amynic/azureml-sdk-fashion)

configuration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"source": [
104104
"import azureml.core\n",
105105
"\n",
106-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},

how-to-use-azureml/automated-machine-learning/automl_env.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
- pip<=19.3.1
66
- python>=3.5.2,<3.6.8
77
- nb_conda
8+
- boto3==1.15.18
89
- matplotlib==2.1.0
910
- numpy==1.18.5
1011
- cython
@@ -24,5 +25,4 @@ dependencies:
2425
- pytorch-transformers==1.0.0
2526
- spacy==2.1.8
2627
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
27-
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.17.0/validated_win32_requirements.txt [--no-deps]
28-
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.18.0/validated_win32_requirements.txt [--no-deps]

how-to-use-azureml/automated-machine-learning/automl_env_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencies:
55
- pip<=19.3.1
66
- python>=3.5.2,<3.6.8
77
- nb_conda
8+
- boto3==1.15.18
89
- matplotlib==2.1.0
910
- numpy==1.18.5
1011
- cython
@@ -24,5 +25,5 @@ dependencies:
2425
- pytorch-transformers==1.0.0
2526
- spacy==2.1.8
2627
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
27-
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.17.0/validated_linux_requirements.txt [--no-deps]
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.18.0/validated_linux_requirements.txt [--no-deps]
2829

how-to-use-azureml/automated-machine-learning/automl_env_mac.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies:
66
- nomkl
77
- python>=3.5.2,<3.6.8
88
- nb_conda
9+
- boto3==1.15.18
910
- matplotlib==2.1.0
1011
- numpy==1.18.5
1112
- cython
@@ -25,4 +26,4 @@ dependencies:
2526
- pytorch-transformers==1.0.0
2627
- spacy==2.1.8
2728
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
28-
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.17.0/validated_darwin_requirements.txt [--no-deps]
29+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.18.0/validated_darwin_requirements.txt [--no-deps]

how-to-use-azureml/automated-machine-learning/classification-bank-marketing-all-features/auto-ml-classification-bank-marketing-all-features.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"metadata": {},
106106
"outputs": [],
107107
"source": [
108-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
109109
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
110110
]
111111
},
@@ -899,7 +899,7 @@
899899
"metadata": {
900900
"authors": [
901901
{
902-
"name": "anumamah"
902+
"name": "ratanase"
903903
}
904904
],
905905
"category": "tutorial",

how-to-use-azureml/automated-machine-learning/classification-credit-card-fraud/auto-ml-classification-credit-card-fraud.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"metadata": {},
9494
"outputs": [],
9595
"source": [
96-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
9797
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9898
]
9999
},
@@ -450,7 +450,7 @@
450450
"metadata": {
451451
"authors": [
452452
{
453-
"name": "tzvikei"
453+
"name": "ratanase"
454454
}
455455
],
456456
"category": "tutorial",

how-to-use-azureml/automated-machine-learning/classification-text-dnn/auto-ml-classification-text-dnn.ipynb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242
"\n",
4343
"Make sure you have executed the [configuration](../../../configuration.ipynb) before running this notebook.\n",
4444
"\n",
45-
"An Enterprise workspace is required for this notebook. To learn more about creating an Enterprise workspace or upgrading to an Enterprise workspace from the Azure portal, please visit our [Workspace page](https://docs.microsoft.com/azure/machine-learning/service/concept-workspace#upgrade).\n",
46-
"\n",
4745
"Notebook synopsis:\n",
46+
"\n",
4847
"1. Creating an Experiment in an existing Workspace\n",
4948
"2. Configuration and remote run of AutoML for a text dataset (20 Newsgroups dataset from scikit-learn) for classification\n",
5049
"3. Registering the best model for future use\n",
@@ -97,7 +96,7 @@
9796
"metadata": {},
9897
"outputs": [],
9998
"source": [
100-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
99+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
101100
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
102101
]
103102
},
@@ -272,8 +271,6 @@
272271
"cell_type": "markdown",
273272
"metadata": {},
274273
"source": [
275-
"This step requires an Enterprise workspace to gain access to this feature. To learn more about creating an Enterprise workspace or upgrading to an Enterprise workspace from the Azure portal, please visit our [Workspace page](https://docs.microsoft.com/azure/machine-learning/service/concept-workspace#upgrade).\n",
276-
"\n",
277274
"This notebook uses the blocked_models parameter to exclude some models that can take a longer time to train on some text datasets. You can choose to remove models from the blocked_models list but you may need to increase the experiment_timeout_hours parameter value to get results."
278275
]
279276
},

how-to-use-azureml/automated-machine-learning/continuous-retraining/auto-ml-continuous-retraining.ipynb

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@
3232
"8. [Test Retraining](#Test-Retraining)"
3333
]
3434
},
35-
{
36-
"cell_type": "markdown",
37-
"metadata": {},
38-
"source": [
39-
"An Enterprise workspace is required for this notebook. To learn more about creating an Enterprise workspace or upgrading to an Enterprise workspace from the Azure portal, please visit our [Workspace page.](https://docs.microsoft.com/azure/machine-learning/service/concept-workspace#upgrade)"
40-
]
41-
},
4235
{
4336
"cell_type": "markdown",
4437
"metadata": {},
@@ -88,7 +81,7 @@
8881
"metadata": {},
8982
"outputs": [],
9083
"source": [
91-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
84+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
9285
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9386
]
9487
},
@@ -550,7 +543,7 @@
550543
"metadata": {
551544
"authors": [
552545
{
553-
"name": "anshirga"
546+
"name": "vivijay"
554547
}
555548
],
556549
"kernelspec": {

how-to-use-azureml/automated-machine-learning/experimental/regression-model-proxy/auto-ml-regression-model-proxy.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"metadata": {},
9393
"outputs": [],
9494
"source": [
95-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
95+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
9696
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9797
]
9898
},
@@ -138,7 +138,8 @@
138138
"from azureml.core.compute_target import ComputeTargetException\n",
139139
"\n",
140140
"# Choose a name for your CPU cluster\n",
141-
"cpu_cluster_name = \"reg-cluster\"\n",
141+
"# Try to ensure that the cluster name is unique across the notebooks\n",
142+
"cpu_cluster_name = \"reg-model-proxy\"\n",
142143
"\n",
143144
"# Verify that cluster does not exist already\n",
144145
"try:\n",
@@ -451,7 +452,7 @@
451452
"metadata": {
452453
"authors": [
453454
{
454-
"name": "rakellam"
455+
"name": "sekrupa"
455456
}
456457
],
457458
"categories": [

how-to-use-azureml/automated-machine-learning/forecasting-beer-remote/auto-ml-forecasting-beer-remote.ipynb

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@
5454
"\n",
5555
"Make sure you have executed the [configuration](../../../configuration.ipynb) before running this notebook.\n",
5656
"\n",
57-
"An Enterprise workspace is required for this notebook. To learn more about creating an Enterprise workspace or upgrading to an Enterprise workspace from the Azure portal, please visit our [Workspace page.](https://docs.microsoft.com/azure/machine-learning/service/concept-workspace#upgrade)\n",
58-
"\n",
5957
"Notebook synopsis:\n",
58+
"\n",
6059
"1. Creating an Experiment in an existing Workspace\n",
6160
"2. Configuration and remote run of AutoML for a time-series model exploring Regression learners, Arima, Prophet and DNNs\n",
6261
"4. Evaluating the fitted model using a rolling test "
@@ -114,7 +113,7 @@
114113
"metadata": {},
115114
"outputs": [],
116115
"source": [
117-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
116+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
118117
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
119118
]
120119
},
@@ -350,9 +349,7 @@
350349
"|**iteration_timeout_minutes**|Time limit in minutes for each iteration.|\n",
351350
"|**training_data**|Input dataset, containing both features and label column.|\n",
352351
"|**label_column_name**|The name of the label column.|\n",
353-
"|**enable_dnn**|Enable Forecasting DNNs|\n",
354-
"\n",
355-
"This step requires an Enterprise workspace to gain access to this feature. To learn more about creating an Enterprise workspace or upgrading to an Enterprise workspace from the Azure portal, please visit our [Workspace page.](https://docs.microsoft.com/azure/machine-learning/service/concept-workspace#upgrade)."
352+
"|**enable_dnn**|Enable Forecasting DNNs|\n"
356353
]
357354
},
358355
{
@@ -650,7 +647,7 @@
650647
"metadata": {
651648
"authors": [
652649
{
653-
"name": "omkarm"
650+
"name": "jialiu"
654651
}
655652
],
656653
"hide_code_all_hidden": false,

how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"metadata": {},
8888
"outputs": [],
8989
"source": [
90-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
90+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
9191
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9292
]
9393
},
@@ -594,7 +594,7 @@
594594
"metadata": {
595595
"authors": [
596596
{
597-
"name": "erwright"
597+
"name": "jialiu"
598598
}
599599
],
600600
"category": "tutorial",

how-to-use-azureml/automated-machine-learning/forecasting-energy-demand/auto-ml-forecasting-energy-demand.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"metadata": {},
9898
"outputs": [],
9999
"source": [
100-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
100+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
101101
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
102102
]
103103
},
@@ -703,7 +703,7 @@
703703
"metadata": {
704704
"authors": [
705705
{
706-
"name": "erwright"
706+
"name": "jialiu"
707707
}
708708
],
709709
"categories": [

how-to-use-azureml/automated-machine-learning/forecasting-forecast-function/auto-ml-forecasting-function.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"metadata": {},
2525
"source": [
2626
"## Introduction\n",
27-
"This notebook demonstrates the full interface to the `forecast()` function. \n",
27+
"This notebook demonstrates the full interface of the `forecast()` function. \n",
2828
"\n",
2929
"The best known and most frequent usage of `forecast` enables forecasting on test sets that immediately follows training data. \n",
3030
"\n",
@@ -94,7 +94,7 @@
9494
"metadata": {},
9595
"outputs": [],
9696
"source": [
97-
"print(\"This notebook was created using version 1.17.0 of the Azure ML SDK\")\n",
97+
"print(\"This notebook was created using version 1.18.0 of the Azure ML SDK\")\n",
9898
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9999
]
100100
},
@@ -809,7 +809,7 @@
809809
"metadata": {
810810
"authors": [
811811
{
812-
"name": "erwright"
812+
"name": "jialiu"
813813
}
814814
],
815815
"category": "tutorial",

0 commit comments

Comments
 (0)