Add function to compute SHAP values.

Open
#148 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reading the discussion in issue #147 and reviewing the linked SHAP example. Determine whether the utility should use the shap package or the tree representation, including the expected performance and API. Done means the project provides a usable function that computes SHAP values.

Written by the indexing model from the issue text.

Description

We may use the shap package and provide a utility function to make things much simpler for users. See #147 for a discussion.

Alternatively, we may be able to take advantage of the tree representation and obtain a faster method as we did for partial dependence plots. See https://hughchen.github.io/its_blog/index.html for example

Dominant language
Python
Stars
160
Forks
36
Avg merge
6d 2h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pymc-devs/pymc-bart

All issues in pymc-devs/pymc-bart

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.