AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateLabelingJob operation. Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.
You can select your workforce from one of three providers:
A private workforce that you create. It can include employees, contractors, and outside experts. Use a private workforce when want the data to stay within your organization or when a specific set of skills is required.
One or more vendors that you select from the Amazon Web Services Marketplace. Vendors provide expertise in specific areas.
The Amazon Mechanical Turk workforce. This is the largest workforce, but it should only be used for public data or data that has been stripped of any personally identifiable information.
You can also use automated data labeling to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses active learning to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see Using Automated Data Labeling.
The data objects to be labeled are contained in an Amazon S3 bucket. You create a manifest file that describes the location of each object. For more information, see Using Input and Output Data.
The output can be used as the manifest file for another labeling job or as training data for your machine learning models.
You can use this operation to create a static labeling job or a streaming labeling
job. A static labeling job stops if all data objects in the input manifest file identified
in ManifestS3Uri
have been labeled. A streaming labeling job runs perpetually
until it is manually stopped, or remains idle for 10 days. You can send new data objects
to an active (InProgress
) streaming labeling job in real time. To learn how
to create a static labeling job, see Create
a Labeling Job (API) in the Amazon SageMaker Developer Guide. To learn how to
create a streaming labeling job, see Create
a Streaming Labeling Job.
Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z
public class CreateLabelingJobRequest : AmazonSageMakerRequest IAmazonWebServiceRequest
The CreateLabelingJobRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateLabelingJobRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
HumanTaskConfig | Amazon.SageMaker.Model.HumanTaskConfig |
Gets and sets the property HumanTaskConfig. Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count). |
![]() |
InputConfig | Amazon.SageMaker.Model.LabelingJobInputConfig |
Gets and sets the property InputConfig. Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.
You must specify at least one of the following:
If you use the Amazon Mechanical Turk workforce, your input data should not include
confidential information, personal information or protected health information. Use
|
![]() |
LabelAttributeName | System.String |
Gets and sets the property LabelAttributeName.
The attribute name to use for the label in the output manifest file. This is the key
for the key/value pair formed with the label that a worker assigns to the object.
The
If you are creating an adjustment or verification labeling job, you must use a different
|
![]() |
LabelCategoryConfigS3Uri | System.String |
Gets and sets the property LabelCategoryConfigS3Uri. The S3 URI of the file, referred to as a label category configuration file, that defines the categories used to label the data objects. For 3D point cloud and video frame task types, you can add label category attributes and frame attributes to your label category configuration file. To learn how, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.
For named entity recognition jobs, in addition to Add
Instructions Add additional instructions.
For all other built-in
task types and custom
tasks, your label category configuration file must be a JSON file in the following
format. Identify the labels you want to use by replacing
Note the following about the label category configuration file:
|
![]() |
LabelingJobAlgorithmsConfig | Amazon.SageMaker.Model.LabelingJobAlgorithmsConfig |
Gets and sets the property LabelingJobAlgorithmsConfig. Configures the information required to perform automated data labeling. |
![]() |
LabelingJobName | System.String |
Gets and sets the property LabelingJobName.
The name of the labeling job. This name is used to identify the job in a list of labeling
jobs. Labeling job names must be unique within an Amazon Web Services account and
region. |
![]() |
OutputConfig | Amazon.SageMaker.Model.LabelingJobOutputConfig |
Gets and sets the property OutputConfig. The location of the output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any. |
![]() |
RoleArn | System.String |
Gets and sets the property RoleArn. The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling. |
![]() |
StoppingConditions | Amazon.SageMaker.Model.LabelingJobStoppingConditions |
Gets and sets the property StoppingConditions. A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling. |
![]() |
Tags | System.Collections.Generic.List<Amazon.SageMaker.Model.Tag> |
Gets and sets the property Tags. An array of key/value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5