Learn R Programming

datarobot (version 2.18.6)

GetCrossValidationScores: Get cross validation scores

Description

Get cross validation scores

Usage

GetCrossValidationScores(model, partition = NULL, metric = NULL)

Value

A list of lists with cross validation score data. Each list contains a series of lists for each model metric. Each model metric list contains the metric data for each fold.

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.

partition

numeric. Optional. The ID of the partition to filter results by.

metric

character. Optional. The name of the metric to filter results by.

Examples

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

Run the code above in your browser using DataLab