GetTrainingPredictions: Retrieve training predictions on a specified data set.

View source: R/TrainingPredictions.R

GetTrainingPredictionsR Documentation

Retrieve training predictions on a specified data set.

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

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

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  predictions <- ListTrainingPredictions(projectId)
  predictionId <- predictions[[1]]$id
  trainingPredictions <- GetTrainingPredictions(projectId, predictionId)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.