How to use known treatment probabilities in doubly robust learners
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.8k
- Forks
- 827
- PR merge metrics
- No merged PRs in 30d
Description
@kbattocchi
Hi Keith,
How would you recommend handling a case where we know the true treatment probabilities? I'd prefer to use them to avoid having to fit the model_propensity (in a doubly robust model, say ForestDRLearner).
A few options:
- Pass the (inverse) probabilities as
sample_weighttofit. But then we need to choose something formodel_propensity, perhaps just a dummy classifier? - Create a trivial
model_propensitythat takes the probability as a feature and returns the same probability. But then we need some workaround to prevent themodel_regressionfrom using the probability as a feature (by DRLearner will always pass X, W to both model_propensity and model_regression). Maybe we can use a sklearn pipeline with transformer for this.
Thanks!
Kyle
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the ForestDRLearner and DRLearner fit entry points, focusing on model_propensity, model_regression, X, W, and sample_weight. Compare the proposed known-probability approaches and define behavior and tests for supplying probabilities without fitting model_propensity or exposing them to model_regression. No files or tests are named, so repository exploration and maintainer clarification are needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, scikit-learn
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100