skl_models#

Custom scikit-learn models for causal inference

Functions

create_causalpy_compatible_class(estimator)

This function takes a scikit-learn estimator and returns a new class that is compatible with CausalPy.

Classes

ScikitLearnAdaptor

Base class for scikit-learn models that can be used for causal inference.

WeightedProportion

Weighted proportion model for causal inference.