Get Prediction Model Status Type (Hub)

[This topic is pre-release documentation and is subject to change.]

Gets the Training Model Results associated with the specified Prediction.

Request

This POST request is constructed as follows:

HTTP Verb Request URI
POST <Hub-endpoint>/manage/model/predictions/<predictionName>/getTrainingResults?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
Hub-endpoint Yes The base URL for your Customer Insights Hub
predictionName Yes Name of the Prediction associated with the model training results to retrieve

Response

The response includes a standard HTTP status code, a set of standard response headers, and a response body.

Response Body

The requested Training Model Results, of the form:

{
  "tenantId": "string",
  "scoreName": "string",
  "predictionDistribution": {
    "totalPositives": 0,
    "totalNegatives": 0,
    "distributions": [
      {
        "scoreThreshold": 0,
        "positives": 0,
        "negatives": 0,
        "positivesAboveThreshold": 0,
        "negativesAboveThreshold": 0
      }
    ]
  },
  "canonicalProfiles": [
    {
      "CanonicalProfileId": "string",
      "properties": [
        {
          "profileName": "string",
          "profilePropertyName": "string",
          "rank": 0,
          "type": "Numeric",
          "value": "string"
        }
      ]
    }
  ],
  "primaryProfileInstanceCount": 0
}

Status Code

  • 200 (OK) - Retrieval request completed successfully.