View source: R/TransferableModels.R
RequestTransferableModel | R Documentation |
Requests generation of an transferable model file for use in an on-premise DataRobot standalone prediction environment. 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.
RequestTransferableModel(project, modelId, predictionIntervalSize = NULL)
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. |
predictionIntervalSize |
integer. Optional. Added in 2.19. For supervised time series projects, this is the desired prediction interval size for the exported model. A prediction interval is the range of values DataRobot expects actual values of the target to fall within 0 to 100 (inclusive). |
This function does not download the exported file. Use
DownloadTransferableModel
for that.
jobId
Other Transferable Model functions:
DeleteTransferableModel()
,
DownloadTransferableModel()
,
GetTransferableModel()
,
ListTransferableModels()
,
UpdateTransferableModel()
,
UploadTransferableModel()
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
jobId <- RequestTransferableModel(projectId,
modelId,
50)
WaitForJobToComplete(projectId, jobId)
file <- file.path(tempdir(), "model.drmodel")
DownloadTransferableModel(projectObject, modelId, file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.