RequestTrainingPredictions {datarobot}R Documentation

Request training predictions for a specific model.

Description

Request training predictions for a specific model.

Usage

RequestTrainingPredictions(model, dataSubset)

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.

Value

job Id

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  RequestTrainingPredictions(model, dataSubset = DataSubset$All)

## End(Not run)

[Package datarobot version 2.18.6 Index]