Learn R Programming

datarobot (version 2.18.6)

GetTrainingPredictionsFromJobId: Retrieve the training predictions for a model using a job id.

Description

Retrieve the training predictions for a model using a job id.

Usage

GetTrainingPredictionsFromJobId(project, jobId, maxWait = 600)

Value

A dataframe with out-of-fold predictions for the training data.

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

integer. Unique integer identifier (return for example by RequestPredictionExplanations).

maxWait

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

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  jobId <- RequestTrainingPredictions(model, dataSubset = "all")
  trainingPredictions <- GetTrainingPredictionsFromJobId(projectId, jobId)
}

Run the code above in your browser using DataLab