Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Side by Side Diff: discovery/googleapis_beta/ml__v1beta1.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 }, 660 },
661 "scopes": [ 661 "scopes": [
662 "https://www.googleapis.com/auth/cloud-platform" 662 "https://www.googleapis.com/auth/cloud-platform"
663 ] 663 ]
664 } 664 }
665 } 665 }
666 } 666 }
667 } 667 }
668 } 668 }
669 }, 669 },
670 "revision": "20161212", 670 "revision": "20170111",
671 "rootUrl": "https://ml.googleapis.com/", 671 "rootUrl": "https://ml.googleapis.com/",
672 "schemas": { 672 "schemas": {
673 "GoogleCloudMlV1beta1__HyperparameterOutput": { 673 "GoogleCloudMlV1beta1__HyperparameterOutput": {
674 "description": "Represents the result of a single hyperparameter tun ing trial from a\ntraining job. The TrainingOutput object that is returned on su ccessful\ncompletion of a training job with hyperparameter tuning includes a lis t\nof HyperparameterOutput objects, one for each successful trial.", 674 "description": "Represents the result of a single hyperparameter tun ing trial from a\ntraining job. The TrainingOutput object that is returned on su ccessful\ncompletion of a training job with hyperparameter tuning includes a lis t\nof HyperparameterOutput objects, one for each successful trial.",
675 "id": "GoogleCloudMlV1beta1__HyperparameterOutput", 675 "id": "GoogleCloudMlV1beta1__HyperparameterOutput",
676 "properties": { 676 "properties": {
677 "finalMetric": { 677 "finalMetric": {
678 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyperpara meterMetric", 678 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyperpara meterMetric",
679 "description": "The final objective metric seen for this tri al." 679 "description": "The final objective metric seen for this tri al."
680 }, 680 },
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 }, 909 },
910 "type": "object" 910 "type": "object"
911 }, 911 },
912 "GoogleCloudMlV1beta1__CancelJobRequest": { 912 "GoogleCloudMlV1beta1__CancelJobRequest": {
913 "description": "Request message for the CancelJob method.", 913 "description": "Request message for the CancelJob method.",
914 "id": "GoogleCloudMlV1beta1__CancelJobRequest", 914 "id": "GoogleCloudMlV1beta1__CancelJobRequest",
915 "properties": {}, 915 "properties": {},
916 "type": "object" 916 "type": "object"
917 }, 917 },
918 "GoogleCloudMlV1beta1__TrainingOutput": { 918 "GoogleCloudMlV1beta1__TrainingOutput": {
919 "description": "Represents results of a training job.", 919 "description": "Represents results of a training job. Output only.",
920 "id": "GoogleCloudMlV1beta1__TrainingOutput", 920 "id": "GoogleCloudMlV1beta1__TrainingOutput",
921 "properties": { 921 "properties": {
922 "consumedMlUnits": { 922 "consumedMLUnits": {
923 "description": "The amount of ML units consumed by the job." , 923 "description": "The amount of ML units consumed by the job." ,
924 "format": "double", 924 "format": "double",
925 "type": "number" 925 "type": "number"
926 }, 926 },
927 "completedTrialCount": { 927 "completedTrialCount": {
928 "description": "The number of hyperparameter tuning trials t hat completed successfully.", 928 "description": "The number of hyperparameter tuning trials t hat completed successfully.\nOnly set for hyperparameter tuning jobs.",
929 "format": "int64", 929 "format": "int64",
930 "type": "string" 930 "type": "string"
931 }, 931 },
932 "isHyperparameterTuningJob": {
933 "description": "Whether this job is a hyperparameter tuning job.",
934 "type": "boolean"
935 },
932 "trials": { 936 "trials": {
933 "description": "Results for individual Hyperparameter trials .", 937 "description": "Results for individual Hyperparameter trials .\nOnly set for hyperparameter tuning jobs.",
934 "items": { 938 "items": {
935 "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput" 939 "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput"
936 }, 940 },
937 "type": "array" 941 "type": "array"
938 } 942 }
939 }, 943 },
940 "type": "object" 944 "type": "object"
941 }, 945 },
942 "GoogleLongrunning__ListOperationsResponse": { 946 "GoogleLongrunning__ListOperationsResponse": {
943 "description": "The response message for Operations.ListOperations." , 947 "description": "The response message for Operations.ListOperations." ,
(...skipping 15 matching lines...) Expand all
959 }, 963 },
960 "GoogleCloudMlV1beta1__PredictionOutput": { 964 "GoogleCloudMlV1beta1__PredictionOutput": {
961 "description": "Represents results of a prediction job.", 965 "description": "Represents results of a prediction job.",
962 "id": "GoogleCloudMlV1beta1__PredictionOutput", 966 "id": "GoogleCloudMlV1beta1__PredictionOutput",
963 "properties": { 967 "properties": {
964 "errorCount": { 968 "errorCount": {
965 "description": "The number of data instances which resulted in errors.", 969 "description": "The number of data instances which resulted in errors.",
966 "format": "int64", 970 "format": "int64",
967 "type": "string" 971 "type": "string"
968 }, 972 },
973 "nodeHours": {
974 "description": "Node hours used by the batch prediction job. ",
975 "format": "double",
976 "type": "number"
977 },
969 "predictionCount": { 978 "predictionCount": {
970 "description": "The number of generated predictions.", 979 "description": "The number of generated predictions.",
971 "format": "int64", 980 "format": "int64",
972 "type": "string" 981 "type": "string"
973 }, 982 },
974 "outputPath": { 983 "outputPath": {
975 "description": "The output Google Cloud Storage location pro vided at the job creation time.", 984 "description": "The output Google Cloud Storage location pro vided at the job creation time.",
976 "type": "string" 985 "type": "string"
977 } 986 }
978 }, 987 },
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 "description": "Required. The output Google Cloud Storage lo cation.", 1043 "description": "Required. The output Google Cloud Storage lo cation.",
1035 "type": "string" 1044 "type": "string"
1036 }, 1045 },
1037 "inputPaths": { 1046 "inputPaths": {
1038 "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.", 1047 "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.",
1039 "items": { 1048 "items": {
1040 "type": "string" 1049 "type": "string"
1041 }, 1050 },
1042 "type": "array" 1051 "type": "array"
1043 }, 1052 },
1053 "runtimeVersion": {
1054 "description": "Optional. The Google Cloud ML runtime versio n to use for this batch\nprediction. If not set, Google Cloud ML will choose a v ersion.",
1055 "type": "string"
1056 },
1044 "dataFormat": { 1057 "dataFormat": {
1045 "description": "Required. The format of the input data files .", 1058 "description": "Required. The format of the input data files .",
1046 "enum": [ 1059 "enum": [
1047 "DATA_FORMAT_UNSPECIFIED", 1060 "DATA_FORMAT_UNSPECIFIED",
1048 "TEXT", 1061 "TEXT",
1049 "TF_RECORD", 1062 "TF_RECORD",
1050 "TF_RECORD_GZIP" 1063 "TF_RECORD_GZIP"
1051 ], 1064 ],
1052 "enumDescriptions": [ 1065 "enumDescriptions": [
1053 "Unspecified format.", 1066 "Unspecified format.",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 "format": "int64", 1130 "format": "int64",
1118 "type": "string" 1131 "type": "string"
1119 }, 1132 },
1120 "packageUris": { 1133 "packageUris": {
1121 "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.", 1134 "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.",
1122 "items": { 1135 "items": {
1123 "type": "string" 1136 "type": "string"
1124 }, 1137 },
1125 "type": "array" 1138 "type": "array"
1126 }, 1139 },
1140 "runtimeVersion": {
1141 "description": "Optional. The Google Cloud ML runtime versio n to use for training. If not\nset, Google Cloud ML will choose the latest stab le version.",
1142 "type": "string"
1143 },
1127 "hyperparameters": { 1144 "hyperparameters": {
1128 "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec", 1145 "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec",
1129 "description": "Optional. The set of Hyperparameters to tune ." 1146 "description": "Optional. The set of Hyperparameters to tune ."
1130 }, 1147 },
1131 "masterType": { 1148 "masterType": {
1132 "description": "Optional. Specifies the type of virtual mach ine to use for your training\njob's master worker.\n\nThe following types are su pported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration s uitable for training simple models with\n small to moderate datasets.\n </dd>\ n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially sui ted for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s </dt>\n <dd>\n A machine suitable for the master and workers of the cluster wh en your\n model requires more computation than the standard machine can handle\ n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine wit h roughly twice the number of cores and roughly double the\n memory of <code su ppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</ dt>\n <dd>\n A machine with roughly twice the number of cores and roughly doub le the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </ dd>\n</dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", 1149 "description": "Optional. Specifies the type of virtual mach ine to use for your training\njob's master worker.\n\nThe following types are su pported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration s uitable for training simple models with\n small to moderate datasets.\n </dd>\ n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially sui ted for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s </dt>\n <dd>\n A machine suitable for the master and workers of the cluster wh en your\n model requires more computation than the standard machine can handle\ n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine wit h roughly twice the number of cores and roughly double the\n memory of <code su ppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</ dt>\n <dd>\n A machine with roughly twice the number of cores and roughly doub le the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </ dd>\n</dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.",
1133 "type": "string" 1150 "type": "string"
1134 }, 1151 },
1135 "parameterServerCount": { 1152 "parameterServerCount": {
1136 "description": "Optional. The number of parameter server rep licas to use for the training\njob. Each replica in the cluster will be of the t ype specified in\n`parameter_server_type`.\n\nThis value can only be used when ` scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame ter_server_type`.", 1153 "description": "Optional. The number of parameter server rep licas to use for the training\njob. Each replica in the cluster will be of the t ype specified in\n`parameter_server_type`.\n\nThis value can only be used when ` scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame ter_server_type`.",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 "type": "object" 1186 "type": "object"
1170 }, 1187 },
1171 "GoogleCloudMlV1beta1__Version": { 1188 "GoogleCloudMlV1beta1__Version": {
1172 "description": "Represents a version of the model.\n\nEach version i s a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the ver sions of a given model by calling\n[projects.models.versions.list](/ml/reference /rest/v1beta1/projects.models.versions/list).", 1189 "description": "Represents a version of the model.\n\nEach version i s a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the ver sions of a given model by calling\n[projects.models.versions.list](/ml/reference /rest/v1beta1/projects.models.versions/list).",
1173 "id": "GoogleCloudMlV1beta1__Version", 1190 "id": "GoogleCloudMlV1beta1__Version",
1174 "properties": { 1191 "properties": {
1175 "description": { 1192 "description": {
1176 "description": "Optional. The description specified for the version when it was created.", 1193 "description": "Optional. The description specified for the version when it was created.",
1177 "type": "string" 1194 "type": "string"
1178 }, 1195 },
1196 "runtimeVersion": {
1197 "description": "Optional. The Google Cloud ML runtime versio n to use for this deployment.\nIf not set, Google Cloud ML will choose a version .",
1198 "type": "string"
1199 },
1179 "deploymentUri": { 1200 "deploymentUri": {
1180 "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model de ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1beta1 /projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.", 1201 "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model de ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1beta1 /projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.",
1181 "type": "string" 1202 "type": "string"
1182 }, 1203 },
1204 "onlinePredictionLogging": {
1205 "description": "Optional. If true, enables StackDriver Loggi ng for online prediction.\nDefault is false.",
1206 "type": "boolean"
1207 },
1183 "createTime": { 1208 "createTime": {
1184 "description": "Output only. The time the version was create d.", 1209 "description": "Output only. The time the version was create d.",
1185 "format": "google-datetime", 1210 "format": "google-datetime",
1186 "type": "string" 1211 "type": "string"
1187 }, 1212 },
1188 "lastUseTime": { 1213 "lastUseTime": {
1189 "description": "Output only. The time the version was last u sed for prediction.", 1214 "description": "Output only. The time the version was last u sed for prediction.",
1190 "format": "google-datetime", 1215 "format": "google-datetime",
1191 "type": "string" 1216 "type": "string"
1192 }, 1217 },
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 "type": "object" 1365 "type": "object"
1341 }, 1366 },
1342 "GoogleCloudMlV1beta1__Model": { 1367 "GoogleCloudMlV1beta1__Model": {
1343 "description": "Represents a machine learning solution.\n\nA model c an have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.", 1368 "description": "Represents a machine learning solution.\n\nA model c an have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.",
1344 "id": "GoogleCloudMlV1beta1__Model", 1369 "id": "GoogleCloudMlV1beta1__Model",
1345 "properties": { 1370 "properties": {
1346 "description": { 1371 "description": {
1347 "description": "Optional. The description specified for the model when it was created.", 1372 "description": "Optional. The description specified for the model when it was created.",
1348 "type": "string" 1373 "type": "string"
1349 }, 1374 },
1375 "regions": {
1376 "description": "Optional. The list of regions where the mode l is going to be deployed.\nCurrently only one region per model is supported.\nD efaults to 'us-central1' if nothing is set.",
1377 "items": {
1378 "type": "string"
1379 },
1380 "type": "array"
1381 },
1350 "defaultVersion": { 1382 "defaultVersion": {
1351 "$ref": "GoogleCloudMlV1beta1__Version", 1383 "$ref": "GoogleCloudMlV1beta1__Version",
1352 "description": "Output only. The default version of the mode l. This version will be used to\nhandle prediction requests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.v ersions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefau lt)." 1384 "description": "Output only. The default version of the mode l. This version will be used to\nhandle prediction requests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.v ersions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefau lt)."
1353 }, 1385 },
1354 "name": { 1386 "name": {
1355 "description": "Required. The name specified for the model w hen it was created.\n\nThe model name must be unique within the project it is cr eated in.", 1387 "description": "Required. The name specified for the model w hen it was created.\n\nThe model name must be unique within the project it is cr eated in.",
1356 "type": "string" 1388 "type": "string"
1357 } 1389 }
1358 }, 1390 },
1359 "type": "object" 1391 "type": "object"
1360 } 1392 }
1361 }, 1393 },
1362 "servicePath": "", 1394 "servicePath": "",
1363 "title": "Google Cloud Machine Learning", 1395 "title": "Google Cloud Machine Learning",
1364 "version": "v1beta1" 1396 "version": "v1beta1"
1365 } 1397 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/logging__v2beta1.json ('k') | discovery/googleapis_beta/pubsub__v1beta2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698