View source: R/sagemaker_operations.R
sagemaker_create_labeling_job | R Documentation |
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.
See https://www.paws-r-sdk.com/docs/sagemaker_create_labeling_job/ for full documentation.
sagemaker_create_labeling_job(
LabelingJobName,
LabelAttributeName,
InputConfig,
OutputConfig,
RoleArn,
LabelCategoryConfigS3Uri = NULL,
StoppingConditions = NULL,
LabelingJobAlgorithmsConfig = NULL,
HumanTaskConfig,
Tags = NULL
)
LabelingJobName |
[required] 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. |
LabelAttributeName |
[required] 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 |
InputConfig |
[required] 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 |
OutputConfig |
[required] 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 |
[required] 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. |
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 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:
|
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. |
LabelingJobAlgorithmsConfig |
Configures the information required to perform automated data labeling. |
HumanTaskConfig |
[required] Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count). |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.