Learn R Programming

datarobot (version 2.8.0)

GetReasonCodesMetadataFromJobId: Retrieve the reason codes metadata for a model using jobId

Description

Retrieve the reason codes metadata for a model using jobId

Usage

GetReasonCodesMetadataFromJobId(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 RequestReasonCodes).

maxWait

Integer, The maximum time (in seconds) to wait for the model job to complete.

Value

A named list which contains reason code metadata. For more information see GetReasonCodesMetadata.

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  datasets <- ListPredictionDatasets(projectId)
  dataset <- datasets[[1]]
  datasetId <- dataset$id
  model <- GetModel(model, datasetId)
  jobId <- RequestReasonCodes(model, datasetId)
  GetReasonCodesMetadataFromJobId(projectId, jobId)
# }

Run the code above in your browser using DataLab