libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
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.Rekognition.Types.TestingData

Description

 
Synopsis

Documentation

data TestingData Source #

The dataset used for testing. Optionally, if AutoCreate is set, Amazon Rekognition Custom Labels creates a testing dataset using an 80/20 split of the training dataset.

See: newTestingData smart constructor.

Constructors

TestingData' 

Fields

  • assets :: Maybe [Asset]

    The assets used for testing.

  • autoCreate :: Maybe Bool

    If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.

Instances

Instances details
Eq TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Read TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Show TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Generic TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Associated Types

type Rep TestingData :: Type -> Type #

NFData TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Methods

rnf :: TestingData -> () #

Hashable TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

ToJSON TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

FromJSON TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

type Rep TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

type Rep TestingData = D1 ('MetaData "TestingData" "Amazonka.Rekognition.Types.TestingData" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "TestingData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Asset])) :*: S1 ('MetaSel ('Just "autoCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newTestingData :: TestingData Source #

Create a value of TestingData 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:assets:TestingData', testingData_assets - The assets used for testing.

$sel:autoCreate:TestingData', testingData_autoCreate - If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.

testingData_assets :: Lens' TestingData (Maybe [Asset]) Source #

The assets used for testing.

testingData_autoCreate :: Lens' TestingData (Maybe Bool) Source #

If specified, Amazon Rekognition Custom Labels creates a testing dataset with an 80/20 split of the training dataset.