ScoreBacktests: Compute the scores for all available backtests.

Description Usage Arguments Value Examples

View source: R/Models.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  ScoreBacktests(model)

## End(Not run)

datarobot documentation built on June 2, 2021, 9:06 a.m.