Create Ml Model
machinelearning_create_ml_model | R Documentation |
Creates a new MLModel using the DataSource and the recipe as information sources¶
Description¶
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
.
create_ml_model
is an asynchronous operation. In response to
create_ml_model
, 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 get_ml_model
operation to check the progress of the
MLModel
during the creation operation.
create_ml_model
requires a DataSource
with computed statistics,
which can be created by setting ComputeStatistics
to true
in
create_data_source_from_rds
, create_data_source_from_s3
, or
create_data_source_from_redshift
operations.
Usage¶
machinelearning_create_ml_model(MLModelId, MLModelName, MLModelType,
Parameters, TrainingDataSourceId, Recipe, RecipeUri)
Arguments¶
MLModelId |
[required] A user-supplied ID that uniquely identifies the
|
MLModelName |
A user-supplied name or description of the
|
MLModelType |
[required] The category of supervised learning that this
For more information, see the Amazon Machine Learning Developer Guide. |
Parameters |
A list of the training parameters in the The following is the current set of training parameters:
|
TrainingDataSourceId |
[required] The |
Recipe |
The data recipe for creating the |
RecipeUri |
The Amazon Simple Storage Service (Amazon S3) location and file
name that contains the |
Value¶
A list with the following syntax:
list(
MLModelId = "string"
)
Request syntax¶
svc$create_ml_model(
MLModelId = "string",
MLModelName = "string",
MLModelType = "REGRESSION"|"BINARY"|"MULTICLASS",
Parameters = list(
"string"
),
TrainingDataSourceId = "string",
Recipe = "string",
RecipeUri = "string"
)