class Aws::MachineLearning::Types::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.
@!attribute [rw] predicted_label
The prediction label for either a `BINARY` or `MULTICLASS` `MLModel`. @return [String]
@!attribute [rw] predicted_value
The prediction value for `REGRESSION` `MLModel`. @return [Float]
@!attribute [rw] predicted_scores
Provides the raw classification score corresponding to each label. @return [Hash<String,Float>]
@!attribute [rw] details
Provides any additional details regarding the prediction. @return [Hash<String,String>]
Constants
- SENSITIVE