UploadTransferableModel: Import a previously exported model for predictions.

View source: R/TransferableModels.R

UploadTransferableModelR Documentation

Import a previously exported model for predictions.

Description

Import a previously exported model for predictions.

Usage

UploadTransferableModel(modelFile, maxWait = 600)

Arguments

modelFile

character. Path to binary transferable model file.

maxWait

integer. Specifies how many seconds to wait for upload to finish.

Value

A list describing uploaded transferable model with the following components:

  • note. Character string Manually added node about this imported model.

  • datasetName. Character string Filename of the dataset used to create the project the model belonged to.

  • modelName. Character string Model type describing the model generated by DataRobot.

  • displayName. Character string Manually specified human-readable name of the imported model.

  • target. Character string The target of the project the model belonged to prior to export.

  • projectName. Character string Name of the project the model belonged to prior to export.

  • importedByUsername. Character string Username of the user who imported the model.

  • importedAt. Character string The time the model was imported.

  • version. Numeric Project version of the project the model belonged to.

  • projectId. Character id of the project the model belonged to prior to export.

  • featurelistName. Character string Name of the featurelist used to train the model.

  • createdByUsername. Character string Username of the user who created the model prior to export.

  • importedById. Character string id of the user who imported the model.

  • id. Character string id of the import.

  • createdById. Character string id of the user who created the model prior to export.

  • modelId. Character string original id of the model prior to export.

  • originUrl. Character string URL.

See Also

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

Examples

## Not run: 
  UploadTransferableModel("model.drmodel")

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.