GetModelJob: Request information about a single model job

View source: R/ListModelJobs.R

GetModelJobR Documentation

Request information about a single model job

Description

Request information about a single model job

Usage

GetModelJob(project, modelJobId)

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.

modelJobId

Character string specifying the job id

Value

list with following elements:

  • status character. Model job status; an element of JobStatus, e.g. JobStatus$Queue.

  • processes list. List of character vectors describing any preprocessing applied.

  • projectId character. The unique identifier for the project.

  • modelId character. The unique identifier for the related model.

  • samplePct numeric. The percentage of the dataset used for model building.

  • trainingRowCount. Integer. The number of rows of the project dataset used in training the model.

  • modelType character. string specifying the model this job builds.

  • modelCategory character. What kind of model this is - prime for DataRobot Prime models, blend for blender models, and model for other models.

  • featurelistId character. Id of the featurelist used in fitting the model.

  • blueprintId character. Id of the DataRobot blueprint on which the model is based.

  • modelJobId character. Id of the job.

  • isBlocked logical. If TRUE, the job is blocked (cannot be executed) until its dependencies are resolved.

Examples

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

## End(Not run)

datarobot documentation built on Nov. 3, 2023, 1:07 a.m.