Skip to content

Commit 4e4bf48

Browse files
committed
update samples from Release-69 as a part of SDK release
1 parent 0a24083 commit 4e4bf48

File tree

105 files changed

+843
-2533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+843
-2533
lines changed

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.14.0 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.15.0 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: fairlearn-azureml-mitigation
2+
dependencies:
3+
- pip:
4+
- azureml-sdk
5+
- azureml-contrib-fairness
6+
- fairlearn==0.4.6
7+
- joblib
8+
- shap
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: upload-fairness-dashboard
2+
dependencies:
3+
- pip:
4+
- azureml-sdk
5+
- azureml-contrib-fairness
6+
- fairlearn==0.4.6
7+
- joblib
8+
- shap

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ dependencies:
2424
- pytorch-transformers==1.0.0
2525
- spacy==2.1.8
2626
- 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.14.0/validated_win32_requirements.txt [--no-deps]
27+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.15.0/validated_win32_requirements.txt [--no-deps]
2828

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ dependencies:
2424
- pytorch-transformers==1.0.0
2525
- spacy==2.1.8
2626
- 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.14.0/validated_linux_requirements.txt [--no-deps]
27+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.15.0/validated_linux_requirements.txt [--no-deps]
2828

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ dependencies:
2525
- pytorch-transformers==1.0.0
2626
- spacy==2.1.8
2727
- 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.14.0/validated_darwin_requirements.txt [--no-deps]
28+
- -r https://automlcesdkdataresources.blob.core.windows.net/validated-requirements/1.15.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
@@ -89,7 +89,7 @@
8989
"from azureml.automl.core.featurization import FeaturizationConfig\n",
9090
"from azureml.core.dataset import Dataset\n",
9191
"from azureml.train.automl import AutoMLConfig\n",
92-
"from azureml.interpret._internal.explanation_client import ExplanationClient"
92+
"from azureml.interpret import ExplanationClient"
9393
]
9494
},
9595
{
@@ -105,7 +105,7 @@
105105
"metadata": {},
106106
"outputs": [],
107107
"source": [
108-
"print(\"This notebook was created using version 1.14.0 of the Azure ML SDK\")\n",
108+
"print(\"This notebook was created using version 1.15.0 of the Azure ML SDK\")\n",
109109
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
110110
]
111111
},

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

Lines changed: 1 addition & 1 deletion
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.14.0 of the Azure ML SDK\")\n",
96+
"print(\"This notebook was created using version 1.15.0 of the Azure ML SDK\")\n",
9797
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9898
]
9999
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"metadata": {},
8989
"outputs": [],
9090
"source": [
91-
"print(\"This notebook was created using version 1.14.0 of the Azure ML SDK\")\n",
91+
"print(\"This notebook was created using version 1.15.0 of the Azure ML SDK\")\n",
9292
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
9393
]
9494
},
@@ -190,7 +190,7 @@
190190
"metadata": {},
191191
"outputs": [],
192192
"source": [
193-
"from azureml.core.runconfig import CondaDependencies, DEFAULT_CPU_IMAGE, RunConfiguration\n",
193+
"from azureml.core.runconfig import CondaDependencies, RunConfiguration\n",
194194
"\n",
195195
"# create a new RunConfig object\n",
196196
"conda_run_config = RunConfiguration(framework=\"python\")\n",
@@ -199,7 +199,6 @@
199199
"conda_run_config.target = compute_target\n",
200200
"\n",
201201
"conda_run_config.environment.docker.enabled = True\n",
202-
"conda_run_config.environment.docker.base_image = azureml.core.runconfig.DEFAULT_CPU_IMAGE\n",
203202
"\n",
204203
"cd = CondaDependencies.create(pip_packages=['azureml-sdk[automl]', 'applicationinsights', 'azureml-opendatasets', 'azureml-defaults'], \n",
205204
" conda_packages=['numpy==1.16.2'], \n",

how-to-use-azureml/automated-machine-learning/experimental/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,39 @@ There's no need to install mini-conda specifically.
1717
- Download the sample notebooks from [GitHub](https://github.com/Azure/MachineLearningNotebooks) as zip and extract the contents to a local directory. The automated ML sample notebooks are in the "automated-machine-learning" folder.
1818

1919
### 3. Setup a new conda environment
20-
The **automl_setup** script creates a new conda environment, installs the necessary packages, configures the widget and starts a jupyter notebook. It takes the conda environment name as an optional parameter. The default conda environment name is azure_automl. The exact command depends on the operating system. See the specific sections below for Windows, Mac and Linux. It can take about 10 minutes to execute.
20+
The **automl_setup_thin_client** script creates a new conda environment, installs the necessary packages, configures the widget and starts a jupyter notebook. It takes the conda environment name as an optional parameter. The default conda environment name is azure_automl_experimental. The exact command depends on the operating system. See the specific sections below for Windows, Mac and Linux. It can take about 10 minutes to execute.
2121

2222
Packages installed by the **automl_setup** script:
2323
<ul><li>python</li><li>nb_conda</li><li>matplotlib</li><li>numpy</li><li>cython</li><li>urllib3</li><li>pandas</li><li>azureml-sdk</li><li>azureml-widgets</li><li>pandas-ml</li></ul>
2424

25-
For more details refer to the [automl_env.yml](./automl_env.yml)
25+
For more details refer to the [automl_env_thin_client.yml](./automl_env_thin_client.yml)
2626
## Windows
2727
Start an **Anaconda Prompt** window, cd to the **how-to-use-azureml/automated-machine-learning/experimental** folder where the sample notebooks were extracted and then run:
2828
```
29-
automl_setup
29+
automl_setup_thin_client
3030
```
3131
## Mac
3232
Install "Command line developer tools" if it is not already installed (you can use the command: `xcode-select --install`).
3333

3434
Start a Terminal windows, cd to the **how-to-use-azureml/automated-machine-learning/experimental** folder where the sample notebooks were extracted and then run:
3535

3636
```
37-
bash automl_setup_mac.sh
37+
bash automl_setup_thin_client_mac.sh
3838
```
3939

4040
## Linux
4141
cd to the **how-to-use-azureml/automated-machine-learning/experimental** folder where the sample notebooks were extracted and then run:
4242

4343
```
44-
bash automl_setup_linux.sh
44+
bash automl_setup_thin_client_linux.sh
4545
```
4646

4747
### 4. Running configuration.ipynb
4848
- Before running any samples you next need to run the configuration notebook. Click on [configuration](../../configuration.ipynb) notebook
4949
- Execute the cells in the notebook to Register Machine Learning Services Resource Provider and create a workspace. (*instructions in notebook*)
5050

5151
### 5. Running Samples
52-
- Please make sure you use the Python [conda env:azure_automl] kernel when trying the sample Notebooks.
52+
- Please make sure you use the Python [conda env:azure_automl_experimental] kernel when trying the sample Notebooks.
5353
- Follow the instructions in the individual notebooks to explore various features in automated ML.
5454

5555
### 6. Starting jupyter notebook manually
@@ -71,7 +71,7 @@ jupyter notebook
7171
<a name="samples"></a>
7272
# Automated ML SDK Sample Notebooks
7373

74-
- [auto-ml-regression.ipynb](regression/auto-ml-regression.ipynb)
74+
- [auto-ml-regression-model-proxy.ipynb](regression-model-proxy/auto-ml-regression-model-proxy.ipynb)
7575
- Dataset: Hardware Performance Dataset
7676
- Simple example of using automated ML for regression
7777
- Uses azure compute for training

0 commit comments

Comments
 (0)