ScikitLearnAdaptor.calculate_impact# ScikitLearnAdaptor.calculate_impact(y_true, y_pred)[source]# Calculate the causal impact of the intervention. Parameters: y_true (ndarray) – Observed outcomes. y_pred (ndarray) – Counterfactual predictions from the fitted model. Return type: ndarray