method_param argument in CausalTreeDML?

Open
#543 1 comment 0 reactions 1 assignee View on GitHub

@kbattocchi is already working on this.

Since Dec 9, 2021.

Assessment

This issue has not been assessed yet.

Description

The CausalTreeDML class allows me to specify my own choices of models for model_y and model_t, but does not allow to customize the way their constructors and fit methods are called - can you please introduce a method_params optional argument, similar to that in DoWhy, that would allow me to do that?
I can achieve something similar with custom wrappers to the models I want, but it would be very nice to have this supported as part of the API, especially as DoWhy already does that.

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

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.

More from py-why/EconML

All issues in py-why/EconML

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.