Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/workshop_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install az ml & set default values for AML
run: | #setup: provide group, workspace and location
az extension add -n ml -y --version 2.2.1
az configure --defaults group=azureml workspace=ws01ent location=westus2
az configure --defaults group=mlops-rg-910168 workspace=aml910168 location=eastus2
- name: run training and model validation
run: |
az ml job create -s -f src/workshop/core/pipelines/training_pipeline.yml
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/workshop_unit_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: feature_engineering_unit_test

on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -31,7 +32,7 @@ jobs:
- name: Install AZ ML and tools
run: | # SETUP line 34 to point to your own AML workspace
az extension add -n ml -y --version 2.2.1
az configure --defaults group=azureml workspace=ws01ent location=westus2
az configure --defaults group=mlops-rg-910168 workspace=aml910168 location=eastus2
- name: Run Feature Engineering
uses: ./.github/actions/aml-job-create
with:
Expand Down
2 changes: 1 addition & 1 deletion src/workshop/core/scoring/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$schema: https://azuremlschemas.azureedge.net/latest/managedOnlineDeployment.schema.json
name: green
endpoint_name: mlops-workshop-endpoint #setup replace `mlops-workshop-endpoint` with your own endpoint name defined in endpoint.yml
endpoint_name: mlops-workshop-endpointD #setup replace `mlops-workshop-endpoint` with your own endpoint name defined in endpoint.yml
model: azureml:nyc_fare_prediction:1
code_configuration:
code: ./
Expand Down
2 changes: 1 addition & 1 deletion src/workshop/core/scoring/endpoint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$schema: https://azuremlschemas.azureedge.net/latest/managedOnlineEndpoint.schema.json
name: mlops-workshop-endpoint #setup replace `mlops-workshop-endpoint` with your own endpoint name. It has to be globally unique
name: mlops-workshop-endpointD #setup replace `mlops-workshop-endpoint` with your own endpoint name. It has to be globally unique
auth_mode: key
4 changes: 2 additions & 2 deletions src/workshop/core/training/ml_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def createClassModel(algo_name, catg, nums):
#---------------------------------------------
#setup: Update alpha value
#---------------------------------------------
model = Ridge(alpha=100000) #setup
model = Ridge(alpha=100) #setup
elif algo_name == 'random_forest':
model = RandomForestRegressor()
else:
Expand Down Expand Up @@ -100,4 +100,4 @@ def main(args):
# parse args
args = parse_args()
# run main function
main(args)
main(args)
Binary file modified src/workshop/data/linear_regression.joblib
Binary file not shown.