Skip to content

Commit

Permalink
chore: jsonfmt machinelearningservices (#6949)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored and weidongxu-microsoft committed Aug 14, 2019
1 parent f23355b commit 9f6d3cf
Show file tree
Hide file tree
Showing 12 changed files with 97 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1543,4 +1543,4 @@
}
],
"tags": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -922,4 +922,4 @@
}
],
"tags": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"runId": "demorun_15501234342_0"
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"runId": "demorun_15501234342_0"
},
"responses": {
"200": {
"200": {
"body": {
"runId": "demorun_15501234342_0"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
"generator_config": {
"name": "BAYESIANOPTIMIZATION",
"parameter_space": {
"--param1": ["uniform", [0, 1]]
"--param1": [
"uniform",
[
0,
1
]
]
}
},
"max_concurrent_jobs": 1,
Expand All @@ -29,8 +35,7 @@
"modified": "2019-05-23T20:00:00.0Z",
"name": "demo_experiment",
"platform": "AML",
"platform_config": {
},
"platform_config": {},
"policy_config": {
"name": "DEFAULT"
},
Expand All @@ -46,4 +51,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
{
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"definition": {
"snapshotId": "00000000-0000-0000-0000-000000000000",
"configuration": {
"script": "findsquare.py",
"arguments": [
"234"
],
"framework": "Python",
"communicator": "None",
"target": "batchai",
"maxRunDurationSeconds": 1200,
"nodeCount": 1,
"environment": {
"python": {
"interpreterPath": "python",
"userManagedDependencies": false,
"condaDependencies": {
"name": "project_environment",
"dependencies": [
"python=3.6.2",
{
"pip": [
"azureml-defaults"
]
}
]
}
},
"docker": {
"baseImage": "mcr.microsoft.com/azureml/base:0.2.2"
}
},
"history": {
}
}
}
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"definition": {
"snapshotId": "00000000-0000-0000-0000-000000000000",
"configuration": {
"script": "findsquare.py",
"arguments": [
"234"
],
"framework": "Python",
"communicator": "None",
"target": "batchai",
"maxRunDurationSeconds": 1200,
"nodeCount": 1,
"environment": {
"python": {
"interpreterPath": "python",
"userManagedDependencies": false,
"condaDependencies": {
"name": "project_environment",
"dependencies": [
"python=3.6.2",
{
"pip": [
"azureml-defaults"
]
}
]
}
},
"docker": {
"baseImage": "mcr.microsoft.com/azureml/base:0.2.2"
}
},
"history": {}
}
}
},
"responses": {
"200": {
Expand All @@ -51,4 +50,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"runDefinitionFile": "multipart-form-data",
"projectZipFile": "multipart-form-data"
},
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"runDefinitionFile": "multipart-form-data",
"projectZipFile": "multipart-form-data"
},
"responses": {
"200": {
"body": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parameters": {
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"region": "eastus",
"dnsSuffix": "api.azureml.ms",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "demo_resource_group",
"workspaceName": "demo_workspace",
"experimentName": "demo_experiment",
"definition": {
"snapshotId": "00000000-0000-0000-0000-000000000000",
"definition": {
"snapshotId": "00000000-0000-0000-0000-000000000000",
"configuration": {
"script": "findsquare.py",
"arguments": [
Expand Down Expand Up @@ -38,10 +38,9 @@
"baseImage": "mcr.microsoft.com/azureml/base:0.2.2"
}
},
"history": {
}
"history": {}
}
}
}
},
"responses": {
"200": {
Expand All @@ -50,4 +49,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -824,4 +824,4 @@
}
],
"tags": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,23 @@
},
"parameter_space": {
"type": "object",
"additionalProperties":{
"additionalProperties": {
"type": "array",
"items": {},
"minItems": 2,
"maxItems": 2,
"description": "The first element in the array is a string identifying the parameter expression type like choice, uniform etc. The second element is a parameter expressions corresponding to the type.\r\n Please refer to https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.parameter_expressions?view=azure-ml-py for a list of supported types and options for each type.\r\n choice parameters are specified as ['choice', [[1, 2, 3, 4]]]. randint is in format ['randint', [1]].\r\n uniform, loguniform, normal, lognormal are in format [expression type, [0.01, 0.05]].\r\n quniform, qloguniform, qnormal, qlognormal are in format [expression type, [0.01, 0.05, 3]].\r\n",
"example": ["choice", [[1, 2, 3, 4]]]
"example": [
"choice",
[
[
1,
2,
3,
4
]
]
]
},
"description": "Dictionary specifying hyperparameter space."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3600,4 +3600,4 @@
}
],
"tags": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2698,4 +2698,4 @@
}
],
"tags": []
}
}

0 comments on commit 9f6d3cf

Please sign in to comment.