Create Dockerfile From Saved Model Object
1 2 3 4 5 6 7 8 | createDockerfile(
model_file_location,
required_packages = c("forecast"),
plumber_template_location = file.path(path.package("vertaReticulateClient"),
"plumber_sample.R", additional_objects_file_location = "additional_objects.RData"),
runner_template_location = file.path(path.package("vertaReticulateClient"),
"to_run.R")
)
|
model_file_location |
location of the model file |
required_packages |
required packages to hold |
plumber_template_location |
location to the plumber api script, by default the one from the package is used. Leave it as-is. |
runner_template_location |
location of the runner template script, by default the one from the package distribution is used. Leave as is, normally. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.