GetCrossValidationScores {datarobot}R Documentation

Get cross validation scores

Description

Get cross validation scores

Usage

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

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.

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.

Examples

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

## End(Not run)

[Package datarobot version 2.18.6 Index]