From 0fe5cf5b3de1b4a01f19c39dbcbac2d5834eff8c Mon Sep 17 00:00:00 2001 From: jeff-shepherd <39775772+jeff-shepherd@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:27:34 -0700 Subject: [PATCH] Updated to sklearn-1.5 (#3297) * Updated to sklearn-1.5 * Removed deprecated 'normalize' parameter --- cli/assets/component/README.md | 2 +- cli/assets/component/component_additional_includes.yml | 2 +- cli/assets/component/pipeline.yml | 4 ++-- cli/assets/component/train.yml | 2 +- .../hello-batch/hello-component/hello.yml | 2 +- .../basics/1a_e2e_local_components/eval.yml | 2 +- .../basics/1a_e2e_local_components/score.yml | 2 +- .../basics/1a_e2e_local_components/train.yml | 2 +- .../basics/1b_e2e_registered_components/eval.yml | 2 +- .../basics/1b_e2e_registered_components/score.yml | 2 +- .../basics/1b_e2e_registered_components/train.yml | 2 +- .../basics/5b_env_registered/component.yml | 2 +- .../nyc_taxi_data_regression/predict.yml | 2 +- .../nyc_taxi_data_regression/prep.yml | 2 +- .../nyc_taxi_data_regression/score.yml | 2 +- .../nyc_taxi_data_regression/train.yml | 2 +- .../nyc_taxi_data_regression/transform.yml | 2 +- .../pipeline_with_hyperparameter_sweep/predict.yml | 2 +- .../pipeline_with_hyperparameter_sweep/train.yml | 2 +- .../data_pipeline/prep_src/prep.yml | 2 +- .../data_pipeline/transform_src/transform.yml | 2 +- .../train_pipeline/predict_src/predict.yml | 2 +- .../train_pipeline/score_src/score.yml | 2 +- .../train_pipeline/train_src/train.yml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../components/component_register_model.yaml | 2 +- .../pipeline.yml | 2 +- cli/jobs/pipelines/nyc-taxi/pipeline.yml | 10 +++++----- cli/jobs/single-step/pytorch/iris/job.yml | 2 +- cli/jobs/single-step/scikit-learn/diabetes/job.yml | 2 +- cli/jobs/single-step/scikit-learn/diabetes/src/main.py | 1 - cli/jobs/single-step/scikit-learn/iris/job.yml | 2 +- cli/schedules/simple-pipeline-job.yml | 6 +++--- 41 files changed, 47 insertions(+), 48 deletions(-) diff --git a/cli/assets/component/README.md b/cli/assets/component/README.md index 1fa8846cc..b6940ffc8 100644 --- a/cli/assets/component/README.md +++ b/cli/assets/component/README.md @@ -73,7 +73,7 @@ outputs: model_output: type: uri_folder code: ./train_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --training_data ${{inputs.training_data}} diff --git a/cli/assets/component/component_additional_includes.yml b/cli/assets/component/component_additional_includes.yml index aff3ad594..2dceda85f 100644 --- a/cli/assets/component/component_additional_includes.yml +++ b/cli/assets/component/component_additional_includes.yml @@ -6,7 +6,7 @@ tags: author: azureml-sdk-team type: command code: ./component_src -environment: azureml:AzureML-sklearn-1.0-ubuntu20.04-py38-cpu:1 +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest additional_includes: - common_src command: >- diff --git a/cli/assets/component/pipeline.yml b/cli/assets/component/pipeline.yml index 44b26f37d..7b9951986 100644 --- a/cli/assets/component/pipeline.yml +++ b/cli/assets/component/pipeline.yml @@ -12,12 +12,12 @@ description: pipeline component with inline job jobs: hello_job: type: command - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: echo 'hello' world_job: type: command command: echo 'world' - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest # \ No newline at end of file diff --git a/cli/assets/component/train.yml b/cli/assets/component/train.yml index 3e9254d41..ce56df69e 100644 --- a/cli/assets/component/train.yml +++ b/cli/assets/component/train.yml @@ -23,7 +23,7 @@ outputs: model_output: type: uri_folder code: ./train_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --training_data ${{inputs.training_data}} diff --git a/cli/endpoints/batch/deploy-pipelines/hello-batch/hello-component/hello.yml b/cli/endpoints/batch/deploy-pipelines/hello-batch/hello-component/hello.yml index e7b5fbd80..c84ddf89d 100644 --- a/cli/endpoints/batch/deploy-pipelines/hello-batch/hello-component/hello.yml +++ b/cli/endpoints/batch/deploy-pipelines/hello-batch/hello-component/hello.yml @@ -8,6 +8,6 @@ jobs: type: command component: code: src - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python hello.py diff --git a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/eval.yml b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/eval.yml index a91bad16a..66ea78b19 100644 --- a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/eval.yml +++ b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/eval.yml @@ -9,7 +9,7 @@ inputs: outputs: eval_output: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./eval_src command: >- python eval.py diff --git a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/score.yml b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/score.yml index 158ab0fb3..f0edc6872 100644 --- a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/score.yml +++ b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/score.yml @@ -11,7 +11,7 @@ inputs: outputs: score_output: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./score_src command: >- python score.py diff --git a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/train.yml b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/train.yml index 9c282b8a3..90adc2987 100644 --- a/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/train.yml +++ b/cli/jobs/pipelines-with-components/basics/1a_e2e_local_components/train.yml @@ -18,7 +18,7 @@ outputs: model_output: type: uri_folder code: ./train_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --training_data ${{inputs.training_data}} diff --git a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/eval.yml b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/eval.yml index 913c4ad09..12c41060e 100644 --- a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/eval.yml +++ b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/eval.yml @@ -9,7 +9,7 @@ inputs: outputs: eval_output: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./eval_src command: >- python eval.py diff --git a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/score.yml b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/score.yml index 3fd63e58e..e295e94f0 100644 --- a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/score.yml +++ b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/score.yml @@ -11,7 +11,7 @@ inputs: outputs: score_output: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./score_src command: >- python score.py diff --git a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/train.yml b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/train.yml index 9ab9ebdd0..60dbc6bc1 100644 --- a/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/train.yml +++ b/cli/jobs/pipelines-with-components/basics/1b_e2e_registered_components/train.yml @@ -25,7 +25,7 @@ outputs: model_output: type: uri_folder code: ./train_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --training_data ${{inputs.training_data}} diff --git a/cli/jobs/pipelines-with-components/basics/5b_env_registered/component.yml b/cli/jobs/pipelines-with-components/basics/5b_env_registered/component.yml index 93f3155af..bce4cbbb5 100644 --- a/cli/jobs/pipelines-with-components/basics/5b_env_registered/component.yml +++ b/cli/jobs/pipelines-with-components/basics/5b_env_registered/component.yml @@ -7,7 +7,7 @@ version: 3 code: ./src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python hello.py diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/predict.yml b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/predict.yml index 14d788d03..4e776be1a 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/predict.yml +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/predict.yml @@ -12,7 +12,7 @@ inputs: outputs: predictions: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./predict_src command: >- python predict.py diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/prep.yml b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/prep.yml index defb38c55..9ef8b8089 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/prep.yml +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/prep.yml @@ -11,7 +11,7 @@ outputs: prep_data: type: uri_folder code: ./prep_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python prep.py --raw_data ${{inputs.raw_data}} diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/score.yml b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/score.yml index 543ce3993..efa3e742c 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/score.yml +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/score.yml @@ -12,7 +12,7 @@ inputs: outputs: score_report: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: ./score_src command: >- python score.py diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml index a2f0f7369..098a224c5 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/train.yml @@ -18,7 +18,7 @@ outputs: test_data: type: uri_folder code: ./train_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --training_data ${{inputs.training_data}} diff --git a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/transform.yml b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/transform.yml index bef00e7ba..419388e4d 100644 --- a/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/transform.yml +++ b/cli/jobs/pipelines-with-components/nyc_taxi_data_regression/transform.yml @@ -11,7 +11,7 @@ outputs: transformed_data: type: uri_folder code: ./transform_src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python transform.py --clean_data ${{inputs.clean_data}} diff --git a/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/predict.yml b/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/predict.yml index ab405ceec..8bce36d52 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/predict.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/predict.yml @@ -13,7 +13,7 @@ outputs: predict_result: type: uri_folder code: ./predict-src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python predict.py --model ${{inputs.model}} diff --git a/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/train.yml b/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/train.yml index bbcb34872..f3187b763 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/train.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_hyperparameter_sweep/train.yml @@ -59,7 +59,7 @@ outputs: code: ./train-src -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py diff --git a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/prep_src/prep.yml b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/prep_src/prep.yml index d0d54af9d..9f5681773 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/prep_src/prep.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/prep_src/prep.yml @@ -12,7 +12,7 @@ outputs: prep_data: type: uri_folder code: . -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python prep.py $[[--raw_data ${{inputs.raw_data}}]] diff --git a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/transform_src/transform.yml b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/transform_src/transform.yml index 78a8d31eb..a1acae598 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/transform_src/transform.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/data_pipeline/transform_src/transform.yml @@ -11,7 +11,7 @@ outputs: transformed_data: type: uri_folder code: . -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python transform.py --clean_data ${{inputs.clean_data}} diff --git a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/predict_src/predict.yml b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/predict_src/predict.yml index 24a1d685a..63a2fde22 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/predict_src/predict.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/predict_src/predict.yml @@ -12,7 +12,7 @@ inputs: outputs: predictions: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: . command: >- python predict.py diff --git a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/score_src/score.yml b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/score_src/score.yml index d0dfe2efc..44320b3c8 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/score_src/score.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/score_src/score.yml @@ -12,7 +12,7 @@ inputs: outputs: score_report: type: uri_folder -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest code: . command: >- python score.py diff --git a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/train_src/train.yml b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/train_src/train.yml index 6b7d24b26..7bd08538d 100644 --- a/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/train_src/train.yml +++ b/cli/jobs/pipelines-with-components/pipeline_with_pipeline_component/nyc_taxi_data_regression_with_pipeline_component/train_pipeline/train_src/train.yml @@ -18,7 +18,7 @@ outputs: test_data: type: uri_folder code: . -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python train.py --train_data ${{inputs.train_data}} diff --git a/cli/jobs/pipelines/automl/cli-automl-classification-task-bankmarketing-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/cli-automl-classification-task-bankmarketing-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/cli-automl-classification-task-bankmarketing-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/cli-automl-classification-task-bankmarketing-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/cli-automl-regression-housepricing-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/cli-automl-regression-housepricing-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/cli-automl-regression-housepricing-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/cli-automl-regression-housepricing-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/cli-automl-text-classification-multilabel-paper-categorization-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/cli-automl-text-classification-multilabel-paper-categorization-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/cli-automl-text-classification-multilabel-paper-categorization-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/cli-automl-text-classification-multilabel-paper-categorization-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/cli-automl-text-classification-newsgroup-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/cli-automl-text-classification-newsgroup-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/cli-automl-text-classification-newsgroup-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/cli-automl-text-classification-newsgroup-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/cli-automl-text-ner-conll-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/cli-automl-text-ner-conll-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/cli-automl-text-ner-conll-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/cli-automl-text-ner-conll-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/demand-forecast-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/demand-forecast-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/demand-forecast-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/demand-forecast-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/components/component_register_model.yaml b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/components/component_register_model.yaml index 0c6c7aa1b..67971814f 100644 --- a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/components/component_register_model.yaml +++ b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/components/component_register_model.yaml @@ -9,7 +9,7 @@ inputs: model_base_name: type: string code: ./src/ -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest command: >- python register.py --model_input_path ${{inputs.model_input_path}} diff --git a/cli/jobs/pipelines/mnist-batch-identification-using-parallel/pipeline.yml b/cli/jobs/pipelines/mnist-batch-identification-using-parallel/pipeline.yml index 91080b91a..6b4e1c217 100644 --- a/cli/jobs/pipelines/mnist-batch-identification-using-parallel/pipeline.yml +++ b/cli/jobs/pipelines/mnist-batch-identification-using-parallel/pipeline.yml @@ -73,4 +73,4 @@ jobs: inference_result: ${{parent.jobs.predict_digits_mnist.outputs.job_output_file}} command: >- cat ${{inputs.inference_result}} - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest diff --git a/cli/jobs/pipelines/nyc-taxi/pipeline.yml b/cli/jobs/pipelines/nyc-taxi/pipeline.yml index d80d346c7..95e73efc1 100644 --- a/cli/jobs/pipelines/nyc-taxi/pipeline.yml +++ b/cli/jobs/pipelines/nyc-taxi/pipeline.yml @@ -17,7 +17,7 @@ jobs: prep_data: mode: upload code: src/prep - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster command: >- python prep.py @@ -32,7 +32,7 @@ jobs: transformed_data: mode: upload code: src/transform - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster command: >- python transform.py @@ -48,7 +48,7 @@ jobs: test_data: mode: upload code: src/train - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster command: >- python train.py @@ -64,7 +64,7 @@ jobs: outputs: predictions: code: src/predict - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster command: >- python predict.py @@ -80,7 +80,7 @@ jobs: outputs: score_report: code: src/score - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster command: >- python score.py diff --git a/cli/jobs/single-step/pytorch/iris/job.yml b/cli/jobs/single-step/pytorch/iris/job.yml index 358d05f39..985fdf4dd 100644 --- a/cli/jobs/single-step/pytorch/iris/job.yml +++ b/cli/jobs/single-step/pytorch/iris/job.yml @@ -12,7 +12,7 @@ inputs: path: https://azuremlexamples.blob.core.windows.net/datasets/iris.csv epochs: 10 lr: 0.1 -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster display_name: pytorch-iris-example experiment_name: pytorch-iris-example diff --git a/cli/jobs/single-step/scikit-learn/diabetes/job.yml b/cli/jobs/single-step/scikit-learn/diabetes/job.yml index 63adf6e6e..c0f827db1 100644 --- a/cli/jobs/single-step/scikit-learn/diabetes/job.yml +++ b/cli/jobs/single-step/scikit-learn/diabetes/job.yml @@ -7,7 +7,7 @@ inputs: diabetes_csv: type: uri_file path: https://azuremlexamples.blob.core.windows.net/datasets/diabetes.csv -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster display_name: sklearn-diabetes-example experiment_name: sklearn-diabetes-example diff --git a/cli/jobs/single-step/scikit-learn/diabetes/src/main.py b/cli/jobs/single-step/scikit-learn/diabetes/src/main.py index 6c49fbc93..8b3bc3107 100644 --- a/cli/jobs/single-step/scikit-learn/diabetes/src/main.py +++ b/cli/jobs/single-step/scikit-learn/diabetes/src/main.py @@ -17,7 +17,6 @@ def main(args): # setup parameters params = { "fit_intercept": args.fit_intercept, - "normalize": args.normalize, "positive": args.positive, } diff --git a/cli/jobs/single-step/scikit-learn/iris/job.yml b/cli/jobs/single-step/scikit-learn/iris/job.yml index 1879873aa..71ed34a5a 100644 --- a/cli/jobs/single-step/scikit-learn/iris/job.yml +++ b/cli/jobs/single-step/scikit-learn/iris/job.yml @@ -13,7 +13,7 @@ inputs: C: 0.8 kernel: "rbf" coef0: 0.1 -environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest +environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest compute: azureml:cpu-cluster display_name: sklearn-iris-example experiment_name: sklearn-iris-example diff --git a/cli/schedules/simple-pipeline-job.yml b/cli/schedules/simple-pipeline-job.yml index 964755ece..ee04a3b46 100644 --- a/cli/schedules/simple-pipeline-job.yml +++ b/cli/schedules/simple-pipeline-job.yml @@ -8,17 +8,17 @@ inputs: jobs: a: command: echo hello ${{inputs.hello_string}} - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest inputs: hello_string: ${{parent.inputs.hello_string_top_level_input}} b: command: echo "world" >> ${{outputs.world_output}}/world.txt - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest outputs: world_output: c: command: echo ${{inputs.world_input}}/world.txt - environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest + environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest inputs: world_input: ${{parent.jobs.b.outputs.world_output}} \ No newline at end of file