Learn R Programming

datarobot (version 2.18.6)

RequestTrainingPredictions: Request training predictions for a specific model.

Description

Request training predictions for a specific model.

Usage

RequestTrainingPredictions(model, dataSubset)

Value

job Id

Arguments

model

An S3 object of class dataRobotModel like that returned by the function GetModel, or each element of the list returned by the function ListModels.

dataSubset

character. What data subset would you like to predict on? Possible options are included in DataSubset. Possible options are:

  • DataSubset$All will use all available data.

  • DataSubset$ValidationAndHoldout will use all data except the training set.

  • DataSubset$Holdout will use only holdout data.

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  RequestTrainingPredictions(model, dataSubset = DataSubset$All)
}

Run the code above in your browser using DataLab