/AWS1/CL_ML=>CREATEBATCHPREDICTION()
¶
About CreateBatchPrediction¶
Generates predictions for a group of observations. The observations to process exist in one or more data files referenced
by a DataSource
. This operation creates a new BatchPrediction
, and uses an MLModel
and the data
files referenced by the DataSource
as information sources.
CreateBatchPrediction
is an asynchronous operation. In response to CreateBatchPrediction
,
Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction
status to PENDING
.
After the BatchPrediction
completes, Amazon ML sets the status to COMPLETED
.
You can poll for status updates by using the GetBatchPrediction operation and checking the Status
parameter of the result. After the COMPLETED
status appears,
the results are available in the location specified by the OutputUri
parameter.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_BATCHPREDICTIONID
TYPE /AWS1/ML_ENTITYID
/AWS1/ML_ENTITYID
¶
A user-supplied ID that uniquely identifies the
BatchPrediction
.
IV_MLMODELID
TYPE /AWS1/ML_ENTITYID
/AWS1/ML_ENTITYID
¶
The ID of the
MLModel
that will generate predictions for the group of observations.
IV_BATCHPREDICTIONDATASRCID
TYPE /AWS1/ML_ENTITYID
/AWS1/ML_ENTITYID
¶
The ID of the
DataSource
that points to the group of observations to predict.
IV_OUTPUTURI
TYPE /AWS1/ML_S3URL
/AWS1/ML_S3URL
¶
The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the
s3 key
portion of theoutputURI
field: ':', '//', '/./', '/../'.Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide.
Optional arguments:¶
IV_BATCHPREDICTIONNAME
TYPE /AWS1/ML_ENTITYNAME
/AWS1/ML_ENTITYNAME
¶
A user-supplied name or description of the
BatchPrediction
.BatchPredictionName
can only use the UTF-8 character set.