Module Smaws_Client_MachineLearning.CreateMLModel

Creates a new MLModel using the DataSource and the recipe as information sources.

An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel.

CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED.

You can use the GetMLModel operation to check the progress of the MLModel during the creation operation.

CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations.

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_ml_model_input -> (Types.create_ml_model_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
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_ml_model_input -> (Types.create_ml_model_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `IdempotentParameterMismatchException of Types.idempotent_parameter_mismatch_exception | `InternalServerException of Types.internal_server_exception | `InvalidInputException of Types.invalid_input_exception ] * Smaws_Lib.Response.metadata) Stdlib.result