Learn R Programming

TUvalues (version 0.1.0)

shapley_exact: Shapley value (exact)

Description

Calculate the exact Shapley value

Usage

shapley_exact(characteristic_func, n_players)

Value

The Shapley value for each player

Arguments

characteristic_func

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

n_players

The number of players