Complex machine learning models are often hard to interpret. However, in many situations it is crucial to understand and explain why a model made a specific prediction. Shapley values is the only method for such prediction explanation framework with a solid theoretical foundation. Previously known methods for estimating the Shapley values do, however, assume feature independence. This package implements the method described in Aas, Jullum and Løland (2019) <arXiv:1903.10464>, which accounts for any feature dependence, and thereby produces more accurate estimates of the true Shapley values.
Package details |
|
---|---|
Author | Nikolai Sellereite [aut] (<https://orcid.org/0000-0002-4671-0337>), Martin Jullum [cre, aut] (<https://orcid.org/0000-0003-3908-5155>), Annabelle Redelmeier [aut], Anders Løland [ctb], Jens Christian Wahl [ctb], Camilla Lingjærde [ctb], Norsk Regnesentral [cph, fnd] |
Maintainer | Martin Jullum <Martin.Jullum@nr.no> |
License | MIT + file LICENSE |
Version | 0.2.2 |
URL | https://norskregnesentral.github.io/shapr/ https://github.com/NorskRegnesentral/shapr |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.