shapley_appro: Shapley value (approximation)
Description
Calculate the approximated Shapley value based on sampling
Usage
shapley_appro(characteristic_func, n_players, n_rep)
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
- n_rep
The number of iterations to perform in the approximated
calculation