| Package | Description |
|---|---|
| com.amazonaws.services.machinelearning.model |
Classes modeling the various types represented by AmazonMachineLearning
|
| Modifier and Type | Method and Description |
|---|---|
Prediction |
Prediction.adddetailsEntry(String key,
String value)
Provides any additional details regarding the prediction.
|
Prediction |
Prediction.addpredictedScoresEntry(String key,
Float value)
Provides the raw classification score corresponding to each label.
|
Prediction |
Prediction.cleardetailsEntries()
Removes all the entries added into details.
|
Prediction |
Prediction.clearpredictedScoresEntries()
Removes all the entries added into predictedScores.
|
Prediction |
PredictResult.getPrediction()
The output from a
Predict operation: |
Prediction |
Prediction.withDetails(Map<String,String> details)
Provides any additional details regarding the prediction.
|
Prediction |
Prediction.withPredictedLabel(String predictedLabel)
The prediction label for either a
BINARY or
MULTICLASS MLModel. |
Prediction |
Prediction.withPredictedScores(Map<String,Float> predictedScores)
Provides the raw classification score corresponding to each label.
|
Prediction |
Prediction.withPredictedValue(Float predictedValue)
The prediction value for
REGRESSION MLModel. |
| Modifier and Type | Method and Description |
|---|---|
void |
PredictResult.setPrediction(Prediction prediction)
The output from a
Predict operation: |
PredictResult |
PredictResult.withPrediction(Prediction prediction)
The output from a
Predict operation: |
Copyright © 2018. All rights reserved.