First, serialize model object to pickle and save to disk, then uploads it to cloud.
1 2 3 4 5 6 7 8 | save_model(
model,
model_path = "models/",
model_name = glue::glue("auto_model_{strftime(start_time, \"%Y-%m-%d--%H-%M-%S\")}.rds"),
container_url = "https://storageaccountcsapp9d08.blob.core.windows.net/",
key = Sys.getenv("STORAGE_ACCOUNT_KEY")
)
|
key |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.