/AWS1/CL_ML_PREDICTION¶
The output from a Predict operation:
-
Details- Contains the following attributes:DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASSDetailsAttributes.ALGORITHM - SGD -
PredictedLabel- Present for either aBINARYorMULTICLASSMLModelrequest. -
PredictedScores- Contains the raw classification score corresponding to each label. -
PredictedValue- Present for aREGRESSIONMLModelrequest.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_predictedlabel TYPE /AWS1/ML_LABEL /AWS1/ML_LABEL¶
The prediction label for either a
BINARYorMULTICLASSMLModel.
iv_predictedvalue TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The prediction value for
REGRESSIONMLModel.
it_predictedscores TYPE /AWS1/CL_ML_SCOREVALPERLABEL00=>TT_SCOREVALUEPERLABELMAP TT_SCOREVALUEPERLABELMAP¶
Provides the raw classification score corresponding to each label.
it_details TYPE /AWS1/CL_ML_DETAILSMAP_W=>TT_DETAILSMAP TT_DETAILSMAP¶
Provides any additional details regarding the prediction.
Queryable Attributes¶
predictedLabel¶
The prediction label for either a
BINARYorMULTICLASSMLModel.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREDICTEDLABEL() |
Getter for PREDICTEDLABEL, with configurable default |
ASK_PREDICTEDLABEL() |
Getter for PREDICTEDLABEL w/ exceptions if field has no valu |
HAS_PREDICTEDLABEL() |
Determine if PREDICTEDLABEL has a value |
predictedValue¶
The prediction value for
REGRESSIONMLModel.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREDICTEDVALUE() |
Getter for PREDICTEDVALUE, with configurable default |
ASK_PREDICTEDVALUE() |
Getter for PREDICTEDVALUE w/ exceptions if field has no valu |
STR_PREDICTEDVALUE() |
String format for PREDICTEDVALUE, with configurable default |
HAS_PREDICTEDVALUE() |
Determine if PREDICTEDVALUE has a value |
predictedScores¶
Provides the raw classification score corresponding to each label.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREDICTEDSCORES() |
Getter for PREDICTEDSCORES, with configurable default |
ASK_PREDICTEDSCORES() |
Getter for PREDICTEDSCORES w/ exceptions if field has no val |
HAS_PREDICTEDSCORES() |
Determine if PREDICTEDSCORES has a value |
details¶
Provides any additional details regarding the prediction.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DETAILS() |
Getter for DETAILS, with configurable default |
ASK_DETAILS() |
Getter for DETAILS w/ exceptions if field has no value |
HAS_DETAILS() |
Determine if DETAILS has a value |