shapley_numba
Getting Started
Shapley Numba
Installation
Dependencies
Features
Quickstart
Usage
Credits
Alternatives
Concepts
Concepts
Table of Contents
Theoretical Concepts
Implementation Concepts
Theoretical concepts
Cooperative games
Example of cooperative game - “glove market”
Shapley Value
Computational Complexity
Harsanyi Dividends
References
Implementation Concepts of
shapley_numba
Coalition or subset
numba-game
Notebooks
Notebooks
01 Shapley numba tutorial
02 Black Scholes game.
03 “Dual” game
04 Airport game
Example from Wikipedia
Implement with
shapley-numba
05 Unanimity games
Shapley for unanimity games
Harsanyi dividends and unanimity games
The connection between unanimity games and Harsanyi Dividends.
Airport game as sum of unanimity games
06 Comparison with SHAP
Performance comparison
API Reference
API Reference
Core Modules
Utilities
Examples
Full Module Documentation
shapley_numba package
Subpackages
Core Computational Modules
shapley_numba.common module
shapley_numba.core module
shapley_numba.game_templates module
shapley_numba.harsanyi module
shapley_numba.harsanyi_naive module
shapley_numba.shapley module
shapley_numba.tools module
Module contents
shapley_numba
Index
Edit on GitLab
Index
_
|
A
|
B
|
C
|
D
|
G
|
H
|
J
|
M
|
N
|
O
|
P
|
S
|
T
|
U
|
V
|
W
_
__init__() (shapley_numba.examples.AirPortGame method)
(shapley_numba.examples.CoalitionGame method)
(shapley_numba.examples.finance.BlackScholesCallGame method)
(shapley_numba.examples.games.AirPortGame method)
(shapley_numba.examples.games.CoalitionGame method)
(shapley_numba.examples.games.GloveGame method)
(shapley_numba.examples.games.WikipediaExample method)
(shapley_numba.examples.GloveGame method)
(shapley_numba.examples.UnanimityGame method)
(shapley_numba.examples.WikipediaExample method)
(shapley_numba.game_templates.ParameterChangeExplanation method)
(shapley_numba.game_templates.TableGame method)
(shapley_numba.GameProtocol method)
(shapley_numba.harsanyi.HarsanyiDividends method)
(shapley_numba.ShapleyNumbaGameProtocol method)
(shapley_numba.typing.GameProtocol method)
(shapley_numba.typing.ShapleyNumbaGameProtocol method)
A
add_subset_size() (in module shapley_numba.common)
AirPortGame (class in shapley_numba.examples)
(class in shapley_numba.examples.games)
B
BlackScholesCallGame (class in shapley_numba.examples.finance)
C
CoalitionGame (class in shapley_numba.examples)
(class in shapley_numba.examples.games)
CoalitionType (in module shapley_numba.typing)
combs() (in module shapley_numba.common)
combs_jit() (in module shapley_numba.common)
D
dual_game() (in module shapley_numba.tools)
G
game (shapley_numba.examples.AirPortGame attribute)
(shapley_numba.examples.CoalitionGame attribute)
(shapley_numba.examples.GloveGame attribute)
(shapley_numba.examples.WikipediaExample attribute)
(shapley_numba.ShapleyNumbaGameProtocol attribute)
,
[1]
(shapley_numba.typing.ShapleyNumbaGameProtocol attribute)
,
[1]
GameProtocol (class in shapley_numba)
(class in shapley_numba.typing)
GameSpecType (in module shapley_numba.typing)
GloveGame (class in shapley_numba.examples)
(class in shapley_numba.examples.games)
H
harsanyi_dividends() (in module shapley_numba.harsanyi_naive)
HarsanyiDividends (class in shapley_numba.harsanyi)
has_jitted_game() (in module shapley_numba.core)
J
jitted_class (shapley_numba.examples.AirPortGame attribute)
(shapley_numba.examples.CoalitionGame attribute)
(shapley_numba.examples.finance.BlackScholesCallGame attribute)
(shapley_numba.examples.games.AirPortGame attribute)
(shapley_numba.examples.games.CoalitionGame attribute)
(shapley_numba.examples.games.GloveGame attribute)
(shapley_numba.examples.games.WikipediaExample attribute)
(shapley_numba.examples.GloveGame attribute)
(shapley_numba.examples.UnanimityGame attribute)
(shapley_numba.examples.WikipediaExample attribute)
(shapley_numba.game_templates.TableGame attribute)
jitted_game (shapley_numba.examples.AirPortGame attribute)
(shapley_numba.examples.CoalitionGame attribute)
(shapley_numba.examples.GloveGame attribute)
(shapley_numba.examples.WikipediaExample attribute)
(shapley_numba.ShapleyNumbaGameProtocol attribute)
,
[1]
(shapley_numba.typing.ShapleyNumbaGameProtocol attribute)
,
[1]
M
mask_to_subset() (in module shapley_numba.common)
model_evaluate() (shapley_numba.game_templates.ParameterChangeExplanation method)
module
shapley_numba
shapley_numba.common
shapley_numba.core
shapley_numba.examples
shapley_numba.examples.finance
shapley_numba.examples.games
shapley_numba.game_templates
shapley_numba.harsanyi
shapley_numba.harsanyi_naive
shapley_numba.shapley
shapley_numba.tools
shapley_numba.typing
N
num_left_gloves (shapley_numba.examples.games.GloveGame attribute)
(shapley_numba.examples.GloveGame attribute)
numba_game() (in module shapley_numba)
(in module shapley_numba.core)
numba_game_func() (in module shapley_numba.core)
O
original_class (shapley_numba.examples.AirPortGame attribute)
(shapley_numba.examples.CoalitionGame attribute)
(shapley_numba.examples.finance.BlackScholesCallGame attribute)
(shapley_numba.examples.games.AirPortGame attribute)
(shapley_numba.examples.games.CoalitionGame attribute)
(shapley_numba.examples.games.GloveGame attribute)
(shapley_numba.examples.games.WikipediaExample attribute)
(shapley_numba.examples.GloveGame attribute)
(shapley_numba.examples.UnanimityGame attribute)
(shapley_numba.examples.WikipediaExample attribute)
(shapley_numba.game_templates.TableGame attribute)
P
ParameterChangeExplanation (class in shapley_numba.game_templates)
S
shapley() (in module shapley_numba.shapley)
shapley_numba
module
shapley_numba.common
module
shapley_numba.core
module
shapley_numba.examples
module
shapley_numba.examples.finance
module
shapley_numba.examples.games
module
shapley_numba.game_templates
module
shapley_numba.harsanyi
module
shapley_numba.harsanyi_naive
module
shapley_numba.shapley
module
shapley_numba.tools
module
shapley_numba.typing
module
shapley_perm_mc() (in module shapley_numba.shapley)
ShapleyNumbaGameProtocol (class in shapley_numba)
(class in shapley_numba.typing)
subsets() (in module shapley_numba.common)
subsets_of_fixed_size() (in module shapley_numba.common)
subsets_of_subset() (in module shapley_numba.common)
subsets_of_subset_with_base() (in module shapley_numba.common)
T
TableGame (class in shapley_numba.game_templates)
U
UnanimityGame (class in shapley_numba.examples)
V
value() (shapley_numba.examples.AirPortGame method)
(shapley_numba.examples.CoalitionGame method)
(shapley_numba.examples.finance.BlackScholesCallGame method)
(shapley_numba.examples.games.AirPortGame method)
(shapley_numba.examples.games.CoalitionGame method)
(shapley_numba.examples.games.GloveGame method)
(shapley_numba.examples.games.WikipediaExample method)
(shapley_numba.examples.GloveGame method)
(shapley_numba.examples.UnanimityGame method)
(shapley_numba.examples.WikipediaExample method)
(shapley_numba.game_templates.ParameterChangeExplanation method)
(shapley_numba.game_templates.TableGame method)
(shapley_numba.GameProtocol method)
,
[1]
(shapley_numba.ShapleyNumbaGameProtocol method)
,
[1]
(shapley_numba.typing.GameProtocol method)
,
[1]
(shapley_numba.typing.ShapleyNumbaGameProtocol method)
,
[1]
W
WikipediaExample (class in shapley_numba.examples)
(class in shapley_numba.examples.games)