diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-classification-bank-marketing-all-features.yml b/.github/workflows/python-sdk-tutorial-auto-ml-classification-bank-marketing-all-features.yml index 0de889a4dd..f46d4a80d5 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-classification-bank-marketing-all-features.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-classification-bank-marketing-all-features.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-classification-bank-marketing-all-features.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features \ --check warning - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-classification-bank-marketing-all-features.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-bank-marketing-all-features \ --experiment_name automl-classification-bmarketing-all \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud-local.yml b/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud-local.yml index e5b5c13029..3b1687ef5b 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud-local.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud-local.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-classification-credit-card-fraud-local.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-classification-credit-card-fraud-local.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/local-run-classification-credit-card-fraud \ --experiment_name automl-classification-ccard-local \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud.yml b/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud.yml index c65bd918ad..16b0629df6 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-classification-credit-card-fraud.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-classification-credit-card-fraud.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-classification-credit-card-fraud.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-credit-card-fraud \ --experiment_name automl-classification-ccard-remote \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-classification-text-dnn.yml b/.github/workflows/python-sdk-tutorial-auto-ml-classification-text-dnn.yml index ee473067c2..a85e77a88b 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-classification-text-dnn.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-classification-text-dnn.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-classification-text-dnn.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-classification-text-dnn.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \ --experiment_name automl-classification-text-dnn \ @@ -72,7 +72,7 @@ jobs: --metric_name accuracy - name: check cell output run: | - python scripts/validation/check_cell_output.py \ + python v1/scripts/validation/check_cell_output.py \ --file_name auto-ml-classification-text-dnn.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/classification-text-dnn \ --cell_source \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-continuous-retraining.yml b/.github/workflows/python-sdk-tutorial-auto-ml-continuous-retraining.yml index ccb090901e..3e6e9b21c2 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-continuous-retraining.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-continuous-retraining.yml @@ -58,7 +58,7 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/continuous-retraining - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-continuous-retraining.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/continuous-retraining \ --check warning diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-bike-share.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-bike-share.yml index 028a5b873d..cc44244e91 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-bike-share.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-bike-share.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-bike-share.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share \ --check warning - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-forecasting-bike-share.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-bike-share \ --experiment_name automl-bikeshareforecasting \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-energy-demand.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-energy-demand.yml index 4a18301d8e..c8d51ddf0f 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-energy-demand.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-energy-demand.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-energy-demand.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-forecasting-energy-demand.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-energy-demand \ --experiment_name automl-forecasting-energydemand \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-function.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-function.yml index 38cad3d45e..8084b40e3b 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-function.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-function.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-function.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-forecasting-function.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function \ --experiment_name automl-forecast-function-demo \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-hierarchical-timeseries.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-hierarchical-timeseries.yml index 50b3a0cc37..9af702b673 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-hierarchical-timeseries.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-hierarchical-timeseries.yml @@ -61,13 +61,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-hierarchical-timeseries.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries \ --check warning - name: check timeseries run: | - python scripts/validation/check_timeseries.py \ + python v1/scripts/validation/check_timeseries.py \ --file_name auto-ml-forecasting-hierarchical-timeseries.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-hierarchical-timeseries \ --experiment_name automl-hts diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-orange-juice-sales.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-orange-juice-sales.yml index 19ba2b86e1..e5b8beea1b 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-orange-juice-sales.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-orange-juice-sales.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-orange-juice-sales.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-forecasting-orange-juice-sales.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-orange-juice-sales \ --experiment_name automl-ojforecasting \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-pipelines.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-pipelines.yml index 31c3aed135..627d4eb6ab 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-pipelines.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-pipelines.yml @@ -58,7 +58,7 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-pipelines - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-pipelines.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-pipelines \ --check stderr diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-experiment-settings.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-experiment-settings.yml index 244d74acc4..f166bc0124 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-experiment-settings.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-experiment-settings.yml @@ -58,7 +58,7 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-univariate-recipe-experiment-settings.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \ --check warning diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-run-experiment.yml b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-run-experiment.yml index 1f71de0b50..b6cabb948c 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-run-experiment.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-forecasting-univariate-recipe-run-experiment.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-forecasting-univariate-recipe-run-experiment.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-forecasting-univariate-recipe-run-experiment.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/forecasting-recipes-univariate \ --experiment_name alcohol_diff-True_lags-None_STL-None \ diff --git a/.github/workflows/python-sdk-tutorial-auto-ml-regression.yml b/.github/workflows/python-sdk-tutorial-auto-ml-regression.yml index 2f89b3377d..85bb363de8 100644 --- a/.github/workflows/python-sdk-tutorial-auto-ml-regression.yml +++ b/.github/workflows/python-sdk-tutorial-auto-ml-regression.yml @@ -58,13 +58,13 @@ jobs: working-directory: v1/python-sdk/tutorials/automl-with-azureml/regression - name: check notebook output run: | - python scripts/validation/check_notebook_output.py \ + python v1/scripts/validation/check_notebook_output.py \ --file_name auto-ml-regression.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/regression \ --check warning stderr - name: check experiment result run: | - python scripts/validation/check_experiment_result.py \ + python v1/scripts/validation/check_experiment_result.py \ --file_name auto-ml-regression.output.ipynb \ --folder v1/python-sdk/tutorials/automl-with-azureml/regression \ --experiment_name automl-regression \ diff --git a/v1/python-sdk/tutorials/automl-with-azureml/automl_env.yml b/v1/python-sdk/tutorials/automl-with-azureml/automl_env.yml index fd9b776c87..46cb9be63f 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/automl_env.yml +++ b/v1/python-sdk/tutorials/automl-with-azureml/automl_env.yml @@ -10,26 +10,27 @@ dependencies: - python>=3.6,<3.9 - matplotlib==3.2.1 - py-xgboost==1.3.3 -- pytorch::pytorch=1.4.0 +- pytorch::pytorch=1.11.0 - conda-forge::fbprophet==0.7.1 - cudatoolkit=10.1.243 - scipy==1.5.3 - notebook -- pywin32==227 - PySocks==1.7.1 - conda-forge::pyqt==5.12.3 - jinja2<=2.11.2 - markupsafe<2.1.0 -- tqdm==4.64.0 +- tqdm==4.64.1 +- jsonschema==4.16.0 +- websocket-client==1.4.1 - pip: # Required packages for AzureML execution, history, and data preparation. - - azureml-widgets~=1.45.0 - - azureml-defaults~=1.45.0 + - azureml-widgets~=1.47.0 + - azureml-defaults~=1.47.0 - pytorch-transformers==1.0.0 - spacy==2.2.4 - pystan==2.19.1.1 - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_win32_requirements.txt [--no-deps] + - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_win32_requirements.txt [--no-deps] - arch==4.14 - wasabi==0.9.1 diff --git a/v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml b/v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml index 8b2b1b45f4..b9704a70d6 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml +++ b/v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml @@ -6,10 +6,8 @@ channels: dependencies: # The python interpreter version. # Currently Azure ML only supports 3.6.0 and later. -- pip==20.2.4 +- pip==20.1.1 - python>=3.6,<3.9 -- boto3==1.20.19 -- botocore<=1.23.19 - matplotlib==3.2.1 - numpy>=1.21.6,<=1.22.3 - cython==0.29.14 @@ -19,18 +17,19 @@ dependencies: - py-xgboost<=1.3.3 - holidays==0.10.3 - conda-forge::fbprophet==0.7.1 -- pytorch::pytorch=1.4.0 +- pytorch::pytorch=1.11.0 - cudatoolkit=10.1.243 +- notebook - jinja2<=2.11.2 - markupsafe<2.1.0 - pip: # Required packages for AzureML execution, history, and data preparation. - - azureml-widgets~=1.45.0 - - azureml-defaults~=1.45.0 + - azureml-widgets~=1.47.0 + - azureml-defaults~=1.47.0 - pytorch-transformers==1.0.0 - spacy==2.2.4 - pystan==2.19.1.1 - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_linux_requirements.txt [--no-deps] + - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_linux_requirements.txt [--no-deps] - arch==4.14 diff --git a/v1/python-sdk/tutorials/automl-with-azureml/automl_env_mac.yml b/v1/python-sdk/tutorials/automl-with-azureml/automl_env_mac.yml index 83c4d151f5..c7e455e55a 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/automl_env_mac.yml +++ b/v1/python-sdk/tutorials/automl-with-azureml/automl_env_mac.yml @@ -6,11 +6,8 @@ channels: dependencies: # The python interpreter version. # Currently Azure ML only supports 3.6.0 and later. -- pip==20.2.4 -- nomkl +- pip==20.1.1 - python>=3.6,<3.9 -- boto3==1.20.19 -- botocore<=1.23.19 - matplotlib==3.2.1 - numpy>=1.21.6,<=1.22.3 - cython==0.29.14 @@ -20,18 +17,19 @@ dependencies: - py-xgboost<=1.3.3 - holidays==0.10.3 - conda-forge::fbprophet==0.7.1 -- pytorch::pytorch=1.4.0 +- pytorch::pytorch=1.11.0 - cudatoolkit=9.0 +- notebook - jinja2<=2.11.2 - markupsafe<2.1.0 - pip: # Required packages for AzureML execution, history, and data preparation. - - azureml-widgets~=1.45.0 - - azureml-defaults~=1.45.0 + - azureml-widgets~=1.47.0 + - azureml-defaults~=1.47.0 - pytorch-transformers==1.0.0 - spacy==2.2.4 - pystan==2.19.1.1 - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_darwin_requirements.txt [--no-deps] + - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.47.0/validated_darwin_requirements.txt [--no-deps] - arch==4.14 diff --git a/v1/python-sdk/tutorials/automl-with-azureml/generate_workflows.py b/v1/python-sdk/tutorials/automl-with-azureml/generate_workflows.py index c0b2bc2aeb..f43be1ed82 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/generate_workflows.py +++ b/v1/python-sdk/tutorials/automl-with-azureml/generate_workflows.py @@ -54,12 +54,12 @@ def get_validation_check_yml(notebook_folder, notebook_name, validation): validation_name = validation["name"] validation_file_name = validation_name.replace(" ", "_") notebook_output_file = notebook_name.replace(".", ".output.") - full_folder_name = f"python-sdk/tutorials/automl-with-azureml/{notebook_folder}" + full_folder_name = f"v1/python-sdk/tutorials/automl-with-azureml/{notebook_folder}" check_yml = f""" - name: {validation_name} run: | - python scripts/validation/{validation_file_name}.py \\ + python v1/scripts/validation/{validation_file_name}.py \\ --file_name {notebook_output_file} \\ --folder {full_folder_name} \\""" @@ -84,9 +84,7 @@ def write_notebook_workflow(notebook, notebook_folder, cron_schedule): creds = "${{secrets.AZ_CREDS}}" run_update_env = "" - update_yml_file = ( - f"python-sdk/tutorials/automl-with-azureml/{notebook_folder}/{UPDATE_ENV_YML}" - ) + update_yml_file = f"v1/python-sdk/tutorials/automl-with-azureml/{notebook_folder}/{UPDATE_ENV_YML}" # some notebook needs install more packages with the basic automl requirement. if os.path.exists(os.path.join(notebook_folder, UPDATE_ENV_YML)): run_update_env = f""" @@ -97,7 +95,7 @@ def write_notebook_workflow(notebook, notebook_folder, cron_schedule): validation_yml = get_validation_yml(notebook_folder, notebook) workflow_yaml = f"""name: {notebook_name} -# This file is generated by python-sdk/tutorials/automl-with-azureml/generate_workflows.py +# This file is generated by v1/python-sdk/tutorials/automl-with-azureml/generate_workflows.py on: workflow_dispatch: schedule: @@ -106,8 +104,8 @@ def write_notebook_workflow(notebook, notebook_folder, cron_schedule): branches: - main paths: - - python-sdk/tutorials/automl-with-azureml/{notebook_folder}/** - - python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml + - v1/python-sdk/tutorials/automl-with-azureml/{notebook_folder}/** + - v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml - .github/workflows/python-sdk-tutorial-{notebook_name}.yml jobs: build: @@ -126,14 +124,14 @@ def write_notebook_workflow(notebook, notebook_folder, cron_schedule): python-version: "3.8" - name: Run Install packages run: | - chmod +x ./scripts/install-packages.sh - ./scripts/install-packages.sh + chmod +x ./v1/scripts/install-packages.sh + ./v1/scripts/install-packages.sh shell: bash - name: create automl conda environment uses: conda-incubator/setup-miniconda@v2 with: activate-environment: azure_automl - environment-file: python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml + environment-file: v1/python-sdk/tutorials/automl-with-azureml/automl_env_linux.yml auto-activate-base: false{run_update_env} - name: install papermill and set up the IPython kernel run: | @@ -146,23 +144,23 @@ def write_notebook_workflow(notebook, notebook_folder, cron_schedule): creds: {creds} - name: Run update-azure-extensions run: | - chmod +x ./scripts/update-azure-extensions.sh - ./scripts/update-azure-extensions.sh + chmod +x ./v1/scripts/update-azure-extensions.sh + ./v1/scripts/update-azure-extensions.sh shell: bash - name: attach to workspace run: az ml folder attach -w main -g azureml-examples - name: run {notebook} run: papermill -k python {notebook} {notebook_name}.output.ipynb - working-directory: python-sdk/tutorials/automl-with-azureml/{notebook_folder}{validation_yml} + working-directory: v1/python-sdk/tutorials/automl-with-azureml/{notebook_folder}{validation_yml} - name: upload notebook's working folder as an artifact if: ${{{{ always() }}}} uses: actions/upload-artifact@v2 with: name: {notebook_name} - path: python-sdk/tutorials/automl-with-azureml/{notebook_folder}\n""" + path: v1/python-sdk/tutorials/automl-with-azureml/{notebook_folder}\n""" workflow_file = ( - f"../../../.github/workflows/python-sdk-tutorial-{notebook_name}.yml" + f"../../../../.github/workflows/python-sdk-tutorial-{notebook_name}.yml" ) workflow_before = "" if os.path.exists(workflow_file): diff --git a/v1/python-sdk/tutorials/automl-with-azureml/regression-explanation-featurization/auto-ml-regression-explanation-featurization.ipynb b/v1/python-sdk/tutorials/automl-with-azureml/regression-explanation-featurization/auto-ml-regression-explanation-featurization.ipynb index 9df9237cad..7c3375c185 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/regression-explanation-featurization/auto-ml-regression-explanation-featurization.ipynb +++ b/v1/python-sdk/tutorials/automl-with-azureml/regression-explanation-featurization/auto-ml-regression-explanation-featurization.ipynb @@ -859,8 +859,8 @@ "outputs": [], "source": [ "%matplotlib inline\n", - "test_pred = plt.scatter(y_test, y_pred_test, color=\"\")\n", - "test_test = plt.scatter(y_test, y_test, color=\"g\")\n", + "test_pred = plt.scatter(y_test, y_pred_test, c=[\"b\"])\n", + "test_test = plt.scatter(y_test, y_test, c=[\"g\"])\n", "plt.legend(\n", " (test_pred, test_test), (\"prediction\", \"truth\"), loc=\"upper left\", fontsize=8\n", ")\n", diff --git a/v1/python-sdk/tutorials/automl-with-azureml/regression/auto-ml-regression.ipynb b/v1/python-sdk/tutorials/automl-with-azureml/regression/auto-ml-regression.ipynb index 79514a4a39..fbb3ebe66c 100644 --- a/v1/python-sdk/tutorials/automl-with-azureml/regression/auto-ml-regression.ipynb +++ b/v1/python-sdk/tutorials/automl-with-azureml/regression/auto-ml-regression.ipynb @@ -422,8 +422,8 @@ "outputs": [], "source": [ "%matplotlib inline\n", - "test_pred = plt.scatter(y_test, y_pred_test, color=\"\")\n", - "test_test = plt.scatter(y_test, y_test, color=\"g\")\n", + "test_pred = plt.scatter(y_test, y_pred_test, c=[\"b\"])\n", + "test_test = plt.scatter(y_test, y_test, c=[\"g\"])\n", "plt.legend(\n", " (test_pred, test_test), (\"prediction\", \"truth\"), loc=\"upper left\", fontsize=8\n", ")\n", diff --git a/v1/scripts/validation/check_notebook_output.py b/v1/scripts/validation/check_notebook_output.py index c0cf7f41f8..3b9e572740 100644 --- a/v1/scripts/validation/check_notebook_output.py +++ b/v1/scripts/validation/check_notebook_output.py @@ -37,12 +37,15 @@ "recommend to use ServicePrincipalAuthentication or MsiAuthentication", "Please refer to aka.ms/aml-notebook-auth", "Class KubernetesCompute: This is an experimental class", + "Class SynapseCompute: This is an experimental class", 'Please use "Dataset.File.upload_directory"', 'Please use "FileDatasetFactory.upload_directory" instead', "Called AzureBlobDatastore.upload_files", "LinkTabularOutputDatasetConfig", "This may take a few minutes", "Downloading dataset", + "logger.warning", + "Importing plotly failed", ] with open(full_name, "r") as notebook_file: