ScikitLearnAdaptor#
- class causalpy.skl_models.ScikitLearnAdaptor[source]#
Base class for scikit-learn models that can be used for causal inference.
Methods
Calculate the cumulative impact intervention.
ScikitLearnAdaptor.calculate_impact
(y_true, ...)Calculate the causal impact of the intervention.
Get the coefficients of the model as a numpy array.
Print the coefficients of the model with the corresponding labels.
- __init__()#
- __new__(**kwargs)#