/AWS1/CL_ML_MLMODEL¶
Represents the output of a GetMLModel operation.
The content consists of the detailed metadata and the current status of the MLModel.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_mlmodelid TYPE /AWS1/ML_ENTITYID /AWS1/ML_ENTITYID¶
The ID assigned to the
MLModelat creation.
iv_trainingdatasourceid TYPE /AWS1/ML_ENTITYID /AWS1/ML_ENTITYID¶
The ID of the training
DataSource. TheCreateMLModeloperation uses theTrainingDataSourceId.
iv_createdbyiamuser TYPE /AWS1/ML_AWSUSERARN /AWS1/ML_AWSUSERARN¶
The AWS user account from which the
MLModelwas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
iv_createdat TYPE /AWS1/ML_EPOCHTIME /AWS1/ML_EPOCHTIME¶
The time that the
MLModelwas created. The time is expressed in epoch time.
iv_lastupdatedat TYPE /AWS1/ML_EPOCHTIME /AWS1/ML_EPOCHTIME¶
The time of the most recent edit to the
MLModel. The time is expressed in epoch time.
iv_name TYPE /AWS1/ML_MLMODELNAME /AWS1/ML_MLMODELNAME¶
A user-supplied name or description of the
MLModel.
iv_status TYPE /AWS1/ML_ENTITYSTATUS /AWS1/ML_ENTITYSTATUS¶
The current status of an
MLModel. This element can have one of the following values:
PENDING- Amazon Machine Learning (Amazon ML) submitted a request to create anMLModel.
INPROGRESS- The creation process is underway.
FAILED- The request to create anMLModeldidn't run to completion. The model isn't usable.
COMPLETED- The creation process completed successfully.
DELETED- TheMLModelis marked as deleted. It isn't usable.
iv_sizeinbytes TYPE /AWS1/ML_LONGTYPE /AWS1/ML_LONGTYPE¶
Long integer type that is a 64-bit signed number.
io_endpointinfo TYPE REF TO /AWS1/CL_ML_REALTIMEENDPTINFO /AWS1/CL_ML_REALTIMEENDPTINFO¶
The current endpoint of the
MLModel.
it_trainingparameters TYPE /AWS1/CL_ML_TRAININGPARAMS_W=>TT_TRAININGPARAMETERS TT_TRAININGPARAMETERS¶
A list of the training parameters in the
MLModel. The list is implemented as a map of key-value pairs.The following is the current set of training parameters:
sgd.maxMLModelSizeInBytes- The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.The value is an integer that ranges from
100000to2147483648. The default value is33554432.
sgd.maxPasses- The number of times that the training process traverses the observations to build theMLModel. The value is an integer that ranges from1to10000. The default value is10.
sgd.shuffleType- Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values areautoandnone. The default value isnone.
sgd.l1RegularizationAmount- The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as1.0E-08.The value is a double that ranges from
0toMAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used whenL2is specified. Use this parameter sparingly.
sgd.l2RegularizationAmount- The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as1.0E-08.The value is a double that ranges from
0toMAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used whenL1is specified. Use this parameter sparingly.
iv_inputdatalocations3 TYPE /AWS1/ML_S3URL /AWS1/ML_S3URL¶
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
iv_algorithm TYPE /AWS1/ML_ALGORITHM /AWS1/ML_ALGORITHM¶
The algorithm used to train the
MLModel. The following algorithm is supported:
SGD-- Stochastic gradient descent. The goal ofSGDis to minimize the gradient of the loss function.
iv_mlmodeltype TYPE /AWS1/ML_MLMODELTYPE /AWS1/ML_MLMODELTYPE¶
Identifies the
MLModelcategory. The following are the available types:
REGRESSION- Produces a numeric result. For example, "What price should a house be listed at?"
BINARY- Produces one of two possible results. For example, "Is this a child-friendly web site?".
MULTICLASS- Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".
iv_scorethreshold TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
ScoreThreshold
iv_scorethreshlastupdatedat TYPE /AWS1/ML_EPOCHTIME /AWS1/ML_EPOCHTIME¶
The time of the most recent edit to the
ScoreThreshold. The time is expressed in epoch time.
iv_message TYPE /AWS1/ML_MESSAGE /AWS1/ML_MESSAGE¶
A description of the most recent details about accessing the
MLModel.
iv_computetime TYPE /AWS1/ML_LONGTYPE /AWS1/ML_LONGTYPE¶
Long integer type that is a 64-bit signed number.
iv_finishedat TYPE /AWS1/ML_EPOCHTIME /AWS1/ML_EPOCHTIME¶
A timestamp represented in epoch time.
iv_startedat TYPE /AWS1/ML_EPOCHTIME /AWS1/ML_EPOCHTIME¶
A timestamp represented in epoch time.
Queryable Attributes¶
MLModelId¶
The ID assigned to the
MLModelat creation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MLMODELID() |
Getter for MLMODELID, with configurable default |
ASK_MLMODELID() |
Getter for MLMODELID w/ exceptions if field has no value |
HAS_MLMODELID() |
Determine if MLMODELID has a value |
TrainingDataSourceId¶
The ID of the training
DataSource. TheCreateMLModeloperation uses theTrainingDataSourceId.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRAININGDATASOURCEID() |
Getter for TRAININGDATASOURCEID, with configurable default |
ASK_TRAININGDATASOURCEID() |
Getter for TRAININGDATASOURCEID w/ exceptions if field has n |
HAS_TRAININGDATASOURCEID() |
Determine if TRAININGDATASOURCEID has a value |
CreatedByIamUser¶
The AWS user account from which the
MLModelwas created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDBYIAMUSER() |
Getter for CREATEDBYIAMUSER, with configurable default |
ASK_CREATEDBYIAMUSER() |
Getter for CREATEDBYIAMUSER w/ exceptions if field has no va |
HAS_CREATEDBYIAMUSER() |
Determine if CREATEDBYIAMUSER has a value |
CreatedAt¶
The time that the
MLModelwas created. The time is expressed in epoch time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
LastUpdatedAt¶
The time of the most recent edit to the
MLModel. The time is expressed in epoch time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTUPDATEDAT() |
Getter for LASTUPDATEDAT, with configurable default |
ASK_LASTUPDATEDAT() |
Getter for LASTUPDATEDAT w/ exceptions if field has no value |
HAS_LASTUPDATEDAT() |
Determine if LASTUPDATEDAT has a value |
Name¶
A user-supplied name or description of the
MLModel.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
Status¶
The current status of an
MLModel. This element can have one of the following values:
PENDING- Amazon Machine Learning (Amazon ML) submitted a request to create anMLModel.
INPROGRESS- The creation process is underway.
FAILED- The request to create anMLModeldidn't run to completion. The model isn't usable.
COMPLETED- The creation process completed successfully.
DELETED- TheMLModelis marked as deleted. It isn't usable.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
SizeInBytes¶
Long integer type that is a 64-bit signed number.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SIZEINBYTES() |
Getter for SIZEINBYTES, with configurable default |
ASK_SIZEINBYTES() |
Getter for SIZEINBYTES w/ exceptions if field has no value |
HAS_SIZEINBYTES() |
Determine if SIZEINBYTES has a value |
EndpointInfo¶
The current endpoint of the
MLModel.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDPOINTINFO() |
Getter for ENDPOINTINFO |
TrainingParameters¶
A list of the training parameters in the
MLModel. The list is implemented as a map of key-value pairs.The following is the current set of training parameters:
sgd.maxMLModelSizeInBytes- The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.The value is an integer that ranges from
100000to2147483648. The default value is33554432.
sgd.maxPasses- The number of times that the training process traverses the observations to build theMLModel. The value is an integer that ranges from1to10000. The default value is10.
sgd.shuffleType- Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values areautoandnone. The default value isnone.
sgd.l1RegularizationAmount- The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as1.0E-08.The value is a double that ranges from
0toMAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used whenL2is specified. Use this parameter sparingly.
sgd.l2RegularizationAmount- The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as1.0E-08.The value is a double that ranges from
0toMAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used whenL1is specified. Use this parameter sparingly.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRAININGPARAMETERS() |
Getter for TRAININGPARAMETERS, with configurable default |
ASK_TRAININGPARAMETERS() |
Getter for TRAININGPARAMETERS w/ exceptions if field has no |
HAS_TRAININGPARAMETERS() |
Determine if TRAININGPARAMETERS has a value |
InputDataLocationS3¶
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INPUTDATALOCATIONS3() |
Getter for INPUTDATALOCATIONS3, with configurable default |
ASK_INPUTDATALOCATIONS3() |
Getter for INPUTDATALOCATIONS3 w/ exceptions if field has no |
HAS_INPUTDATALOCATIONS3() |
Determine if INPUTDATALOCATIONS3 has a value |
Algorithm¶
The algorithm used to train the
MLModel. The following algorithm is supported:
SGD-- Stochastic gradient descent. The goal ofSGDis to minimize the gradient of the loss function.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALGORITHM() |
Getter for ALGORITHM, with configurable default |
ASK_ALGORITHM() |
Getter for ALGORITHM w/ exceptions if field has no value |
HAS_ALGORITHM() |
Determine if ALGORITHM has a value |
MLModelType¶
Identifies the
MLModelcategory. The following are the available types:
REGRESSION- Produces a numeric result. For example, "What price should a house be listed at?"
BINARY- Produces one of two possible results. For example, "Is this a child-friendly web site?".
MULTICLASS- Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MLMODELTYPE() |
Getter for MLMODELTYPE, with configurable default |
ASK_MLMODELTYPE() |
Getter for MLMODELTYPE w/ exceptions if field has no value |
HAS_MLMODELTYPE() |
Determine if MLMODELTYPE has a value |
ScoreThreshold¶
ScoreThreshold
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCORETHRESHOLD() |
Getter for SCORETHRESHOLD, with configurable default |
ASK_SCORETHRESHOLD() |
Getter for SCORETHRESHOLD w/ exceptions if field has no valu |
STR_SCORETHRESHOLD() |
String format for SCORETHRESHOLD, with configurable default |
HAS_SCORETHRESHOLD() |
Determine if SCORETHRESHOLD has a value |
ScoreThresholdLastUpdatedAt¶
The time of the most recent edit to the
ScoreThreshold. The time is expressed in epoch time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCORETHRESHLASTUPDATEDAT() |
Getter for SCORETHRESHOLDLASTUPDATEDAT, with configurable de |
ASK_SCORETHRESHLASTUPDATEDAT() |
Getter for SCORETHRESHOLDLASTUPDATEDAT w/ exceptions if fiel |
HAS_SCORETHRESHLASTUPDATEDAT() |
Determine if SCORETHRESHOLDLASTUPDATEDAT has a value |
Message¶
A description of the most recent details about accessing the
MLModel.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MESSAGE() |
Getter for MESSAGE, with configurable default |
ASK_MESSAGE() |
Getter for MESSAGE w/ exceptions if field has no value |
HAS_MESSAGE() |
Determine if MESSAGE has a value |
ComputeTime¶
Long integer type that is a 64-bit signed number.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMPUTETIME() |
Getter for COMPUTETIME, with configurable default |
ASK_COMPUTETIME() |
Getter for COMPUTETIME w/ exceptions if field has no value |
HAS_COMPUTETIME() |
Determine if COMPUTETIME has a value |
FinishedAt¶
A timestamp represented in epoch time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FINISHEDAT() |
Getter for FINISHEDAT, with configurable default |
ASK_FINISHEDAT() |
Getter for FINISHEDAT w/ exceptions if field has no value |
HAS_FINISHEDAT() |
Determine if FINISHEDAT has a value |
StartedAt¶
A timestamp represented in epoch time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTEDAT() |
Getter for STARTEDAT, with configurable default |
ASK_STARTEDAT() |
Getter for STARTEDAT w/ exceptions if field has no value |
HAS_STARTEDAT() |
Determine if STARTEDAT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_MLMODELS¶
TYPES TT_MLMODELS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ML_MLMODEL WITH DEFAULT KEY
.