From 0f5db04824dd12b56b7fbb479dc7283e0a0fad0c Mon Sep 17 00:00:00 2001 From: Jeong-Yoon Lee Date: Fri, 12 Apr 2024 12:17:50 -0700 Subject: [PATCH] remove the unused import and variable in sensitivity.py --- causalml/metrics/sensitivity.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/causalml/metrics/sensitivity.py b/causalml/metrics/sensitivity.py index 8a7686ed..9462445e 100644 --- a/causalml/metrics/sensitivity.py +++ b/causalml/metrics/sensitivity.py @@ -144,9 +144,6 @@ def get_ate_ci(self, X, p, treatment, y): (numpy.ndarray): Mean and confidence interval (LB, UB) of the ATE estimate. """ - learner = self.learner - from ..inference.meta.tlearner import BaseTLearner - try: ate, ate_lower, ate_upper = self.learner.estimate_ate( X=X, p=p, treatment=treatment, y=y, return_ci=True