compute_shapley: Compute Shapley values

View source: R/compute_estimates.R

compute_shapleyR Documentation

Compute Shapley values

Description

Compute Shapley values

Usage

compute_shapley(internal, dt_vS)

Arguments

internal

List. Holds all parameters, data, functions and computed objects used within explain() The list contains one or more of the elements parameters, data, objects, iter_list, timing_list, main_timing_list, output, and iter_timing_list.

dt_vS

The contribution matrix.

Value

A data.table with Shapley values for each test observation.


shapr documentation built on Aug. 25, 2025, 5:11 p.m.