ListConfusionCharts: Returns all available confusion charts for the model.

View source: R/ConfusionChart.R

ListConfusionChartsR Documentation

Returns all available confusion charts for the model.

Description

Note that the confusion chart for source = "crossValidation" will not be available unless cross validation has been run for that model. Also, the confusion chart for source = "holdout" will not be available unless the holdout has been unlocked for the project.

Usage

ListConfusionCharts(model, fallbackToParentInsights = FALSE)

Arguments

model

dataRobotModel. A DataRobot model object like that returned by GetModel.

fallbackToParentInsights

logical. If TRUE, this will return the lift chart data for the model's parent if the lift chart is not available for the model and the model has a parent model.

Value

A list of all confusion charts for the model, one for each partition type found in DataPartition.

Examples

## Not run: 
  modelId <- "5996f820af07fc605e81ead4"
  ListConfusionCharts(modelId)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.