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 | MULTICLASS
DetailsAttributes.ALGORITHM - SGD
PredictedLabel
- Present for either aBINARY
orMULTICLASS
MLModel
request.PredictedScores
- Contains the raw classification score corresponding to each label.PredictedValue
- Present for aREGRESSION
MLModel
request.
-
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
BINARY
orMULTICLASS
MLModel
.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
REGRESSION
MLModel
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable predictedValue;
Swift
var predictedValue: NSNumber? { get set }