Welcome to ShaRP’s documentation!

ShaRP (Shapley for Rankings and Preferences) is a game theoretic approach to explain the contributions of features to different aspects of a ranked outcome. ShaRP builds on the Quantitative Input Influence framework, and can compute the contributions of features for multiple Quantities of Interest, including score, rank, pair-wise preference, and top-k (see reference [1] for details).

Installation

ShaRP can be installed from source:

pip install git+https://github.com/DataResponsibly/ShaRP.git

Alternatively:

git clone https://github.com/DataResponsibly/ShaRP.git
cd ShaRP
pip install .

Reference