shapley_exact: Shapley value (exact)

View source: R/shapley_exact.R

shapley_exactR Documentation

Shapley value (exact)

Description

Calculate the exact Shapley value

Usage

shapley_exact(characteristic_func, n_players)

Arguments

characteristic_func

The valued function defined on the subsets of the number of players

n_players

The number of players

Value

The Shapley value for each player


TUvalues documentation built on June 8, 2025, 10:50 a.m.