/AWS1/IF_GLU=>UPDATEMLTRANSFORM()¶
About UpdateMLTransform¶
Updates an existing machine learning transform. Call this operation to tune the algorithm parameters to achieve better results.
After calling this operation, you can call the StartMLEvaluationTaskRun
operation to assess how well your new parameters achieved your goals (such as improving the
quality of your machine learning transform, or making it more cost-effective).
Method Signature¶
METHODS /AWS1/IF_GLU~UPDATEMLTRANSFORM
IMPORTING
!IV_TRANSFORMID TYPE /AWS1/GLUHASHSTRING OPTIONAL
!IV_NAME TYPE /AWS1/GLUNAMESTRING OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/GLUDESCRIPTIONSTRING OPTIONAL
!IO_PARAMETERS TYPE REF TO /AWS1/CL_GLUTRANSFORMPARAMS OPTIONAL
!IV_ROLE TYPE /AWS1/GLUROLESTRING OPTIONAL
!IV_GLUEVERSION TYPE /AWS1/GLUGLUEVERSIONSTRING OPTIONAL
!IV_MAXCAPACITY TYPE /AWS1/RT_DOUBLE_AS_STRING OPTIONAL
!IV_WORKERTYPE TYPE /AWS1/GLUWORKERTYPE OPTIONAL
!IV_NUMBEROFWORKERS TYPE /AWS1/GLUNULLABLEINTEGER OPTIONAL
!IV_TIMEOUT TYPE /AWS1/GLUTIMEOUT OPTIONAL
!IV_MAXRETRIES TYPE /AWS1/GLUNULLABLEINTEGER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gluupdmltransformrsp
RAISING
/AWS1/CX_GLUACCESSDENIEDEX
/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¶
A unique identifier that was generated when the transform was created.
Optional arguments:¶
iv_name TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING¶
The unique name that you gave the transform when you created it.
iv_description TYPE /AWS1/GLUDESCRIPTIONSTRING /AWS1/GLUDESCRIPTIONSTRING¶
A description of the transform. The default is an empty string.
io_parameters TYPE REF TO /AWS1/CL_GLUTRANSFORMPARAMS /AWS1/CL_GLUTRANSFORMPARAMS¶
The configuration parameters that are specific to the transform type (algorithm) used. Conditionally dependent on the transform type.
iv_role TYPE /AWS1/GLUROLESTRING /AWS1/GLUROLESTRING¶
The name or Amazon Resource Name (ARN) of the IAM role with the required permissions.
iv_glueversion TYPE /AWS1/GLUGLUEVERSIONSTRING /AWS1/GLUGLUEVERSIONSTRING¶
This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
iv_maxcapacity TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
When the
WorkerTypefield is set to a value other thanStandard, theMaxCapacityfield is set automatically and becomes read-only.
iv_workertype TYPE /AWS1/GLUWORKERTYPE /AWS1/GLUWORKERTYPE¶
The type of predefined worker that is allocated when this task runs. Accepts a value of Standard, G.1X, or G.2X.
For the
Standardworker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.For the
G.1Xworker type, each worker provides 4 vCPU, 16 GB of memory and a 64GB disk, and 1 executor per worker.For the
G.2Xworker type, each worker provides 8 vCPU, 32 GB of memory and a 128GB disk, and 1 executor per worker.
iv_numberofworkers TYPE /AWS1/GLUNULLABLEINTEGER /AWS1/GLUNULLABLEINTEGER¶
The number of workers of a defined
workerTypethat are allocated when this task runs.
iv_timeout TYPE /AWS1/GLUTIMEOUT /AWS1/GLUTIMEOUT¶
The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours).
iv_maxretries TYPE /AWS1/GLUNULLABLEINTEGER /AWS1/GLUNULLABLEINTEGER¶
The maximum number of times to retry a task for this transform after a task run fails.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gluupdmltransformrsp /AWS1/CL_GLUUPDMLTRANSFORMRSP¶
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->updatemltransform(
io_parameters = new /aws1/cl_glutransformparams(
io_findmatchesparameters = new /aws1/cl_glufindmatchesparams(
iv_accuracycosttradeoff = '0.1'
iv_enforceprovidedlabels = ABAP_TRUE
iv_precisionrecalltradeoff = '0.1'
iv_primarykeycolumnname = |string|
)
iv_transformtype = |string|
)
iv_description = |string|
iv_glueversion = |string|
iv_maxcapacity = |0.1|
iv_maxretries = 123
iv_name = |string|
iv_numberofworkers = 123
iv_role = |string|
iv_timeout = 123
iv_transformid = |string|
iv_workertype = |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_transformid( ).
ENDIF.