Newer Version Available

This content describes an older version of this product. View Latest

Prediction Output

Output representation of the prediction request.
Property Name Type Description Filter Group and Version Available Version
classificationThreshold Double The classification threshold value to derive the type of model to be used for prediction. If prediction score is higher/lower than this threshold, positive/negative prediction labels are displayed based on scorecard configuration. Small, 55.0 55.0
classificationType String Specifies the classification model type. For example. Binary or ternary. Small, 55.0 55.0
executionModeWarning String Indicates the change in execution mode from user specified to default mode configuration. Small, 54.0 54.0
featureExtractor String The class name of the feature extractor implementation used for the prediction. Small, 54.0 54.0
featureExtractorType String The feature extractor type used for the prediction.
Possible values are:
  • Apex
  • Hybrid
  • Java
Small, 54.0 54.0
inputType String The type of input used to make the prediction. Small, 55.0 55.0
insightsSettings Map<String, Integer> A map for configuring insight settings. Small, 55.0 55.0
modelFeatures Model Feature[] Specifies additional details of the model feature, including name, label, and data type. Small, 55.0 55.0
outcomeGoal String Indicates whether predDef maximizes or minimizes the field value. Small, 55.0 55.0
predictionDefinition String The model developer name or API name used to make prediction. Small, 55.0 55.0
predictionDefinitionLabel String The label corresponding to the model ID used for prediction. Small, 55.0 55.0
predictionPersistenceErrorMessage String Indicates that an error occurred during persistence of prediction results or features. Small, 54.0 54.0
predictionPlatform String The machine learning platform that is used to make the prediction for a use case. Small, 55.0 55.0
predictions Prediction Object[] A list of prediction results. Small, 55.0 55.0
primaryResponseObjRecordIds String[] Indicates the list of recordIds where the response is persisted in primary response object. Small, 55.0 55.0
requestId String The unique identifier for the request to be generated and used for listening to notifications in the async mode of the execution. Small, 55.0 55.0
secondaryResponseObjRecordIds String[] Indicates the list of recordIds where the response is persisted in secondary response object. Small, 55.0 55.0
status Status Indicates whether the call succeeded or failed, and in case of failure also provides the reason. Small, 55.0 55.0
JSON example
1{
2  "Prediction Purpose": "Use case Name Eg: Smart Selling Visit Recommendation",
3  "Prediction Platform": "Einstein Discovery / Einstein Platform (optional)",
4  "Prediction Definition": "PredictionDefinitionIdentifier",
5  "Input Type": "ExtractedRawData",
6  "Feature Extractor Type": "Custom",
7  "Feature Extractor": "ApexSSVisitRecommendationsFeatureExtractor",
8  "Primary Response Obj RecordIds": [
9    "a00x0000000CHa0AAG",
10    "a00x0000000CHa0XXY"
11  ],
12  "Secondary Response Obj RecordIds": [
13    "a00x0000000CHa0PPS",
14    "a00x0000000CHa0QQW"
15  ],
16  "predictions": [
17    {
18      "model": {
19        "id": "1OtRM000000002b0AA"
20      },
21      "prediction": {
22        "score": 799315.4282959097,
23        "insights": [
24          {
25            "columns": [
26              {
27                "columnName": "Has Line Item",
28                "columnValue": "true"
29              }
30            ],
31            "value": 553763.66105859
32          }
33        ]
34      },
35      "status": "Success"
36    },
37    {
38      "model": {
39        "id": "1OtRM000000002b0AA"
40      },
41      "prediction": {
42        "score": 799315.4282959097,
43        "insights": [
44          {
45            "columns": [
46              {
47                "columnName": "Has Line Item",
48                "columnValue": "true"
49              }
50            ],
51            "value": 543763.66105859
52          }
53        ]
54      },
55      "status": "Success"
56    }
57  ],
58  "insightSettings": {
59    "maxPrescriptions": 0,
60    "maxInsights": 0
61  }
62}