mcf

The Python package mcf implements the Modified Causal Forest introduced by Lechner (2018). This package allows you to estimate heterogeneous treatment effects for binary and multiple treatments from experimental or observational data. Additionally, mcf offers the capability to learn optimal policy allocations.

mcf has been downloaded 41,083 times in total on PyPI, including 1,141 in the last 30 days. The latest version is 0.9.0, released Dec 10, 2025. It is distributed under the MIT license.

Version0.9.0
Downloads
41.08k
LicenseMIT
Authormlechner
UpdatedDec 10, 2025

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal0.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included2 / 32 series
Selected total4.77k
41.1kAll-time
1.1kLast 30 days
8Last 24 h
<0.01/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    0.9.0

    338 downloads
    14.2%
  • 02

    0.10.0

    335 downloads
    14.1%
  • 03

    0.8.0

    157 downloads
    6.6%
  • 04

    0.7.2

    105 downloads
    4.4%
  • 05

    0.5.0

    76 downloads
    3.2%
  • 06

    0.7.1

    71 downloads
    3.0%
  • 07

    0.4.3

    68 downloads
    2.9%
  • 08

    0.7.0

    65 downloads
    2.7%
  • 09

    Other

    1.2k downloads
    49.0%

Guess the next day

Thirteen recent days of mcf downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH813TUEWEDTHUFRISATSUNMONTUEWEDTHUFRISATSUN