Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DetectAnomalyResult = DetectAnomalyResult' {}
- newDetectAnomalyResult :: DetectAnomalyResult
- detectAnomalyResult_isAnomalous :: Lens' DetectAnomalyResult (Maybe Bool)
- detectAnomalyResult_confidence :: Lens' DetectAnomalyResult (Maybe Double)
- detectAnomalyResult_source :: Lens' DetectAnomalyResult (Maybe ImageSource)
Documentation
data DetectAnomalyResult Source #
The prediction results from a call to DetectAnomalies.
See: newDetectAnomalyResult
smart constructor.
DetectAnomalyResult' | |
|
Instances
newDetectAnomalyResult :: DetectAnomalyResult Source #
Create a value of DetectAnomalyResult
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:isAnomalous:DetectAnomalyResult'
, detectAnomalyResult_isAnomalous
- True if the image contains an anomaly, otherwise false.
$sel:confidence:DetectAnomalyResult'
, detectAnomalyResult_confidence
- The confidence that Amazon Lookout for Vision has in the accuracy of the
prediction.
$sel:source:DetectAnomalyResult'
, detectAnomalyResult_source
- The source of the image that was analyzed. direct
means that the
images was supplied from the local computer. No other values are
supported.
detectAnomalyResult_isAnomalous :: Lens' DetectAnomalyResult (Maybe Bool) Source #
True if the image contains an anomaly, otherwise false.
detectAnomalyResult_confidence :: Lens' DetectAnomalyResult (Maybe Double) Source #
The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.
detectAnomalyResult_source :: Lens' DetectAnomalyResult (Maybe ImageSource) Source #
The source of the image that was analyzed. direct
means that the
images was supplied from the local computer. No other values are
supported.