Skip to content

Commit

Permalink
removed trailing whitespaces
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Daiha <gabriel.alves@picpay.com>
  • Loading branch information
gdaiha committed May 3, 2024
1 parent 3896387 commit ce2ad24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion econml/inference/_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ def conf_int_mean(self, *, alpha=None):
alpha = self.alpha if alpha is None else alpha
mean_point = self.mean_point
stderr_mean = self.stderr_mean
return (_safe_norm_ppf(alpha / 2, loc=mean_point, scale=stderr_mean),
return (_safe_norm_ppf(alpha / 2, loc=mean_point, scale=stderr_mean),
_safe_norm_ppf(1 - alpha / 2, loc=mean_point, scale=stderr_mean))

@property
Expand Down
2 changes: 1 addition & 1 deletion econml/sklearn_extensions/linear_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@ def intercept__interval(self, alpha=0.05):
return (0 if self._n_out == 0 else np.zeros(self._n_out)), \
(0 if self._n_out == 0 else np.zeros(self._n_out))

return (_safe_norm_ppf(alpha / 2, loc=self.intercept_, scale=self.intercept_stderr_),
return (_safe_norm_ppf(alpha / 2, loc=self.intercept_, scale=self.intercept_stderr_),
_safe_norm_ppf(1 - alpha / 2, loc=self.intercept_, scale=self.intercept_stderr_))

def predict_interval(self, X, alpha=0.05):
Expand Down

0 comments on commit ce2ad24

Please sign in to comment.