RequestTrainingPredictions: Request training predictions for a specific model.

View source: R/TrainingPredictions.R

RequestTrainingPredictionsR 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)

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