amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.TestingData

Description

 
Synopsis

Documentation

data TestingData Source #

The dataset used for testing. Optionally, if AutoCreate is set, Amazon Rekognition Custom Labels uses the training dataset to create a test dataset with a temporary 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 temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.

Instances

Instances details
FromJSON TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

ToJSON 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 #

Read TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Show TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

NFData TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Methods

rnf :: TestingData -> () #

Eq TestingData Source # 
Instance details

Defined in Amazonka.Rekognition.Types.TestingData

Hashable 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" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" '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 temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.

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 temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.