create_causalpy_compatible_class#
- causalpy.skl_models.create_causalpy_compatible_class(estimator)[source]#
This function takes a scikit-learn estimator and returns a new class that is compatible with CausalPy.
- Parameters:
estimator (
type[RegressorMixin]) – A scikit-learn estimator class to augment.- Return type: