py-why / py-why/EconML

Why is the default n_trees=1000 in ForestDRLearner?

Open
#632 0 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

That seems rather large, especially as in CausalForestDML the default is n_estimators=100, and the ForestDRLearner with n_trees=1000 can take quite a while to fit. Also for example in XGBoost, also a tree method, the default number of trees is 100.

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 by locating the ForestDRLearner and CausalForestDML definitions and comparing their tree-count defaults. Check how ForestDRLearner's n_trees affects fitting time and whether documentation or tests encode the current value. Done means reaching a maintainer-supported default decision and updating the relevant behavior and references.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.