Defines additional types related to [SampleConfig].
Enum
SampleStrategy
Sample strategy decides which subset of DataItems should be selected for human labeling in every batch.
Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
InitialBatchSampleSize
Decides sample size for the initial batch. initial_batch_sample_percentage is used by default.
FollowingBatchSampleSize
Decides sample size for the following batches. following_batch_sample_percentage is used by default.