You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MachineLearning::Types::Prediction
- Inherits:
-
Struct
- Object
- Struct
- Aws::MachineLearning::Types::Prediction
- Defined in:
- (unknown)
Overview
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.
Returned by:
Instance Attribute Summary collapse
-
#details ⇒ Hash<String,String>
Provides any additional details regarding the prediction.
-
#predicted_label ⇒ String
The prediction label for either a
BINARYorMULTICLASSMLModel. -
#predicted_scores ⇒ Hash<String,Float>
Provides the raw classification score corresponding to each label.
-
#predicted_value ⇒ Float
The prediction value for
REGRESSIONMLModel.
Instance Attribute Details
#details ⇒ Hash<String,String>
Provides any additional details regarding the prediction.
#predicted_label ⇒ String
The prediction label for either a BINARY or MULTICLASS MLModel.
#predicted_scores ⇒ Hash<String,Float>
Provides the raw classification score corresponding to each label.
#predicted_value ⇒ Float
The prediction value for REGRESSION MLModel.