GetTrainingPredictions: Retrieve training predictions on a specified data set.

Description Usage Arguments Examples

View source: R/TrainingPredictions.R

Description

Training predictions are the internal out-of-fold predictions for data that was used to train the model. These predictions are especially useful for creating stacked models or blenders.

Usage

1
GetTrainingPredictions(project, predictionId)

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.

predictionId

character. ID of the prediction to retrieve training predictions for.

Examples

1
2
3
4
5
6
7
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  predictions <- ListTrainingPredictions(projectId)
  predictionId <- predictions[[1]]$id
  trainingPredictions <- GetTrainingPredictions(projectId, predictionId)

## End(Not run)

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