Module Smaws_Client_MachineLearning.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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `IdempotentParameterMismatchException of Types.idempotent_parameter_mismatch_exception | `InternalServerException of Types.internal_server_exception | `InvalidInputException of Types.invalid_input_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_batch_prediction_input -> (Types.create_batch_prediction_output, [> Smaws_Lib.Protocols.AwsJson.error | `IdempotentParameterMismatchException of Types.idempotent_parameter_mismatch_exception | `InternalServerException of Types.internal_server_exception | `InvalidInputException of Types.invalid_input_exception ]) Stdlib.result