| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.Types.Prediction
Description
Synopsis
- data Prediction = Prediction' {}
- newPrediction :: Prediction
- prediction_details :: Lens' Prediction (Maybe (HashMap DetailsAttributes Text))
- prediction_predictedLabel :: Lens' Prediction (Maybe Text)
- prediction_predictedScores :: Lens' Prediction (Maybe (HashMap Text Double))
- prediction_predictedValue :: Lens' Prediction (Maybe Double)
Documentation
data Prediction Source #
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.
See: newPrediction smart constructor.
Constructors
| Prediction' | |
Fields
| |
Instances
newPrediction :: Prediction Source #
Create a value of Prediction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:Prediction', prediction_details - Undocumented member.
$sel:predictedLabel:Prediction', prediction_predictedLabel - The prediction label for either a BINARY or MULTICLASS MLModel.
$sel:predictedScores:Prediction', prediction_predictedScores - Undocumented member.
$sel:predictedValue:Prediction', prediction_predictedValue - The prediction value for REGRESSION MLModel.
prediction_details :: Lens' Prediction (Maybe (HashMap DetailsAttributes Text)) Source #
Undocumented member.
prediction_predictedLabel :: Lens' Prediction (Maybe Text) Source #
The prediction label for either a BINARY or MULTICLASS MLModel.
prediction_predictedScores :: Lens' Prediction (Maybe (HashMap Text Double)) Source #
Undocumented member.
prediction_predictedValue :: Lens' Prediction (Maybe Double) Source #
The prediction value for REGRESSION MLModel.