ScoreBacktests {datarobot}R Documentation

Compute the scores for all available backtests.

Description

Some backtests may be unavailable if the model is trained into their validation data.

Usage

ScoreBacktests(model, wait = FALSE)

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.

wait

logical. If TRUE, wait until job completion.

Value

job ID of pending job if wait is FALSE. Use WaitForJobToComplete to await job completion. If wait is TRUE, will wait until completion and return NULL. Upon completion, all available backtests will have scores computed.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  ScoreBacktests(model)

## End(Not run)

[Package datarobot version 2.18.6 Index]