GetPredictJob: Request information about a predict job

Description Usage Arguments Value Examples

View source: R/GetPredictJobs.R

Description

Request information about a predict job

Usage

1
GetPredictJob(project, predictJobId)

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.

predictJobId

Character string specifying the job id

Value

list with following elements:

status

Prediction job status; an element of JobStatus, e.g. JobStatus$Queue

predictJobId

Character string specifying the job id

modelId

Character string specifying the model from which predictions have been requested

projectId

Character string specifying the project that contains the model

Examples

1
2
3
4
5
6
7
8
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- GetPredictJobs(project)
  job <- initialJobs[[1]]
  predictJobId <- job$predictJobId
  GetPredictJob(projectId, predictJobId)

## End(Not run)

datarobot documentation built on June 2, 2021, 9:06 a.m.