API Reference
Complete API documentation for all modules in the shapley_numba package.
Core Modules
The main computational modules for Shapley values and Harsanyi dividends.
- shapley_numba.shapley
Functions for computing Shapley values (exact and Monte Carlo approximation)
- shapley_numba.harsanyi
Functions for computing Harsanyi dividends (synergies)
- shapley_numba.core
Core game abstractions and interfaces
Utilities
Helper modules for working with cooperative games.
- shapley_numba.tools
Set iteration tools and subset enumeration utilities
- shapley_numba.common
Common utilities and helper functions
- shapley_numba.game_templates
Base templates for implementing custom games
Examples
Pre-built game examples demonstrating the library’s capabilities.
- shapley_numba.examples
Collection of example games (Glove Game, Finance examples, etc.)