Score the execution request(Deprecated)
post/projects/{projectId}/models/{modelId}/scoreExecutions
Scores a model using the Score Execution Service. This endpoint has been deprecated and replaced by the POST /dataMiningProjectResources/projects/{projectId}/models/{modelId}/scoreExecutions endpoint.
1{2 "id": "string",3 "createdBy": "string",4 "creationTimeStamp": "2019-08-24T14:15:22Z",5 "modifiedBy": "string",6 "modifiedTimeStamp": "2019-08-24T14:15:22Z",7 "scoreExecutionRequest": [8 {9 "name": "My Score Execution Request",10 "scoreDefinitionId": "9f0c13ae-6a27-11e6-8b77-86f30ca893d3",11 "mappedCodeUri": "http://files/files/0c7281d8-063d-49dd-be6b-392e9c9e930c",12 "outputTable": "example-table",13 "hints": {14 "outputLibraryName": "PUBLIC"15 }16 }17 ],18 "state": "pending",19 "outputTable": [20 {21 "tableName": "string",22 "libraryName": "string",23 "serverName": "string"24 }25 ],26 "codeFileUri": "http://example.com",27 "logFileUri": "http://example.com",28 "haveWarnings": true,29 "error": [30 {31 "message": "string",32 "id": "string",33 "errorCode": 0,34 "httpStatusCode": 0,35 "details": [36 "string"37 ],38 "remediation": "string",39 "errors": [40 {}41 ],42 "links": [43 {44 "method": "string",45 "rel": "string",46 "uri": "string",47 "href": "string",48 "title": "string",49 "type": "string",50 "itemType": "string",51 "responseType": "string",52 "responseItemType": "string"53 }54 ],55 "version": 056 }57 ],58 "results": {59 "property1": "string",60 "property2": "string"61 },62 "links": [63 {64 "method": "string",65 "rel": "string",66 "uri": "string",67 "href": "string",68 "title": "string",69 "type": "string",70 "itemType": "string",71 "responseType": "string",72 "responseItemType": "string"73 }74 ],75 "version": 076}
Name | Type | Required | Description |
---|---|---|---|
modelId | string | true | The identifier of the model. |
projectId | string | true | The identifier of the project. |
The modelScoreRequest schema.
A request to score a data mining model against a data table. The score output table is placed in the CAS library using the table name specified in the scoring request.
Name | Type | Required | Description |
---|---|---|---|
dataTableUri | string | false | The URI of the data table to score. |
outputCaslibName | string | false | The name of the CAS library where the output table is to be saved. |
outputTableName | string | false | The name of the table for storing the score output. |
version | integer<int32> | false | The version of the resource. This is version 1. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The score execution request was created. | Headers | Schema |
400 | Bad Request | The model score request was invalid. | Schema | |
404 | Not Found | No project, model, or score table exists at the requested path. | Schema |