Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

download_model

Download a model to the local file system


Description

Download a registered model to the target_dir of your local file system.

Usage

download_model(model, target_dir = ".", exist_ok = FALSE)

Arguments

model

The Model object.

target_dir

A string of the path to the directory on your local file system for where to download the model to. Defaults to ".".

exist_ok

If FALSE, replace the downloaded folder/file if they already exist.

Value

A string of the path to the file or folder of the downloaded model.

Examples

## Not run: 
ws <- load_workspace_from_config()
model <- get_model(ws, name = "my_model", version = 2)
download_model(model, target_dir = tempdir(), exist_ok = TRUE)

## End(Not run)

azuremlsdk

Interface to the 'Azure Machine Learning' 'SDK'

v1.10.0
MIT + file LICENSE
Authors
Diondra Peck [cre, aut], Minna Xiao [aut], AzureML R SDK Team [ctb], Microsoft [cph, fnd], Google Inc. [cph] (Examples and Tutorials), The TensorFlow Authors [cph] (Examples and Tutorials), RStudio Inc. [cph] (Examples and Tutorials)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.