Skip to content

/AWS1/IF_GLU=>STRTMLLABELINGSETGENERATIO00()

About StartMLLabelingSetGenerationTaskRun

Starts the active learning workflow for your machine learning transform to improve the transform's quality by generating label sets and adding labels.

When the StartMLLabelingSetGenerationTaskRun finishes, Glue will have generated a "labeling set" or a set of questions for humans to answer.

In the case of the FindMatches transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?”

After the labeling process is finished, you can upload your labels with a call to StartImportLabelsTaskRun. After StartImportLabelsTaskRun finishes, all future runs of the machine learning transform will use the new and improved labels and perform a higher-quality transformation.

Note: The role used to write the generated labeling set to the OutputS3Path is the role associated with the Machine Learning Transform, specified in the CreateMLTransform API.

Method Signature

METHODS /AWS1/IF_GLU~STRTMLLABELINGSETGENERATIO00
  IMPORTING
    !IV_TRANSFORMID TYPE /AWS1/GLUHASHSTRING OPTIONAL
    !IV_OUTPUTS3PATH TYPE /AWS1/GLUURISTRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glustrtmllabelingse01
  RAISING
    /AWS1/CX_GLUCONCURRENTRUNSEX00
    /AWS1/CX_GLUENTITYNOTFOUNDEX
    /AWS1/CX_GLUINTERNALSERVICEEX
    /AWS1/CX_GLUINVALIDINPUTEX
    /AWS1/CX_GLUOPERATIONTIMEOUTEX
    /AWS1/CX_GLUCLIENTEXC
    /AWS1/CX_GLUSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_transformid TYPE /AWS1/GLUHASHSTRING /AWS1/GLUHASHSTRING

The unique identifier of the machine learning transform.

iv_outputs3path TYPE /AWS1/GLUURISTRING /AWS1/GLUURISTRING

The Amazon Simple Storage Service (Amazon S3) path where you generate the labeling set.

RETURNING

oo_output TYPE REF TO /aws1/cl_glustrtmllabelingse01 /AWS1/CL_GLUSTRTMLLABELINGSE01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->strtmllabelingsetgeneratio00(
  iv_outputs3path = |string|
  iv_transformid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_hashstring = lo_result->get_taskrunid( ).
ENDIF.