GetPredictionExplanationsInitialization: Retrieve the prediction explanations initialization for a...

View source: R/PredictionExplanations.R

GetPredictionExplanationsInitializationR Documentation

Retrieve the prediction explanations initialization for a model.

Description

Prediction explanations initializations are a prerequisite for computing prediction explanations, and include a sample what the computed prediction explanations for a prediction dataset would look like.

Usage

GetPredictionExplanationsInitialization(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 belongs to.

  • modelId character. The unique alphanumeric model identifier.

  • predictionExplanationsSample list. List with sample of prediction explanations. Each element of the list is information about prediction explanations for one data row. For more information see GetPredictionExplanationsRows.

Examples

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

## End(Not run)

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