The modelScoreRequest schema.
Score the execution request
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 "creationTimeStamp": "2023-10-17T19:15:00.841352Z",3 "createdBy": "username",4 "modifiedTimeStamp": "2023-10-17T19:15:00.841352Z",5 "modifiedBy": "username",6 "version": 1,7 "id": "33992008-6298-4194-ab93-aaa0be7302a1",8 "scoreExecutionRequest": {9 "version": 1,10 "name": "The Scoring operation for Data Mining model \"Decision Tree\".",11 "type": "mappedCode",12 "jobDefinitionId": "43425098-039d-436a-a918-183df8abb5a4",13 "mappedCodeUri": "/files/files/8d650a4e-646b-470f-bb43-ef97f724ac38",14 "outputTable": {15 "tableName": "outputTableName",16 "libraryName": "CASUSER(username)",17 "serverName": "cas-shared-default"18 }19 },20 "state": "running",21 "outputTable": {22 "tableName": "outputTableName",23 "libraryName": "CASUSER(username)",24 "serverName": "cas-shared-default"25 },26 "codeFileUri": "/files/files/8d650a4e-646b-470f-bb43-ef97f724ac38",27 "results": {28 "jobId": "ae94eab3-e5cc-40f4-9dd4-339d408d123f"29 },30 "links": []31}
| Name | Type | Required | Description |
|---|---|---|---|
modelId | string | true | The identifier of the model. |
projectId | string | true | The identifier of the project. |
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 |