Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create estimation validation loop #136

Merged
merged 20 commits into from
May 6, 2020
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename the preprocess_data to preprocess_data_by_treatment
  • Loading branch information
Tanmay-Kulkarni101 committed May 1, 2020
commit 2b6d68dc4eda6e152280339062ce3cc82e4bf148
4 changes: 2 additions & 2 deletions dowhy/causal_refuters/dummy_outcome_refuter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def refute_estimate(self):
self.logger.info("Refutation over {} simulated datasets".format(self._num_simulations) )
self.logger.info("The transformation passed: {}".format(self._transformations) )

data_chunks = self.data_preprocess()
data_chunks = self.preprocess_data_by_treatment()
estimates = []
for chunk in data_chunks:

Expand Down Expand Up @@ -202,7 +202,7 @@ def refute_estimate(self):

return refute

def data_preprocess(self):
def preprocess_data_by_treatment(self):
data_chunks = []
amit-sharma marked this conversation as resolved.
Show resolved Hide resolved

assert len(self._treatment_name) == 1, "At present, DoWhy supports a simgle treatment variable"
Expand Down