Skip to content

Releases: haytug/causalfe

v0.2.0: Scikit-learn Compatible API

20 Jan 11:22
d9df789

Choose a tag to compare

What's New

This release adds scikit-learn compatible methods to CFFEForest, making it easier to inspect, configure, and integrate with standard ML workflows.

New Methods

  • __repr__() / __str__() - Informative string representation instead of <object at 0x...>
  • get_params() / set_params() - Get and set estimator parameters
  • score() - R² score for CATE predictions (useful for simulations with known true effects)
  • clone() - Create an unfitted copy with the same parameters

Example

>>> forest = CFFEForest(n_trees=100, max_depth=4)
>>> print(forest)
CFFEForest(n_trees=100, max_depth=4, min_leaf=20)
  Fitted: No

>>> forest.get_params()
{'n_trees': 100, 'max_depth': 4, 'min_leaf': 20, 'honest': True, ...}

>>> forest.set_params(n_trees=200)

v0.1.1 - arXiv Paper Release

17 Jan 15:34
871acf9

Choose a tag to compare

  • Added arXiv paper citation (arXiv:2601.10555)
  • Fixed package metadata (author info)
  • widened the tolerance from 0.5-2.0 to 0.3-3.0

v0.1.0 - Initial Release

07 Jan 22:09
02d677d

Choose a tag to compare

First release of causalfe - Causal Forests with Fixed Effects for Python

Based on Kattenberg, Scheer, and Thiel (2023)