Skip to content

Commit de7447a

Browse files
Updated automl regression notebook to work with the latest matplotlib (Azure#1901)
* Updated automl regression notebook to work with the latest matplotlib * Updated generate_workflows.py based on move to v1 folder * Updated automl_env files for SDK 1.47.0
1 parent d26b190 commit de7447a

21 files changed

+66
-67
lines changed

.github/workflows/python-sdk-tutorial-auto-ml-classification-bank-marketing-all-features.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-classification-bank-marketing-all-features.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features \
6464
--check warning
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-classification-bank-marketing-all-features.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features \
7070
--experiment_name automl-classification-bmarketing-all \

.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud-local.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-classification-credit-card-fraud-local.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-classification-credit-card-fraud-local.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud \
7070
--experiment_name automl-classification-ccard-local \

.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-classification-credit-card-fraud.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-classification-credit-card-fraud.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud \
7070
--experiment_name automl-classification-ccard-remote \

.github/workflows/python-sdk-tutorial-auto-ml-classification-text-dnn.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-classification-text-dnn.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-classification-text-dnn.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \
7070
--experiment_name automl-classification-text-dnn \
7171
--minimum_median_score 0.3 \
7272
--metric_name accuracy
7373
- name: check cell output
7474
run: |
75-
python scripts/validation/check_cell_output.py \
75+
python v1/scripts/validation/check_cell_output.py \
7676
--file_name auto-ml-classification-text-dnn.output.ipynb \
7777
--folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \
7878
--cell_source \

.github/workflows/python-sdk-tutorial-auto-ml-continuous-retraining.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/continuous-retraining
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-continuous-retraining.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/continuous-retraining \
6464
--check warning

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-bike-share.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-bike-share.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share \
6464
--check warning
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-forecasting-bike-share.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share \
7070
--experiment_name automl-bikeshareforecasting \

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-energy-demand.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-energy-demand.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-forecasting-energy-demand.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand \
7070
--experiment_name automl-forecasting-energydemand \

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-function.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-function.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-forecasting-function.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function \
7070
--experiment_name automl-forecast-function-demo \

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-hierarchical-timeseries.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries
6262
- name: check notebook output
6363
run: |
64-
python scripts/validation/check_notebook_output.py \
64+
python v1/scripts/validation/check_notebook_output.py \
6565
--file_name auto-ml-forecasting-hierarchical-timeseries.output.ipynb \
6666
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries \
6767
--check warning
6868
- name: check timeseries
6969
run: |
70-
python scripts/validation/check_timeseries.py \
70+
python v1/scripts/validation/check_timeseries.py \
7171
--file_name auto-ml-forecasting-hierarchical-timeseries.output.ipynb \
7272
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries \
7373
--experiment_name automl-hts

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-orange-juice-sales.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-orange-juice-sales.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-forecasting-orange-juice-sales.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales \
7070
--experiment_name automl-ojforecasting \

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-pipelines
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-pipelines.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-pipelines \
6464
--check stderr

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-experiment-settings.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-univariate-recipe-experiment-settings.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \
6464
--check warning

.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-run-experiment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-forecasting-univariate-recipe-run-experiment.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-forecasting-univariate-recipe-run-experiment.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \
7070
--experiment_name alcohol_diff-True_lags-None_STL-None \

.github/workflows/python-sdk-tutorial-auto-ml-regression.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
working-directory: v1/python-sdk/tutorials/automl-with-azureml/regression
5959
- name: check notebook output
6060
run: |
61-
python scripts/validation/check_notebook_output.py \
61+
python v1/scripts/validation/check_notebook_output.py \
6262
--file_name auto-ml-regression.output.ipynb \
6363
--folder v1/python-sdk/tutorials/automl-with-azureml/regression \
6464
--check warning stderr
6565
- name: check experiment result
6666
run: |
67-
python scripts/validation/check_experiment_result.py \
67+
python v1/scripts/validation/check_experiment_result.py \
6868
--file_name auto-ml-regression.output.ipynb \
6969
--folder v1/python-sdk/tutorials/automl-with-azureml/regression \
7070
--experiment_name automl-regression \

v1/python-sdk/tutorials/automl-with-azureml/automl_env.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,27 @@ dependencies:
1010
- python>=3.6,<3.9
1111
- matplotlib==3.2.1
1212
- py-xgboost==1.3.3
13-
- pytorch::pytorch=1.4.0
13+
- pytorch::pytorch=1.11.0
1414
- conda-forge::fbprophet==0.7.1
1515
- cudatoolkit=10.1.243
1616
- scipy==1.5.3
1717
- notebook
18-
- pywin32==227
1918
- PySocks==1.7.1
2019
- conda-forge::pyqt==5.12.3
2120
- jinja2<=2.11.2
2221
- markupsafe<2.1.0
23-
- tqdm==4.64.0
22+
- tqdm==4.64.1
23+
- jsonschema==4.16.0
24+
- websocket-client==1.4.1
2425

2526
- pip:
2627
# Required packages for AzureML execution, history, and data preparation.
27-
- azureml-widgets~=1.45.0
28-
- azureml-defaults~=1.45.0
28+
- azureml-widgets~=1.47.0
29+
- azureml-defaults~=1.47.0
2930
- pytorch-transformers==1.0.0
3031
- spacy==2.2.4
3132
- pystan==2.19.1.1
3233
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
33-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_win32_requirements.txt [--no-deps]
34+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_win32_requirements.txt [--no-deps]
3435
- arch==4.14
3536
- wasabi==0.9.1

v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ channels:
66
dependencies:
77
# The python interpreter version.
88
# Currently Azure ML only supports 3.6.0 and later.
9-
- pip==20.2.4
9+
- pip==20.1.1
1010
- python>=3.6,<3.9
11-
- boto3==1.20.19
12-
- botocore<=1.23.19
1311
- matplotlib==3.2.1
1412
- numpy>=1.21.6,<=1.22.3
1513
- cython==0.29.14
@@ -19,18 +17,19 @@ dependencies:
1917
- py-xgboost<=1.3.3
2018
- holidays==0.10.3
2119
- conda-forge::fbprophet==0.7.1
22-
- pytorch::pytorch=1.4.0
20+
- pytorch::pytorch=1.11.0
2321
- cudatoolkit=10.1.243
22+
- notebook
2423
- jinja2<=2.11.2
2524
- markupsafe<2.1.0
2625

2726
- pip:
2827
# Required packages for AzureML execution, history, and data preparation.
29-
- azureml-widgets~=1.45.0
30-
- azureml-defaults~=1.45.0
28+
- azureml-widgets~=1.47.0
29+
- azureml-defaults~=1.47.0
3130
- pytorch-transformers==1.0.0
3231
- spacy==2.2.4
3332
- pystan==2.19.1.1
3433
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
35-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_linux_requirements.txt [--no-deps]
34+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_linux_requirements.txt [--no-deps]
3635
- arch==4.14

v1/python-sdk/tutorials/automl-with-azureml/automl_env_mac.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ channels:
66
dependencies:
77
# The python interpreter version.
88
# Currently Azure ML only supports 3.6.0 and later.
9-
- pip==20.2.4
10-
- nomkl
9+
- pip==20.1.1
1110
- python>=3.6,<3.9
12-
- boto3==1.20.19
13-
- botocore<=1.23.19
1411
- matplotlib==3.2.1
1512
- numpy>=1.21.6,<=1.22.3
1613
- cython==0.29.14
@@ -20,18 +17,19 @@ dependencies:
2017
- py-xgboost<=1.3.3
2118
- holidays==0.10.3
2219
- conda-forge::fbprophet==0.7.1
23-
- pytorch::pytorch=1.4.0
20+
- pytorch::pytorch=1.11.0
2421
- cudatoolkit=9.0
22+
- notebook
2523
- jinja2<=2.11.2
2624
- markupsafe<2.1.0
2725

2826
- pip:
2927
# Required packages for AzureML execution, history, and data preparation.
30-
- azureml-widgets~=1.45.0
31-
- azureml-defaults~=1.45.0
28+
- azureml-widgets~=1.47.0
29+
- azureml-defaults~=1.47.0
3230
- pytorch-transformers==1.0.0
3331
- spacy==2.2.4
3432
- pystan==2.19.1.1
3533
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
36-
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_darwin_requirements.txt [--no-deps]
34+
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_darwin_requirements.txt [--no-deps]
3735
- arch==4.14

0 commit comments

Comments
 (0)