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 |
Prediction.clone() |
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 © 2015. All rights reserved.