Prediction - MachineLearning

Prediction

The output from a Predict operation:

  • Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS DetailsAttributes.ALGORITHM - SGD

  • PredictedLabel - Present for either a BINARY or MULTICLASS MLModel request.

  • PredictedScores - Contains the raw classification score corresponding to each label.

  • PredictedValue - Present for a REGRESSION MLModel request.

Contents

details

Provides any additional details regarding the prediction.

Type: String to string map

Valid Keys: PredictiveModelType | Algorithm

Value Length Constraints: Minimum length of 1.

Required: No

predictedLabel

The prediction label for either a BINARY or MULTICLASS MLModel.

Type: String

Length Constraints: Minimum length of 1.

Required: No

predictedScores

Provides the raw classification score corresponding to each label.

Type: String to float map

Key Length Constraints: Minimum length of 1.

Required: No

predictedValue

The prediction value for REGRESSION MLModel.

Type: Float

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: