get_shap_values: Internal function for calculating Shapley Values

Description Usage Arguments Value

View source: R/plots.R

Description

Internal function for calculating Shapley Values

Usage

1
get_shap_values(explainer, observation, params)

Arguments

explainer

Explainer created using DALEX::explain

observation

One row data frame observation to calculate Shapley Values

params

Params from arena object

Value

Plot data in Arena's format


arenar documentation built on Oct. 23, 2020, 8:03 p.m.