Class: Aws::SageMaker::Types::AnnotationConsolidationConfig

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass AnnotationConsolidationConfig data as a hash:

{
  annotation_consolidation_lambda_arn: "LambdaFunctionArn", # required
}

Configures how labels are consolidated across human workers.

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_consolidation_lambda_arnString

The Amazon Resource Name (ARN) of a Lambda function implements the logic for annotation consolidation.

For the built-in bounding box, image classification, semantic segmentation, and text classification task types, Amazon SageMaker Ground Truth provides the following Lambda functions:

  • *Bounding box* - Finds the most similar boxes from different workers based on the Jaccard index of the boxes.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox`

  • *Image classification* - Uses a variant of the Expectation Maximization approach to estimate the true class of an image based on annotations from individual workers.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass`

  • *Semantic segmentation* - Treats each pixel in an image as a multi-class classification and treats pixel annotations from workers as “votes” for the correct label.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation`

  • *Text classification* - Uses a variant of the Expectation Maximization approach to estimate the true class of text based on annotations from individual workers.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass`

  • *Named entity recognition* - Groups similar selections and calculates aggregate boundaries, resolving to most-assigned label.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition`

  • *Bounding box verification* - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgement for bounding box labels based on annotations from individual workers.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox`

  • *Semantic segmentation verification* - Uses a variant of the Expectation Maximization approach to estimate the true class of verification judgement for semantic segmentation labels based on annotations from individual workers.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation`

  • *Bounding box adjustment* - Finds the most similar boxes from different workers based on the Jaccard index of the adjusted annotations.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox`

  • *Semantic segmentation adjustment* - Treats each pixel in an image as a multi-class classification and treats pixel adjusted annotations from workers as “votes” for the correct label.

    ‘arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation`

    ‘arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation`

For more information, see [Annotation Consolidation].

[1]: docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html



743
744
745
746
# File 'lib/aws-sdk-sagemaker/types.rb', line 743

class AnnotationConsolidationConfig < Struct.new(
  :annotation_consolidation_lambda_arn)
  include Aws::Structure
end