datarobot (version 2.16.0)

UploadTransferrableModel: Import a previously exported model for predictions.

Description

Import a previously exported model for predictions.

Usage

UploadTransferrableModel(modelFile, maxWait = 600)

Arguments

modelFile

character. Path to binary transferrable model file.

maxWait

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

Value

A list describing uploaded transferrable 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.

Examples

Run this code
# NOT RUN {
  UploadTransferrableModel("model.drmodel")
# }

Run the code above in your browser using DataLab