GetModelObject: Retrieve the details of a specified model

Description Usage Arguments Details Value Examples

View source: R/Models.R

Description

This function returns a DataRobot S3 object of class dataRobotModel for the model defined by project and modelId.

Usage

1
GetModelObject(project, modelId)

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

character. Unique alphanumeric identifier for the model of interest.

Details

The S3 object returned by this function is required by the functions DeleteModel, ListModelFeatures, and RequestSampleSizeUpdate.

Value

An S3 object of class ‘dataRobotModel’, which is a list with the following components:

Examples

1
2
3
4
5
6
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  GetModelObject(projectId, modelId)

## End(Not run)

datarobot documentation built on Sept. 21, 2017, 1:05 a.m.