Learn R Programming

datarobot (version 2.18.6)

ScoreBacktests: 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)

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.

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.

Examples

Run this code
if (FALSE) {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  ScoreBacktests(model)
}

Run the code above in your browser using DataLab