py-why / py-why/EconML

Questions regarding DRPolicyForest results

Open
#874 2 comments 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

Hi, thanks for the great ci library.
I'm using DRPolicyForest and facing some issue.

스크린샷 2024-04-09 오후 5 57 51

model = DRPolicyForest(...)

Question 1: model's predict_value() and predict_proba() are returning different rankings between treatments.

  • for example, predict_value() for T2 is higher for some records, but predict_proba() for T1 is higher.

I thought they return the same rankings (order of magnitude), but they aren't.
How should I interpret this?

Question 2: model's predict() method returns zero values for Treatment=0 (control). However, if I draw a plot, model.plot(), there is a None Treatment(T=0) leaf with numerous samples.
Why do they return different results?

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 DRPolicyForest predict_value(), predict_proba(), predict(), and plot() entry points, then reproduce both reported discrepancies. Done means explaining the differing treatment rankings and the Treatment=0/None leaf behavior, or identifying a confirmed defect with a focused fix and regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.