Skip to content

Commit

Permalink
remove the unused import and variable in sensitivity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongyoonlee committed Apr 12, 2024
1 parent 95e5d4b commit 0f5db04
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions causalml/metrics/sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f5db04

Please sign in to comment.