* Updated to sklearn-1.5
* Removed deprecated 'normalize' parameter
This commit is contained in:
jeff-shepherd 2024-07-19 10:27:34 -07:00 коммит произвёл GitHub
Родитель f52c4985bf
Коммит 0fe5cf5b3d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
41 изменённых файлов: 47 добавлений и 48 удалений

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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: >-

Просмотреть файл

@ -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
# </jobs>

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}]]

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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}}

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -17,7 +17,6 @@ def main(args):
# setup parameters
params = {
"fit_intercept": args.fit_intercept,
"normalize": args.normalize,
"positive": args.positive,
}

Просмотреть файл

@ -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

Просмотреть файл

@ -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}}