AWSMachineLearningPrediction
Objective-C
@interface AWSMachineLearningPrediction
Swift
class AWSMachineLearningPrediction
The output from a Predict operation:
Details- Contains the following attributes:DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASSDetailsAttributes.ALGORITHM - SGDPredictedLabel- Present for either aBINARYorMULTICLASSMLModelrequest.PredictedScores- Contains the raw classification score corresponding to each label.PredictedValue- Present for aREGRESSIONMLModelrequest.
-
Provides any additional details regarding the prediction.
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable details;Swift
var details: [String : String]? { get set } -
The prediction label for either a
BINARYorMULTICLASSMLModel.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable predictedLabel;Swift
var predictedLabel: String? { get set } -
Provides the raw classification score corresponding to each label.
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSNumber *> *_Nullable predictedScores;Swift
var predictedScores: [String : NSNumber]? { get set } -
The prediction value for
REGRESSIONMLModel.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable predictedValue;Swift
var predictedValue: NSNumber? { get set }
View on GitHub
Install in Dash
AWSMachineLearningPrediction Class Reference