GetPrimeModelFromJobId: Retrieve information about specified DataRobot Prime model...

View source: R/PrimeModels.R

GetPrimeModelFromJobIdR Documentation

Retrieve information about specified DataRobot Prime model using corresponding jobId.

Description

Retrieve information about specified DataRobot Prime model using corresponding jobId.

Usage

GetPrimeModelFromJobId(project, jobId, maxWait = 600)

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.

jobId

Unique integer identifier (return for example by RequestPrimeModel)

maxWait

maximum time to wait (in sec) before job completed

Value

list (classed as dataRobotPrimeModel) containing information about specified DataRobot Prime model.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- ListModelJobs(project)
  job <- initialJobs[[1]]
  modelJobId <- job$modelJobId
  GetPrimeModelFromJobId(projectId, modelJobId)

## End(Not run)

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