diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json index 9a3b640f1c42..8b52e3788ee0 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json @@ -1543,4 +1543,4 @@ } ], "tags": [] -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json index c0f5492ebb08..74f681ba9d14 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json @@ -922,4 +922,4 @@ } ], "tags": [] -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json index d8649e938603..ba759fa0ea93 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json index fb151b560d31..119a85b57fd1 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json @@ -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" } - } + } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json index 580710d6786a..4874d2a84fce 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json @@ -20,7 +20,13 @@ "generator_config": { "name": "BAYESIANOPTIMIZATION", "parameter_space": { - "--param1": ["uniform", [0, 1]] + "--param1": [ + "uniform", + [ + 0, + 1 + ] + ] } }, "max_concurrent_jobs": 1, @@ -29,8 +35,7 @@ "modified": "2019-05-23T20:00:00.0Z", "name": "demo_experiment", "platform": "AML", - "platform_config": { - }, + "platform_config": {}, "policy_config": { "name": "DEFAULT" }, @@ -46,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json index 4169cb1ccd48..21d70904a3e8 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json @@ -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": { @@ -51,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json index 5c35daeac5f1..00e885a53c72 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json @@ -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": { diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json index e4c9c448d3a1..9c494e4dba90 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json @@ -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": [ @@ -38,10 +38,9 @@ "baseImage": "mcr.microsoft.com/azureml/base:0.2.2" } }, - "history": { - } + "history": {} } - } + } }, "responses": { "200": { @@ -50,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json index 0b4ce6a63877..ca260daefa7b 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json @@ -824,4 +824,4 @@ } ], "tags": [] -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json index d10471c62277..ca5399f51681 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json @@ -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." } diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json index face32626cfd..ff6ed3317c07 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json @@ -3600,4 +3600,4 @@ } ], "tags": [] -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json index 5e4cc6c710fc..2ffbaecc600a 100644 --- a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json +++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json @@ -2698,4 +2698,4 @@ } ], "tags": [] -} \ No newline at end of file +}