Learn R Programming

datarobot (version 2.8.0)

GetAllLiftCharts: Retrieve lift chart data for a model for all available data partitions (see DataPartition)

Description

Retrieve lift chart data for a model for all available data partitions (see DataPartition)

Usage

GetAllLiftCharts(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

data.frame with the following components:

  • binWeight. Numeric: weight of the bin. For weighted projects, the sum of the weights of all rows in the bin; otherwise, the number of rows in the bin.

  • actual. Numeric: sum of actual target values in bin.

  • predicted. Numeric: sum of predicted target values in bin.

Examples

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

Run the code above in your browser using DataLab