GetRocCurve: Retrieve ROC curve data for a model for a particular data...

Description Usage Arguments Value Examples

View source: R/RocCurve.R

Description

Retrieve ROC curve data for a model for a particular data partition (see DataPartition)

Usage

1
2
3
4
5
GetRocCurve(
  model,
  source = DataPartition$VALIDATION,
  fallbackToParentInsights = FALSE
)

Arguments

model

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

source

character. The data partition for which data would be returned. Default is DataPartition$VALIDATION. See DataPartition for details.

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

list with the following components:

Examples

1
2
3
4
5
6
7
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  modelId <- "5996f820af07fc605e81ead4"
  model <- GetModel(projectId, modelId)
  GetRocCurve(model)

## End(Not run)

datarobot documentation built on June 2, 2021, 9:06 a.m.