Learn R Programming

datarobot (version 2.18.6)

DownloadTrainingPredictions: Download training predictions on a specified data set.

Description

Download training predictions on a specified data set.

Usage

DownloadTrainingPredictions(
  project,
  predictionId,
  filename,
  encoding = "UTF-8"
)

Value

NULL, but will produce a CSV with 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.

predictionId

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

filename

character. Filename of file to save reason codes rows

encoding

character. Optional. Character string A string representing the encoding to use in the output file, defaults to 'UTF-8'.

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  predictions <- ListTrainingPredictions(projectId)
  predictionId <- predictions[[1]]$predictionId
  file <- file.path(tempdir(), "myTrainingPredictions.csv")
  DownloadTrainingPredictions(projectId, predictionId, file)
}

Run the code above in your browser using DataLab