Learn R Programming

datarobot (version 2.14.2)

CrossValidateModel: Run cross validation on a model.

Description

Note that this runs cross validation on a model as-is. If you would like to run cross-validation on a model with new parameters, use RequestNewModel instead.

Usage

CrossValidateModel(model)

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.

Value

Job ID of the cross validation job.

Details

Note that this is not implemented for prime models or datetime models.

Examples

Run this code
# NOT RUN {
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  CrossValidateModel(model)
# }

Run the code above in your browser using DataLab