py-why / py-why/EconML

Support get the data for plotting.

Open
#734 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

I use SingleTreePolicyInterpreter to interpret the estimator and save as a PNG file.
The image like this:
policy

I want to display it on html by using the third-party library (e.g D3.js, Echart) in an interactive way. But I can not get the data to plot without modifing EconML source code. There is a need to get the relevant attribute to use for plotting.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the SingleTreePolicyInterpreter entry point and the existing PNG plotting path. Determine which interpreter data is currently unavailable to callers and how it could be exposed for D3.js or ECharts, then verify that callers can obtain the plotting data without modifying EconML source code.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3js, python
Domain
data-visualization, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.