Description Usage Arguments Value Examples See Also
Register a model for operationalization.
1 2 3 4 5 6 7 8 9 10 11 12 |
run |
The |
model_name |
The name of the model. |
model_path |
The relative cloud path to the model, for example,
"outputs/modelname". When not specified, |
tags |
A dictionary of key value tags to assign to the model. |
properties |
A dictionary of key value properties to assign to the model. These properties cannot be changed after model creation, however new key-value pairs can be added. |
description |
An optional description of the model. |
datasets |
A list of two-element lists where the first element is the
dataset-model relationship and the second is the corresponding dataset, e.g.
|
sample_input_dataset |
Sample input dataset for the registered model. |
sample_output_dataset |
Sample output dataset for the registered model. |
resource_configuration |
'ResourceConfigurationā object to run the registered model. |
The registered Model.
1 2 3 4 5 6 7 | registered_model <- register_model_from_run(run = run,
model_name = "my model",
model_path = 'outputs/model.rds',
tags = list("version" = "0"),
datasets = list(list("training", train_dataset),
list("validation", validation_dataset)),
resource_configuration = resource_configuration(2, 2, 0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.