Learn R Programming

datarobot (version 2.14.2)

GetReasonCodesInitialization: Retrieve the reason codes initialization for a model (deprecated).

Description

Use GetPredictionExplanationsInitialization instead.

Usage

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

A named list which contains:

  • projectId. Character id of the project the feature belonges to.

  • modelId. Character string giving the unique alphanumeric model identifier.

  • reasonCodesSample. list which contains sample of reason codes. Each element of the list is information about reason codes for one data row. For more information see GetReasonCodesRows.

Examples

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

Run the code above in your browser using DataLab