libZSservicesZSamazonka-lookoutvisionZSamazonka-lookoutvision
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LookoutVision.Types.DetectAnomalyResult

Description

 
Synopsis

Documentation

data DetectAnomalyResult Source #

The prediction results from a call to DetectAnomalies.

See: newDetectAnomalyResult smart constructor.

Constructors

DetectAnomalyResult' 

Fields

  • isAnomalous :: Maybe Bool

    True if the image contains an anomaly, otherwise false.

  • confidence :: Maybe Double

    The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.

  • source :: Maybe ImageSource

    The source of the image that was analyzed. direct means that the images was supplied from the local computer. No other values are supported.

Instances

Instances details
Eq DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

Read DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

Show DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

Generic DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

Associated Types

type Rep DetectAnomalyResult :: Type -> Type #

NFData DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

Methods

rnf :: DetectAnomalyResult -> () #

Hashable DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

FromJSON DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

type Rep DetectAnomalyResult Source # 
Instance details

Defined in Amazonka.LookoutVision.Types.DetectAnomalyResult

type Rep DetectAnomalyResult = D1 ('MetaData "DetectAnomalyResult" "Amazonka.LookoutVision.Types.DetectAnomalyResult" "libZSservicesZSamazonka-lookoutvisionZSamazonka-lookoutvision" 'False) (C1 ('MetaCons "DetectAnomalyResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isAnomalous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageSource)))))

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.