Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit f28c893

Browse files
authored
Matrix Strategy (#111)
* Matrix Strategy Adding a strategy to run in 3 regions : eastus, westus2, southcentralus location parameter was never set in the 03 notebook but added azlocation to set that field when running that notebook. * Re-order parameters Papermill complained it didn't know abut azurerggroup, but similarly said it didn't know what estimators were.... * Correct Param Names azurergname wasn't used throughout the matrix strategy, only the first one, which seems to make sense based on the results.
1 parent b98f7b4 commit f28c893

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ jobs:
1414
- job: MLHyperparameterTuningJob
1515
timeoutInMinutes: 300
1616
cancelTimeoutInMinutes: 2
17+
1718
pool:
1819
vmImage: 'Ubuntu-16.04'
1920

21+
strategy:
22+
maxParallel: 3
23+
matrix: {"eastus": {"azlocation": "eastus", "azurergname" : "mlhyptuneeastus"},"southcentralus": {"azlocation": "southcentralus", "azurergname" : "mlhyptunesouthctrl" },"westus2": {"azlocation": "westus2", "azurergname" : "mlhyptunewestus"}}
24+
2025
steps:
2126
- bash: |
2227
source /usr/share/miniconda/etc/profile.d/conda.sh
@@ -59,7 +64,7 @@ jobs:
5964
source /usr/share/miniconda/etc/profile.d/conda.sh
6065
conda activate MLHyperparameterTuning
6166
echo Executing 03_Run_Locally.ipynb
62-
papermill 03_Run_Locally.ipynb 03_Run_Locally_Output.ipynb --log-output --no-progress-bar -k python3 -p subscription_id $(subscriptionid) -p resource_group $(azurergname) -p estimators 1
67+
papermill 03_Run_Locally.ipynb 03_Run_Locally_Output.ipynb --log-output --no-progress-bar -k python3 -p subscription_id $(subscriptionid) -p resource_group $(azurergname) -p location $(azlocation) -p estimators 1
6368
displayName: '03_Run_Locally.ipynb'
6469
6570
- bash: |

0 commit comments

Comments
 (0)