DownloadTransferableModel: Download an transferable model file for use in an on-premise...

View source: R/TransferableModels.R

DownloadTransferableModelR Documentation

Download an transferable model file for use in an on-premise DataRobot standalone prediction environment.

Description

This function can only be used if model export is enabled, and will only be useful if you have an on-premise environment in which to import it.

Usage

DownloadTransferableModel(project, modelId, modelFile)

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

modelId

numeric. Unique alphanumeric identifier for the model of interest.

modelFile

character. File name to be use for transferable model

See Also

Other Transferable Model functions: DeleteTransferableModel(), GetTransferableModel(), ListTransferableModels(), RequestTransferableModel(), UpdateTransferableModel(), UploadTransferableModel()

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  file <- file.path(tempdir(), "model.drmodel")
  DownloadTransferableModel(projectId, modelId, file)

## End(Not run)

datarobot documentation built on Nov. 3, 2023, 1:07 a.m.