public static interface Prediction.Builder extends CopyableBuilder<Prediction.Builder,Prediction>
| Modifier and Type | Method and Description |
|---|---|
Prediction.Builder |
details(Map<String,String> details)
Sets the value of the Details property for this object.
|
Prediction.Builder |
predictedLabel(String predictedLabel)
The prediction label for either a
BINARY or MULTICLASS MLModel. |
Prediction.Builder |
predictedScores(Map<String,Float> predictedScores)
Sets the value of the PredictedScores property for this object.
|
Prediction.Builder |
predictedValue(Float predictedValue)
The prediction value for
REGRESSION MLModel. |
copyapply, buildPrediction.Builder predictedLabel(String predictedLabel)
The prediction label for either a BINARY or MULTICLASS MLModel.
predictedLabel - The prediction label for either a BINARY or MULTICLASS MLModel.Prediction.Builder predictedValue(Float predictedValue)
REGRESSION MLModel.predictedValue - The prediction value for REGRESSION MLModel.Prediction.Builder predictedScores(Map<String,Float> predictedScores)
predictedScores - The new value for the PredictedScores property for this object.Prediction.Builder details(Map<String,String> details)
details - The new value for the Details property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.